bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23705: 25.0.94; Upper-case abbrev expansion doesn't work with subwor


From: Glenn Morris
Subject: bug#23705: 25.0.94; Upper-case abbrev expansion doesn't work with subword-mode enabled
Date: Tue, 07 Jun 2016 17:51:35 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Arash wrote:

> If I evalulate this in `emacs -Q' with subword-mode enabled, 8G won't expand:
>
> (define-abbrev-table 'c++-mode-abbrev-table
>   '(("8g" "struct" nil 0)
>     ("8G" "class" nil 0)))

Ref http://debbugs.gnu.org/17558#25

"Someone" needs to change instances of -word in abbrev.el to -word-strictly.
Perhaps just abbrev--before-point is enough. But who knows.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]