all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@gnu.org>
To: 15929@debbugs.gnu.org
Subject: bug#15929: point position with electric-pair-mode
Date: Tue, 19 Nov 2013 14:51:16 -0500	[thread overview]
Message-ID: <yxq38mstbkb.fsf@fencepost.gnu.org> (raw)


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

        







             reply	other threads:[~2013-11-19 19:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-19 19:51 Dan Nicolaescu [this message]
2013-11-20 19:19 ` bug#15929: point position with electric-pair-mode Stefan Monnier
2013-12-02 17:56   ` Dan Nicolaescu
2016-09-08  4:08 ` Alex

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yxq38mstbkb.fsf@fencepost.gnu.org \
    --to=dann@gnu.org \
    --cc=15929@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.