[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: |
Wed, 18 Feb 2009 20:27:15 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Richard M Stallman <address@hidden> writes:
> I have used the emacs irc clients Circe and Erc, which both provide
> modes to track activity in hidden irc buffers. "Hidden" may mean a
> buffer that is not visible in any frame, or a buffer shown in a
> non-visible frame. The irc channels with new activity are indicated in
> the mode-line. Switching to a tracked buffer removes that buffer's
> indicator from the mode-line.
>
> I don't think I would add an Emacs feature for the sake of this.
> However, you might be able to get more or less the same result
> by triggering off the arrival of output from a process or connection
> and seeing which IRC buffers are currently displayed.
What you describe is implemented in both of the irc clients I
mentioned. They update the mode-line tracking indicator when new data
arrives from the process, but this is not often enough, and it is the
situation I would like to improve upon. A typical case for the new
feature would be as follows:
I have an emacs frame open on workspace 1, and my mode-line indicates
that there is activity in an irc channel. I switch to workspace 2,
where I have a frame showing the active irc channel. Without the
ability to use the make-frame-visible event, the mode-line tracking
indicator will continue to show that buffer, possibly for minutes until
more data comes from the process. If I switch back to workspace 1, and
the tracking indicator still has not been updated, I cannot then know
when the next new data arrives from the process, because the indicator
is now falsely on, though I have already read the buffer.
I guess I am not sure what the point of having a make-frame-visible
event is, if there can only be one handler on it.
Thank you for your time. I hope you will reconsider.
--
John Foerch
- request: make-frame-visible hook, John J Foerch, 2009/02/09
- 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 <=
- Re: request: make-frame-visible hook, Lynbech Christian, 2009/02/19
- Re: request: make-frame-visible hook, John J Foerch, 2009/02/19
- 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