unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#10948: 24.0.94; electric-pair-mode inserts unnecessary "
@ 2012-03-05  9:13 Christopher Schmidt
  2012-03-05 21:32 ` Stefan Monnier
  2021-06-02  7:06 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 6+ messages in thread
From: Christopher Schmidt @ 2012-03-05  9:13 UTC (permalink / raw)
  To: 10948

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





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

end of thread, other threads:[~2021-07-06 17:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-05  9:13 bug#10948: 24.0.94; electric-pair-mode inserts unnecessary " Christopher Schmidt
2012-03-05 21:32 ` 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

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).