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


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Nicolas Petton <nicolas <at> petton.fr>
Cc: 20385 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#20385: [PROPOSED PATCH] Support quoting 'like this' in doc strings
Date: Thu, 23 Apr 2015 10:32:01 -0700
On 04/23/2015 04:15 AM, Nicolas Petton wrote:
> quoting code in
> elisp docstrings would only be reasonably doable from Emacs' elisp mode,

No, they're reasonably doable from any editor that supports smart 
quoting.  Although Emacs doesn't have this option, it's common 
elsewhere, and it shouldn't be that hard to add it to Emacs.

As for quoting `like this` that still doesn't sound like a good idea.  
Do we really want to switch to Markdown (or something like it) for doc 
strings?  That would be a much bigger project, and would be work that 
nobody's prepared to do, and its overall costs could well exceed its 
benefits.

Finally, from this thread it's clear that some folks like quoting `like 
this' and I suppose there's no harm in continuing to support it, so in 
my next iteration of this patch I plan to remove commentary to the 
effect that this usage is obsolescent and may not be supported in the 
future.  So, people who prefer quoting `like this' (e.g., because it's 
easier with their non-Emacs text editors), will still be free to do that.




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.