all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: 23387@debbugs.gnu.org
Subject: bug#23387: 25.0.93; Unicode quote inserted in Python mode outside of strings
Date: Thu, 28 Apr 2016 17:11:53 +0000	[thread overview]
Message-ID: <CAArVCkQVSrhuVuW1a75u-D0bY8oyM3wOcDit1oRYXsjFR+oWBg@mail.gmail.com> (raw)
In-Reply-To: <wvr4wpnj9lzy.fsf@a.muc.corp.google.com>

[-- Attachment #1: Type: text/plain, Size: 489 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 778 bytes --]

  reply	other threads:[~2016-04-28 17:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-27 14:14 bug#23387: 25.0.93; Unicode quote inserted in Python mode outside of strings Philipp Stephani
2016-04-28 17:11 ` Philipp Stephani [this message]
2016-04-28 17:22   ` Philipp Stephani
2016-04-30 11:59     ` Philipp Stephani
2016-05-02 16:04 ` Paul Eggert
2016-05-03 20:44   ` Philipp Stephani

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=CAArVCkQVSrhuVuW1a75u-D0bY8oyM3wOcDit1oRYXsjFR+oWBg@mail.gmail.com \
    --to=p.stephani2@gmail.com \
    --cc=23387@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.