unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15929: point position with electric-pair-mode
@ 2013-11-19 19:51 Dan Nicolaescu
  2013-11-20 19:19 ` Stefan Monnier
  2016-09-08  4:08 ` Alex
  0 siblings, 2 replies; 4+ messages in thread
From: Dan Nicolaescu @ 2013-11-19 19:51 UTC (permalink / raw)
  To: 15929


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

        







^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-09-08  4:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-19 19:51 bug#15929: point position with electric-pair-mode Dan Nicolaescu
2013-11-20 19:19 ` Stefan Monnier
2013-12-02 17:56   ` Dan Nicolaescu
2016-09-08  4:08 ` Alex

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).