emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: position on changing defaults?


From: Stefan Monnier
Subject: Re: position on changing defaults?
Date: Wed, 12 Mar 2008 22:31:52 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>>>> AFAICT, the approach I proposed where most/all the movement commands get
>>>> changed to call a special function in the interactive spec wouldn't
>>>> suffer from any such problems.  I think it's the best approach so far.
>> 
>>> I can not see what the advantage with an interactive spec over a property on
>>> the function name is. Could you please tell?
>> 
>> Very simple: no magic, no pre/post-command-hook.

> Why is an interactive spec less magic than the property on a function name?
> To the end user (non-lisper) it could be equally visible, or?

The property is irrelevant.  The relevant problem is the code that uses
those properties which is placed on pre/post-command-hook.

> The pre-pre/post-post-command-hook I proposed has nothing to do with this,
> or? (I believe such a hook could be used for other emulations too,
> like Viper.)

Such a proposal is just making things worse.


        Stefan




reply via email to

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