GNU bug report logs - #15929
point position with electric-pair-mode

Previous Next

Package: emacs;

Reported by: Dan Nicolaescu <dann <at> gnu.org>

Date: Tue, 19 Nov 2013 19:52:02 UTC

Severity: minor

Fixed in version 24.4

Done: Alex <agrambot <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Alex <agrambot <at> gmail.com>
To: Dan Nicolaescu <dann <at> gnu.org>
Cc: 15929 <at> debbugs.gnu.org
Subject: Re: bug#15929: point position with electric-pair-mode
Date: Wed, 07 Sep 2016 22:08:43 -0600
close 15929 24.4
quit

Dan Nicolaescu <dann <at> gnu.org> writes:

> emacs -Q
> M-x electric-pair-mode RET
>
> f o o C-SPC C-a
>
> The point should now be at the beginning of a line that contains the
> string: foo
>
> Typing " inserts quotes around foo, but the point is moved to the end of
> the line.  After inserting a pair, the point is moved after the last
> item in the pair, regardless if the point was at the begging of the
> region. 
>
> It would be better if the point stayed in the same location.  Or at
> least offer a configuration variable to allow that behavior.
>
> Thanks
>
>         

This appears to have been fixed in 24.4.




This bug report was last modified 8 years and 254 days ago.

Previous Next


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