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: David Kastrup
Subject: Re: [Emacs-diffs] master 9ffb6ce 5/5: Quoting fixes in lisp/international and lisp/leim
Date: Wed, 02 Sep 2015 07:23:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> That would undermine another stated goal (by Paul): improve the typography
>> in Emacs.
>
> I think this goal should have very low priority.
>
>>> But if we start using curly quotes everywhere, then we're back with the
>>> ambiguity, so that's not a good solution.
>> So what's the exact ambiguity that you have in mind? Code references or
>> snippets vs. everything else like key sequences?
>> Then I definitely misunderstood you a while back.
>
> W.r.t ambiguity, the main problem I see is that we currently can never
> be sure that when we see a ` followed by a ' the two actually form a pair.
> A human usually can tell, but a program can't get it right 100% of the time.
>
>> We might also want to support code snippets like `(progn (foo bar foo))'. 
>> At least, elisp-completion-at-point relies on snippets being quoted
>> that way now.  We can detect these using paired parens.
>
> Not sure I want to go down that road.  What about `(foo 'a 'b)' ?

Appears to work fine using paired parens when parsed from the start.

-- 
David Kastrup



reply via email to

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