[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?
- bug#20385: [PROPOSED PATCH] Support quoting 'like this' in doc strings, (continued)
- bug#20385: [PROPOSED PATCH] Support quoting 'like this' in doc strings, Nicolas Petton, 2015/04/21
- bug#20385: [PROPOSED PATCH] Support quoting 'like this' in doc strings, Stefan Monnier, 2015/04/21
- bug#20385: [PROPOSED PATCH] Support quoting 'like this' in doc strings, Paul Eggert, 2015/04/21
- bug#20385: [PROPOSED PATCH] Support quoting 'like this' in doc strings, Paul Eggert, 2015/04/22
- bug#20385: [PROPOSED PATCH] Support quoting 'like this' in doc strings, Eli Zaretskii, 2015/04/23
- bug#20385: [PROPOSED PATCH] Support quoting 'like this' in doc strings, Ivan Shmakov, 2015/04/21
- bug#20385: [PROPOSED PATCH] Support quoting 'like this' in doc strings,
Eli Zaretskii <=
- bug#20385: [PROPOSED PATCH] Support quoting 'like this' in doc strings, Ivan Shmakov, 2015/04/21
- bug#20385: [PROPOSED PATCH] Support quoting 'like this' in doc strings, Eli Zaretskii, 2015/04/21
bug#20385: [PROPOSED PATCH] Support quoting 'like this' in doc strings, Drew Adams, 2015/04/20
Message not available
Message not available