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 #32 received at 20385 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 20385 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: Re: bug#20385: [PROPOSED PATCH] Support quoting 'like this' in doc
 strings
Date: Tue, 21 Apr 2015 17:52:43 +0300
> Date: Mon, 20 Apr 2015 20:45:55 -0700
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> Cc: 20385 <at> debbugs.gnu.org
> 
> Stefan Monnier wrote:
> > we need some clever way to type them in with very little effort.
> 
> Something like smart-quotes-mode, say?
> 
> https://github.com/gareth-rees/smart-quotes

The solution that mode suggests for spell-checking will not work well
with modern spellers (aspell and hunspell), because they don't have
the curly apostrophe/quote character in their *.aff files' rules, like
they do with the ASCII apostrophe.

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.  Or
maybe recommend users to install *.aff files that already support ’,
assuming such dictionaries exist.





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.