emacs-devel
[Top][All Lists]
Advanced

[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: Wed, 26 Mar 2008 13:39:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu)

>> But an interactive code does not work when a spec is a Lisp expression
>> that is not a string.  So just as an interactive Lisp expression should
>> call a special function `shift-translation-handler' explicitly,
>> anonymous functions can call the same function as well (though it is
>> not recommended to use anonymous functions for commands).  So both these
>> approaches are on a par in this regard.
>
> Which two approaches are you discussing here?

1. interactive codes
2. properties

>> I think that just as `C-h f' describe-function displays information
>> when the function is advised, we should change `C-h v'
>> describe-variable to display information about attached variable
>> properties as well.
>
> But we are talking right now about _functions_.  And it is a mistake to
> consider the property list part of either variable or function: it has
> different scopes and is independent from both variable or function.

Sorry, I meant a symbol's property list for a function, not for a variable.
Property lists are already widely used in Emacs, so there is no reason
to avoid them.  They are integral part of Emacs Lisp, and will cause no more
problems.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

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