[Top][All Lists]

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

Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?

From: Paul Eggert
Subject: Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?
Date: Fri, 2 Feb 2018 16:09:44 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

On 02/02/2018 04:00 PM, Drew Adams wrote:
The distinction I think needs to be made is between:

1. Trying to_warn users_  (all users, less-expert or not)
    about possible misuse of particularly confusable chars.
    This just warns about possible pilot error.

2._Changing Lisp_  reading and evaluating, to treat some
    (all?) confusable characters specially, changing their
    syntax and requiring them to be escaped in order to be
    treated normally (i.e., as they have been treated so far).

I object to #2, NOT to #1.

I don't see a clear distinction between #1 and #2. For example, in an adversarial environment, users who get warned about suspicious characters in their incoming source files will most likely type "no" when asked to run such code. In that case, if you want your audience to include users who care even a smidgen about security, you'll need to escape confusable characters in the business parts of your Emacs Lisp code. Effectively that will be a change to Emacs Lisp, even if its formal syntax does not change.

reply via email to

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