[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: request: make-frame-visible hook
From: |
John J Foerch |
Subject: |
Re: request: make-frame-visible hook |
Date: |
Thu, 19 Feb 2009 19:01:11 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Lynbech Christian <address@hidden> writes:
> I do not know if you caught this, just want to make sure that you do,
> but as Stefan hinted you can fix the problem yourself. Just make sure
> dframe is loaded, overwrite the entry with your own function which runs
> a hook where you then stores anything that was in special-event-map
> before you put your own little function there.
>
> Alternatively you can consider using post-command-hook, this is run all
> the time and this particular problem should not pose a performance
> problem.
Thank you for the ideas. I am still hoping that at some point in the
future emacs will have a general solution to the problem, because
letting users and modes use special-event-map without conflicts and
hacks seems simple, logical, and useful. (Why does special-event-map
exist if we can't use it safely?) I can implement
make-frame-visible-hook in my .emacs, and require dframe, etc, and I
will do that if it is the only way, but unfortunately this prevents me
from submitting my improvement to tracking-mode or erc-track for others
to use.
As a side-note, post-command-hook will not help in this situation
because tracking-mode already uses window-configuration-change-hook, but
the need to call an arbitrary command to force an update is precisely
what I am trying to avoid.
Thank you.
--
John Foerch
- Re: request: make-frame-visible hook, (continued)
- Re: request: make-frame-visible hook, John J Foerch, 2009/02/18
- Re: request: make-frame-visible hook, Richard M Stallman, 2009/02/18
- Re: request: make-frame-visible hook, Stefan Monnier, 2009/02/18
- Re: request: make-frame-visible hook, John J Foerch, 2009/02/18
- Re: request: make-frame-visible hook, Lynbech Christian, 2009/02/19
- Re: request: make-frame-visible hook,
John J Foerch <=
- Re: request: make-frame-visible hook, Miles Bader, 2009/02/19
- Re: request: make-frame-visible hook, Richard M Stallman, 2009/02/20
- Re: request: make-frame-visible hook, Kim F. Storm, 2009/02/20
- Re: request: make-frame-visible hook, Stefan Monnier, 2009/02/20
- Re: request: make-frame-visible hook, Eli Zaretskii, 2009/02/21
- Re: request: make-frame-visible hook, martin rudalics, 2009/02/21
- Re: request: make-frame-visible hook, Richard M Stallman, 2009/02/21
- Re: request: make-frame-visible hook, Kim F. Storm, 2009/02/21
- Re: request: make-frame-visible hook, Bo Lin, 2009/02/21
- Re: request: make-frame-visible hook, Richard M Stallman, 2009/02/22