GNU bug report logs - #23705
25.0.94; Upper-case abbrev expansion doesn't work with subword-mode enabled

Previous Next

Package: emacs;

Reported by: Arash <pbqbqp <at> gmail.com>

Date: Mon, 6 Jun 2016 08:40:01 UTC

Severity: wishlist

Found in version 25.0.94

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Arash <pbqbqp <at> gmail.com>
Cc: 23705 <at> debbugs.gnu.org
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
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.




This bug report was last modified 7 years and 201 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.