[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Shift selection using interactive spec
From: |
Stefan Monnier |
Subject: |
Re: Shift selection using interactive spec |
Date: |
Fri, 14 Mar 2008 20:56:56 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>> *Any* letter in `interactive' should have a simple Elisp equivalent.
^^^^^^
char
> 3. Use a non-letter interactive code, analogous to @ and *, that
> causes Fcall_interactively to perform the handling of
> transient-mark-mode automagically. This was the code I showed.
> Because it's a non-letter code, we don't need to change the
> argument list. This approach needs the least new code, and might
> be less disruptive, but it's obviously a little magical.
> 3a. As above, but also for direct keybindings with the shift modifier.
That's clearly the intention I had, except I don't care if it is also
provided as a char for string interactive specs. First and foremost it
should be an elisp function that people can call at the beginning of
their function, just like they can call `barf-if-buffer-read-only'.
Then we can provide a special char in `interactive' strings for those
commands that currently don't use an elisp interactive spec.
Then we can tweak the code of that function to decide how it should
behave when the command is bound to a shifted key.
Stefan
- Re: Shift selection using interactive spec, (continued)
- Re: Shift selection using interactive spec, Dan Nicolaescu, 2008/03/14
- Re: Shift selection using interactive spec, Kim F. Storm, 2008/03/14
- Re: Shift selection using interactive spec, Stefan Monnier, 2008/03/14
- RE: Shift selection using interactive spec, Drew Adams, 2008/03/14
- Re: Shift selection using interactive spec, Chong Yidong, 2008/03/14
- Re: Shift selection using interactive spec, David Kastrup, 2008/03/14
- Re: Shift selection using interactive spec, Chong Yidong, 2008/03/14
- Re: Shift selection using interactive spec,
Stefan Monnier <=
- Re: Shift selection using interactive spec, Chong Yidong, 2008/03/14
- Re: Shift selection using interactive spec, Stefan Monnier, 2008/03/14
- Re: Shift selection using interactive spec, Chong Yidong, 2008/03/15
- Re: Shift selection using interactive spec, Stefan Monnier, 2008/03/15
- Re: Shift selection using interactive spec, Chong Yidong, 2008/03/15
- Re: Shift selection using interactive spec, Stefan Monnier, 2008/03/15
- Re: Shift selection using interactive spec, Thomas Lord, 2008/03/15
- Re: Shift selection using interactive spec, Chong Yidong, 2008/03/16
- Re: Shift selection using interactive spec, Lennart Borgman (gmail), 2008/03/16
- shift-select harmony, Thomas Lord, 2008/03/15