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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ivan Shmakov <ivan <at> siamics.net>
Cc: 20385 <at> debbugs.gnu.org
Subject: Re: bug#20385: [PROPOSED PATCH] Support quoting 'like this' in
 doc	strings
Date: Tue, 21 Apr 2015 21:42:30 +0300
> From: Ivan Shmakov <ivan <at> siamics.net>
> Date: Tue, 21 Apr 2015 18:35:53 +0000
> 
> 	Apart from the already suggested smart-quotes-mode, there’s this
> 	bit I personally use.  (See also bug#16082.)
> 
> (eval-after-load 'iso-transl
>   '(iso-transl-define-keys
>     '(("\"[" . [?“]) ("\"]" . [?”])
>       ("'["  . [?‘]) ("']"  . [?’]))))
> 
> key             binding
> ―――             ―――――――
> A-' [		‘
> A-' ]		’
> A-" [		“
> A-" ]		”
> C-x 8 ' [	‘
> C-x 8 ' ]	’
> C-x 8 " [	“
> C-x 8 " ]	”

Why not do what texinfo.el does to insert ``..'' when you press " ?
Isn't that simpler and easier on the user?




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.