[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] emacs-26 9a53b6d: Say how to override a primitive inte
From: |
Karl Fogel |
Subject: |
Re: [Emacs-diffs] emacs-26 9a53b6d: Say how to override a primitive interactive spec |
Date: |
Sun, 24 Jun 2018 17:09:51 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
>> From: Stefan Monnier <address@hidden>
>> Date: Sun, 24 Jun 2018 09:42:39 -0400
>> Cc: Karl Fogel <address@hidden>
>>
>> > +If you wish to override a primitive interactive specification, just
>> > +set the @code{interactive-form} property of the primitive function's
>> > +symbol (@pxref{Using Interactive}). There is no need to edit C code
>> > +and recompile Emacs.
>>
>> You can also use advice-add for the same purpose (it's more
>> complicated, but it's arguably better behaved).
>
>And I wonder whether this text belongs to the "Internals" appendix. I
>think its discoverability there will be too low. Why not put it in
>"Using Interactive", instead of cross-referencing there?
When you say "this text", are you referring to the new text I just added on the
emacs-26 branch in commit 9a53b6d426 (quoted above), or to Stefan's proposed
new text (not yet written) about recommending `advice-add' instead?
I'm pretty sure you meant the latter, but I wanted to make sure of that before
commenting further.
Best regards,
-Karl
Re: `interactive-form` symbol property, Basil L. Contovounesios, 2018/06/24
- Re: `interactive-form` symbol property, Stefan Monnier, 2018/06/24
- Re: `interactive-form` symbol property, Eli Zaretskii, 2018/06/24
- Re: `interactive-form` symbol property, Stefan Monnier, 2018/06/25
- Re: `interactive-form` symbol property, Eli Zaretskii, 2018/06/25
- Re: `interactive-form` symbol property, Stefan Monnier, 2018/06/25
Re: [Emacs-diffs] emacs-26 9a53b6d: Say how to override a primitive interactive spec, Eli Zaretskii, 2018/06/24
- Re: [Emacs-diffs] emacs-26 9a53b6d: Say how to override a primitive interactive spec,
Karl Fogel <=