emacs-devel
[Top][All Lists]
Advanced

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

Re: scratch/command 064f146 1/2: Change command to interactive ... modes


From: Óscar Fuentes
Subject: Re: scratch/command 064f146 1/2: Change command to interactive ... modes
Date: Sun, 14 Feb 2021 17:02:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Dmitry Gutov <dgutov@yandex.ru> writes:
>
>> On 13.02.2021 16:12, Lars Ingebrigtsen wrote:
>>> +@defspec interactive &optional arg-descriptor &rest modes
>>
>> If we make it use (declare ...) instead, the feature could be made
>> backward-compatible, and, for example, third-party code could take
>> advantage of it to have Emacs 28 use these predicates, without
>> breaking the code in Emacs 27 and earlier.
>
> Backwards compatibility is certainly nice, but I don't think it's a
> priority when doing Emacs Lisp language design. 

I'm not sure if I understand this correctly, but in any case I'll
mention that a change that requires a source construct incompatible with
previous Emacs versions will have very limited adoption, not only among
external packages, but among Emacs packages that are maintained
externally (Org, C-Mode).




reply via email to

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