[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?
From: |
Noam Postavsky |
Subject: |
Re: Change of Lisp syntax for "fancy" quotes in Emacs 27? |
Date: |
Sun, 4 Feb 2018 16:31:11 -0500 |
On Sun, Feb 4, 2018 at 12:37 PM, Eli Zaretskii <address@hidden> wrote:
>> From: Clément Pit-Claudel <address@hidden>
>> Date: Sun, 4 Feb 2018 10:36:49 -0500
>>
>> > The middle line would require Emacs to do a fuzzy search for similar
>> > symbols, which may be too much.
>>
>> OCaml does this (but at compile time). Do we have a way to delay the fuzzy
>> search to the point when the error message is displayed? Otherwise we'll
>> pay the price of the search even if the error is then swallowed by a
>> condition-case.
>
> Isn't this premature optimization?
I think the check fits nicely into command-error-default-function
though. Attaching a quick proof-of-concept (handles only a single
curved quote at the beginning of symbol name). We would want something
also for the byte-compiler.
v1-0001-sketch-Catch-strange-quotes-on-error-time.patch
Description: Text Data
- Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?, (continued)
- Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Eli Zaretskii, 2018/02/03
- RE: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Drew Adams, 2018/02/03
- Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Eli Zaretskii, 2018/02/03
- Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Michael Heerdegen, 2018/02/03
- Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Clément Pit-Claudel, 2018/02/03
- RE: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Drew Adams, 2018/02/03
- Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Michael Heerdegen, 2018/02/03
- Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Alan Third, 2018/02/04
- Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Clément Pit-Claudel, 2018/02/04
- Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Eli Zaretskii, 2018/02/04
- Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?,
Noam Postavsky <=
- Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Alan Mackenzie, 2018/02/04
- RE: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Drew Adams, 2018/02/04
- Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Noam Postavsky, 2018/02/04
- RE: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Drew Adams, 2018/02/03
- Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Noam Postavsky, 2018/02/03
- Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Richard Stallman, 2018/02/04
- Why "symbol's value" error about a list?, Richard Stallman, 2018/02/04
- Re: Why "symbol's value" error about a list?, Alan Mackenzie, 2018/02/05
- RE: Why "symbol's value" error about a list?, Drew Adams, 2018/02/05
- Re: Why "symbol's value" error about a list?, Eli Zaretskii, 2018/02/05