|
From: | Stefan Monnier |
Subject: | Re: `interactive-form` symbol property |
Date: | Mon, 25 Jun 2018 08:32:45 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>> Interesting case, indeed. >> >> You can do >> >> (defun my-foo () >> (interactive (advice-eval-interactive-spec >> (cadr (interactive-form 'bar)))) >> ...) >> >> Maybe we should promote `advice-eval-interactive-spec` to >> `eval-interactive-spec`? > Any reason you dislike the interactive-form property so much that you > are willing to promote anything else instead? ;-) The main reason is NIH, of course. But more generally when we have a mechanism (advice) that provides a superset of the other (interactive-form), I think it's always worthwhile to try and see if we really need to keep both. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |