emacs-devel
[Top][All Lists]
Advanced

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

Re: Display feature request: gud-overlay-arrow


From: Kim F. Storm
Subject: Re: Display feature request: gud-overlay-arrow
Date: Wed, 22 Mar 2006 18:50:25 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     It cannot possibly be worse than the current abuse of the 
> post-command-hook
>     to do all sorts of things that would be better done by specific hooks 
> like:
>
>
>     post-switch-buffer-hook  (when last command switched buffers)
>     post-switch-window-hook  (when last command switched windows)
>     post-modify-buffer-hook  (when last command modified selected buffer)
>
> Yes it can be worse.  With post-command-hook, things may happen while
> a certain buffer is current, but switching away and back has no effect
> on them.

I think I have expressed myself unclearly.  

The above hooks should not be called on-the-fly, but be executed just
ONCE (if applicable) _after_ running post-command-hook.

It would provide a safe way for code to do special things when the _user_
switches buffers or windows or modifies a buffer.

>
> Please consider the issue closed.

Ok.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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