GNU bug report logs - #29812
27.0.50; electric-quote-replace-double misbehaves in Lisp strings

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Fri, 22 Dec 2017 13:41:02 UTC

Severity: normal

Found in version 27.0.50

Done: Philipp Stephani <p.stephani2 <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #40 received at 29812 <at> debbugs.gnu.org (full text, mbox):

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 29812 <at> debbugs.gnu.org
Subject: Re: bug#29812: 27.0.50; electric-quote-replace-double misbehaves in
 Lisp strings
Date: Sun, 07 Jan 2018 12:56:31 +0000
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> schrieb am So., 31. Dez. 2017 um 18:30 Uhr:

> > From: Philipp Stephani <p.stephani2 <at> gmail.com>
> > Date: Sun, 31 Dec 2017 17:03:14 +0000
> > Cc: 29812 <at> debbugs.gnu.org
> >
> >  I mean some way of inserting “foo” inside a string.  Is that possible
> >  somehow?
> >
> > Sure, either by inserting the characters in some other way, or by using
> `` and '' (double apostrophe).
>
> Then maybe we should just give up on electric-quote-replace-double
> inside strings, and use double apostrophes instead?
>

Why? It works as designed and expected – that is, a double quote will
terminate the string. That is what users want most of the time. Also, there
are many languages where strings aren't double-quoted, such as Python.
[Message part 2 (text/html, inline)]

This bug report was last modified 7 years and 133 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.