GNU bug report logs - #5805
23.1; abbrev-insert does not protext itself with save-excursion

Previous Next

Package: emacs;

Reported by: "Maguire, Andrew (GE Infra, Energy)" <andrew.maguire <at> ge.com>

Date: Tue, 30 Mar 2010 16:37:02 UTC

Severity: normal

Tags: patch

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: "Maguire\, Andrew \(GE Infra\, Energy\)" <andrew.maguire <at> ge.com>
Cc: Chong Yidong <cyd <at> stupidchicken.com>, 5805 <at> debbugs.gnu.org
Subject: bug#5805: 23.1; abbrev-insert does not protext itself with save-excursion
Date: Mon, 12 Apr 2010 14:13:30 -0400
> The workaround I have locally is using advice to place a save-excursion
> around the non-interactive function abbrev-insert.

As explained already, some abbrevs will want to move point and that is
done within abbrev-insert.

Please give us more information about your particular use.
I.e. I can't help you much further until you answer the question I asked
at the very beginning:

>> Observe that point ^ is now before the ()s.
> Right.  The question now is: why is that a problem?


        Stefan




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

Previous Next


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