[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: locate-library INTERACTIVE-CALL argument
From: |
Richard Stallman |
Subject: |
Re: locate-library INTERACTIVE-CALL argument |
Date: |
Tue, 05 Aug 2003 15:14:51 -0400 |
Thanks for pointing that out. But I'm still not happy with the current
implementation. If the command is called interactively (within a
keyboard macro or not), INTERACTIVE-CALL is unconditionally set to t, so
the message will displayed.
That is correct.
Since the intent is to display the message
when the command is called interactively, even when it is called via a
keyboard macro, why not test for those conditions explicitly with
interactive-p and executing-macro respectively?
There is no way to do that and get the same condition.
(or (interactive-p) executing-macro) would be t
when called from Lisp code that was run by a keyboard macro.
Perhaps there ought to be a way to use interactive-p to get
such a result. It could be a good feature.
But there may be a better feature. Ever since 1985 I had the idea
that maybe (interactive...) could be extended with a second argument
saying how to display the value. That would be complimentary with the
existing arg saying how to provide the arguments. That might be the
really clean way to do this job.