bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#24710: 26.0.50; Feature request: Replace double quotes in electric-q


From: Philipp Stephani
Subject: bug#24710: 26.0.50; Feature request: Replace double quotes in electric-quote-mode
Date: Sun, 23 Jul 2017 20:01:05 +0000



Paul Eggert <eggert@cs.ucla.edu> schrieb am Fr., 14. Juli 2017 um 14:49 Uhr:
> Currently electric-quote-mode only replaces ' and `.  I propose that
> it also replace " with a left double quote after spaces, newlines, and
> open parentheses, and with a right double quote after alphanumerics and
> other punctuation.

This sounds reasonable, though I suppose it should be controlled by an option,
since some people may prefer the current behavior where `` and '' are the only
convenient ways to get curved double quotes.

Also, shouldn't it always replace " with a curved quote of one flavor of the
other? I'm puzzled as to why one would want " to stay straight, when the option
is enabled.



OK, here's a patch. 

Attachment: 0001-Electric-quote-mode-Conditionally-replace-Bug-24710.txt
Description: Text document


reply via email to

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