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

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

bug#4356: 23.1.50; expand-abbrev changes point erroneously


From: Glenn Morris
Subject: bug#4356: 23.1.50; expand-abbrev changes point erroneously
Date: Wed, 05 Oct 2011 23:52:54 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

tags 4356 wontfix
stop

Closing based on this:

> Having looked into it some more, I'm not 100% convinced it's a bug
> any more.  Here's why:
>
> `expand-abbrev' may run arbitrary code, and some abbrevs don't just
> replace text with something else but also prompt and/or move point
> (e.g. skeletons).  So running expand-abbrev from
> visual-basic-newline-and-indent just doesn't sound right since it may
> conflict with user-defined abbreviations.
>
> I.e. the problem you're seeing can also happen in Emacs-22 depending on
> the user's own abbreviations.  So the VBM code either needs
> a save-excursion, or needs to refrain from calling expand-abbrev from
> visual-basic-newline-and-indent.




reply via email to

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