[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Shift selection using interactive spec
From: |
Richard Stallman |
Subject: |
Re: Shift selection using interactive spec |
Date: |
Sat, 29 Mar 2008 12:37:47 -0400 |
As I understand the purpose of this feature is practically to move
the last expression of the command's body that usually is written as
(if (interactive-p)
(message "Result of this command is %.0f" return-value)
(format "%.0f" return-value))
You have the right idea in mind for what the code would be trying to
do. But code like that would be a strange way to write it, and in
practice does seem to occur much if at all. The way I would envision
this is more like
(if interactive-call
(message "Result of this command is %.0f" return-value))
return-value)
where `interactive-call' is an argument initialized to non-nil
for an interactive call.
The job of the second arg to `interctive', that I've proposed, would
be to control how to generate the message in the interactive case.
- Re: Shift selection using interactive spec, (continued)
- Re: Shift selection using interactive spec, Juri Linkov, 2008/03/26
- Re: Shift selection using interactive spec, Chong Yidong, 2008/03/26
- Re: Shift selection using interactive spec, Richard Stallman, 2008/03/27
- Re: Shift selection using interactive spec, Juri Linkov, 2008/03/27
- Re: Shift selection using interactive spec, Richard Stallman, 2008/03/28
- Re: Shift selection using interactive spec, Juri Linkov, 2008/03/28
- Re: Shift selection using interactive spec, Lennart Borgman (gmail), 2008/03/28
- Re: Shift selection using interactive spec,
Richard Stallman <=
- Re: Shift selection using interactive spec, Juri Linkov, 2008/03/29
- Re: Shift selection using interactive spec, Stefan Monnier, 2008/03/30
- Re: Shift selection using interactive spec, Juri Linkov, 2008/03/30
- Re: Shift selection using interactive spec, Richard Stallman, 2008/03/31
- Re: Shift selection using interactive spec, Richard Stallman, 2008/03/30
- Re: Shift selection using interactive spec, Juri Linkov, 2008/03/30
- Re: Shift selection using interactive spec, Richard Stallman, 2008/03/26
- Re: Shift selection using interactive spec, Thomas Lord, 2008/03/18
- Re: Shift selection using interactive spec, Richard Stallman, 2008/03/15
Re: Shift selection using interactive spec, Robert J. Chassell, 2008/03/16