[Top][All Lists]

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

Re: Shorthands have landed on master

From: Philip Kaludercic
Subject: Re: Shorthands have landed on master
Date: Tue, 28 Sep 2021 09:22:05 +0000

João Távora <joaotavora@gmail.com> writes:

>> This was in reference to the compat.el discussion from a few days
>> ago. It was mentioned that shorthands might provide an alternative to
>> aliasing function definitions. But this doesn't make much sense, if a
>> prefix has to be used, short or long: I want to call
>> (macroexp-file-name), not (co-macroexp-file-name), (~macroexp-file-name)
>> or (compat--macroexp-file-name) to provide transparent compatibility.
> If I understand this right, then I think you may solve it similarly to the
> cl- situation.
> But you understand that, for the moment, shorthands are only supported in
> Emacs 28, right?  Not sure where (in which versions) the library you're
> intending to write would be loaded.  If that library is loaded in Emacs 27,
> elisp-shorthands is simply ignored and the file is loaded normally.

Yes, my idea was to use shorthands for versions greater or equal to

> João

        Philip Kaludercic

reply via email to

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