all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Schmidt <christopher@ch.ristopher.com>
To: 10948@debbugs.gnu.org
Subject: bug#10948: 24.0.94; electric-pair-mode inserts unnecessary "
Date: Mon, 05 Mar 2012 10:13:06 +0100	[thread overview]
Message-ID: <20120305091308.94B251FDD0@saturn.ch.ristopher.com> (raw)

Hey gurus,

I often encounter electric-pair-mode inserting unnecessary quotation
marks on GNU Emacs 24.0.94.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.9) of 2012-03-01.

Recipe:

emacs -q
C-x b RET # we are in *scratch* now
M-x electric-pair-mode RET
"test C-d # at this point the line at point should read `"test
"

the line at point now contains "test"".  I think electric-pair-mode
should be smarter here, do a little backtracking, and just insert one
quote.

This is a feature request and not a real bug, of course.

        Christopher





             reply	other threads:[~2012-03-05  9:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-05  9:13 Christopher Schmidt [this message]
2012-03-05 21:32 ` bug#10948: 24.0.94; electric-pair-mode inserts unnecessary " Stefan Monnier
2021-06-02  7:06 ` Lars Ingebrigtsen
2021-06-07 22:22   ` João Távora
2021-06-08  9:33     ` Lars Ingebrigtsen
2021-07-06 17:49       ` Lars Ingebrigtsen

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=20120305091308.94B251FDD0@saturn.ch.ristopher.com \
    --to=christopher@ch.ristopher.com \
    --cc=10948@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.