emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] master 9ffb6ce 5/5: Quoting fixes in lisp/internationa


From: Dmitry Gutov
Subject: Re: [Emacs-diffs] master 9ffb6ce 5/5: Quoting fixes in lisp/international and lisp/leim
Date: Thu, 3 Sep 2015 18:04:42 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Thunderbird/40.0

On 09/03/2015 05:50 PM, Stefan Monnier wrote:

That's why he's recommending a command.  You'd first yank and then (if
you needed) run the quote command, which quotes what you just yanked.
That's would be kind of like a "postfix argument".

Ok.

It's been supported for ages, yes, but until recently it was *very*
rarely needed.  IOW the need to write

    (add-hook \\='find-file-hook \\='auto-insert)

is brand new in Emacs-25, and it sucks.

Note that you also wouldn't need it here if quote-matching code uses sorward-sexp.

BTW, re-using existing quoting syntaxes from other systems (e.g.
markdown/org) is a good idea, when applicable.  E.g. it would be
desirable to be able to take a docstring and easily convert it to
a valid org/markdown document.

True.

> Either way, it would be weird to quote symbol references with ` ',
but use
`` `` for code expressions.

I don't see why.

For consistency, I'd say. Otherwise we probably risk more typos. Admittedly, I'm just guessing, but `` '' also looks a bit nicer to me.



reply via email to

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