[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master 9d35bb8: Fix minor quoting problems in doc stri
Re: [Emacs-diffs] master 9d35bb8: Fix minor quoting problems in doc strings
Thu, 21 May 2015 00:36:28 -0700
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
Stefan Monnier wrote:
I think it's perfectly OK to start using curly-quotes in a few places,
and to start adding support for curly-quotes (e.g. to make it easier to
insert them, and to make*Help* buffer xrefs for them, to seamlessly
downgrade them to simple quotes on non-utf-8 terminals, ...), and
I think we should*also* add jit/font-lock support to display-upgrade
`...' into curly-quotes in those cases we deem "obvious enough".
The master branch already supports downgrading to simple quotes. Support for
*Help* buffer xrefs is in the draft patches in <http://bugs.gnu.org/20385#295>,
a patchset I just now published; rather than font-locking this patchset
substitutes characters, an approach that worked better for me.
The main thing on my todo list is the first item on your list: making it easier
to insert curved quotes. This is Bug#20545, where the proposed patch
<http://bugs.gnu.org/20545#5> needs a bit of hacking to get it to work well with
electric-pair-mode. I plan to look into that soon. I'm thinking of renaming it
to Electric Quote mode as "Electric Punct mode" may be a bit too ambitious.
Re: [Emacs-diffs] master 9d35bb8: Fix minor quoting problems in doc strings, Yuri Khan, 2015/05/20