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

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

bug#20385: [PROPOSED PATCH] Support quoting 'like this' in doc strings


From: Paul Eggert
Subject: bug#20385: [PROPOSED PATCH] Support quoting 'like this' in doc strings
Date: Wed, 22 Apr 2015 16:37:14 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

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’. This would not need to happen everywhere, but it would be the default when editing Emacs source code because we'd put the appropriate setting into .dir-locals.el.

Or were you thinking about spell-checking doc strings? If so, I don't see how changing the quoting style affects how the spell-checker works. It wouldn't affect the way I spell-check code, anyway. Could you give an example?





reply via email to

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