emacs-devel
[Top][All Lists]
Advanced

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

Re: Shorthands have landed on master


From: João Távora
Subject: Re: Shorthands have landed on master
Date: Tue, 28 Sep 2021 10:17:49 +0100

On Tue, Sep 28, 2021 at 10:14 AM Eli Zaretskii <eliz@gnu.org> wrote:
>
> > From: João Távora <joaotavora@gmail.com>
> > Date: Tue, 28 Sep 2021 10:03:01 +0100
> > Cc: Adam Porter <adam@alphapapa.net>, Dmitry Gutov <dgutov@yandex.ru>,
> >  Stefan Kangas <stefankangas@gmail.com>, emacs-devel <emacs-devel@gnu.org>
> >
> > Since elisp-shorthands is a file-local variable, I think it allows (eval)
> > specs.
>
> But that will be unsafe, no?

Yes, this is why I wrote "for now".  It does seem plausible that
Emacs provides pre-canned alists of substitutions such as
the one used for reading 'loop' as 'cl-loop', 'second' as
'cl-second', and so on. Those would be "safe" AFAIK and we
could have a mechanism to mark them so.

João



reply via email to

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