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

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

bug#23387: 25.0.93; Unicode quote inserted in Python mode outside of str


From: Philipp Stephani
Subject: bug#23387: 25.0.93; Unicode quote inserted in Python mode outside of strings
Date: Thu, 28 Apr 2016 17:11:53 +0000



Philipp Stephani <p.stephani2@gmail.com> schrieb am Mi., 27. Apr. 2016 um 16:16 Uhr:

emacs -Q
M-x electric-quote-mode
M-x customize-variable RET electric-quote-string, set it to t, save
M-x python-mode
Hit '

Expected: ' (ASCII apostrophe) is inserted because point is outside a string
Actual: ’ (Unicode quote) is inserted

This seems to happen only in Python mode, not in e.g. emacs-lisp-mode.

Also happens in C++ mode, and probably others. 

reply via email to

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