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: Eli Zaretskii
Subject: bug#20385: [PROPOSED PATCH] Support quoting 'like this' in doc strings
Date: Tue, 21 Apr 2015 21:42:30 +0300

> From: Ivan Shmakov <ivan@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?





reply via email to

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