[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10948: 24.0.94; electric-pair-mode inserts unnecessary "

From: Stefan Monnier
Subject: bug#10948: 24.0.94; electric-pair-mode inserts unnecessary "
Date: Mon, 05 Mar 2012 16:32:18 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

severity 10948 wishlist

> I often encounter electric-pair-mode inserting unnecessary quotation
> marks on GNU Emacs (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.

You mean that it should not pair up the quotes if we're already within quotes?
I guess that would make sense in programming-mode buffers.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]