[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.

        (handle-delete-region 'supersede)

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]