[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Shift selection using interactive spec
From: |
Juri Linkov |
Subject: |
Re: Shift selection using interactive spec |
Date: |
Mon, 31 Mar 2008 01:46:47 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) |
> Then the second arg to `interactive' could be just a lambda
> with one argument with the value this function returns, e.g.
>
> I guess that is the best design option, for when you want to use
> a Lisp expression. But the simple case should be a string -- perhaps
> a format string.
Then in case of using a format string my suggestion for using t is
not necessary, because it would be easy to specify this with just "%s":
(defun command ()
(interactive
nil
"%s")
...
(let ((return-value ...))
...
return-value))
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: Shift selection using interactive spec, (continued)
- 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, 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 <=
- 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