[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: delete-selection-mode
From: |
Juri Linkov |
Subject: |
Re: delete-selection-mode |
Date: |
Fri, 26 Mar 2010 09:02:17 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) |
>>> Just as for shift-select-mode, I'd rather not use symbol properties to
>>> put this information, because it's a property of the command, not of
>>> its name.
>> This means introducing 4 new `interactive' code letters for:
>
> Of course not. We can do it without any letter at all (use the Lisp
> form of `interactive' specification), or with just one letter (with an
> argument specifying which kind of d-s-m applies). I.e. this is
> a non-issue.
I think without any letter is better than trying to find suitable
letters whose mnemonics is not obvious.
(interactive
(list
(progn
(handle-delete-region 'supersede)
current-prefix-arg)))
is not hard to use for a few commands.
Wouldn't it be even better to allow using symbols in the interactive spec?
Something like (combining symbols and existing letters):
(interactive '(delete-region-supersede "p"))
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: delete-selection-mode, (continued)
- Re: delete-selection-mode, Miles Bader, 2010/03/23
- Re: delete-selection-mode, Chong Yidong, 2010/03/23
- Re: delete-selection-mode, David Kastrup, 2010/03/23
- Re: delete-selection-mode, Chong Yidong, 2010/03/23
- Re: delete-selection-mode, Juri Linkov, 2010/03/23
- RE: delete-selection-mode, Drew Adams, 2010/03/23
- Re: delete-selection-mode, Juri Linkov, 2010/03/24
- Re: delete-selection-mode, Stefan Monnier, 2010/03/24
- Re: delete-selection-mode, Juri Linkov, 2010/03/25
- Re: delete-selection-mode, Stefan Monnier, 2010/03/25
- Re: delete-selection-mode,
Juri Linkov <=
- Re: delete-selection-mode, Stefan Monnier, 2010/03/26
- Re: delete-selection-mode, Kevin Rodgers, 2010/03/26
- Re: delete-selection-mode, Daniel Colascione, 2010/03/26
- Re: delete-selection-mode, Juri Linkov, 2010/03/26
- Re: delete-selection-mode, David Kastrup, 2010/03/26
- Re: delete-selection-mode, Stefan Monnier, 2010/03/23
- Re: delete-selection-mode, Lennart Borgman, 2010/03/23
- Re: delete-selection-mode, Stefan Monnier, 2010/03/23
- Re: delete-selection-mode, Chong Yidong, 2010/03/25
- Re: delete-selection-mode, Stefan Monnier, 2010/03/25