GNU bug report logs - #20385
Support curved quotes in doc strings

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Mon, 20 Apr 2015 18:40:04 UTC

Severity: wishlist

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


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

From: Alan Mackenzie <acm <at> muc.de>
To: 20385 <at> debbugs.gnu.org
Cc: Paul Eggert <eggert <at> cs.ucla.edu>
Subject: Re: bug#20385: [PROPOSED PATCH] Support quoting 'like this' in doc
 strings
Date: 23 Apr 2015 12:27:20 -0000
In article <mailman.1407.1429745888.904.bug-gnu-emacs <at> gnu.org> you wrote:
> Eli Zaretskii wrote:

>> So if we want this to become our default, we need changes in
>> ispell.el, to replace ? with ' before we sent it to the speller.

> Although a change like that might make sense, it appears to go beyond what's 
> needed for doc strings.  I was thinking of something more modest: change Emacs 
> so that if you're editing an Elisp or C string, then when you type `like-this' 
> it's by default changed to ?like-this?.

No.  Please don't do this.  I hate it when proprietary programs pull this
trick.  If you type a self-inserting character, that is what you should get.
Not all uses of ` and ' in strings are for quoting.

Also there are complicated repercussions for searching and matching, and
probably quite a few other things, too.

-- 
Alan Mackenzie (Nuremberg, Germany).





This bug report was last modified 9 years and 364 days ago.

Previous Next


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