GNU bug report logs - #9038
24.0.50; limit expand-abbrev in viper mode state change

Previous Next

Package: emacs;

Reported by: Bob Nnamtrop <bobnnamtrop <at> gmail.com>

Date: Sat, 9 Jul 2011 17:11:01 UTC

Severity: normal

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 9038 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Bob Nnamtrop <bobnnamtrop <at> gmail.com>
Cc: 9038 <at> debbugs.gnu.org
Subject: Re: bug#9038: 24.0.50; limit expand-abbrev in viper mode state change
Date: Sat, 09 Jul 2011 15:32:46 -0400
Bob Nnamtrop <bobnnamtrop <at> gmail.com> writes:

> Changing from viper insert state to vi state (called "changing state"
> below for brevity) causes expand-abbrev to run if abbrev's are turned
> on. This is good but I think the rule for if an abbrev is expanded
> should agree with the rule in self-insert-command when in insert mode.
> Thus "changing state" should only attempt to expand abbrev if and only
> if the previous char has word syntax. This is easily achieved with the
> following patch (against trunk):

Looks reasonable; checked into trunk.  Thanks.




This bug report was last modified 13 years and 317 days ago.

Previous Next


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