emacs-devel
[Top][All Lists]
Advanced

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

Re: Cleaning up rcirc


From: Tassilo Horn
Subject: Re: Cleaning up rcirc
Date: Fri, 11 Jun 2021 11:27:40 +0200
User-agent: mu4e 1.5.13; emacs 28.0.50

Hi Philip,

>> Here's one thing I noticed just now but which is probably not caused by
>> your changes, but who knows: I use `rcirc-track-minor-mode' which
>> displays abbreviated channels with activity in the mode-line like
>> [#emacs,#git] and makes it possible to switch/cycle through them with
>> `rcirc-next-active-buffer'.
>>
>> With the indicator above and a 2-side-by-side window configuration
>> (terminal frame, if that matters) I call the latter function twice.  In
>> the current mode-line, the indicator becomes [] (no unseen activity),
>> however, in the other window it is still [#emacs,#git] and becomes []
>> not before switching to that other window.
>
> Hmm, I did not change anything about rcirc-track-minor-mode, but I do
> remember trying out adding (rcirc-update-activity-string) to the end
> of rcirc-next-active-buffer. Does that change anything in your case?

No, not really.  `rcirc-update-activity-string' just updates
`rcirc-activity-string'.  Maybe that should call

  (force-mode-line-update t)

at least if the new and old activity string aren't equal?

Bye,
Tassilo




reply via email to

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