[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: |
Fri, 28 Mar 2008 16:41:50 -0400 |
This is an interesting feature. Just as a first argument of
`interactive' specifies command's input, a second argument would
specify its output. I think this pair of input/output arguments
of `interactive' makes sense.
The hard part is to figure out a good design for it.
It is important to support both returning a single value and returning
a list of values. There could be a character at the beginning of the
interactive output string which specifies that it's a list of values.
Otherwise it is one value.
But what do we use after that?
It could be a format string to format the values.
Is that general enough?
And what about using Lisp code for how to format the value?
How would that Lisp code refer to the value itself?
Perhaps that Lisp code should take the form of a lambda expression.
But how do we specify whether it wants a list of values or a single
value? I don't see any clean and natural way to specify that.
- Re: Shift selection using interactive spec, (continued)
- Re: Shift selection using interactive spec, Richard Stallman, 2008/03/28
- Re: Shift selection using interactive spec, Chong Yidong, 2008/03/28
- Re: Shift selection using interactive spec, David Kastrup, 2008/03/28
- Re: Shift selection using interactive spec, Juri Linkov, 2008/03/29
- Re: Shift selection using interactive spec, David Kastrup, 2008/03/30
- Re: Shift selection using interactive spec, Juri Linkov, 2008/03/30
- 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 <=
- 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, 2008/03/29
- 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