[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 13:10:55 +0200 |
User-agent: |
mu4e 1.5.13; emacs 28.0.50 |
Hi Philip,
>> 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?
>
> I cannot reproduce the issue (at least in my GUI instance, I'll take a
> look at TUI). Can you observe it making a difference?
Yes, with this patch it works for me on my TUI instance. (I'm not sure
if that's the right thing to do, though.)
--8<---------------cut here---------------start------------->8---
modified lisp/net/rcirc.el
@@ -2154,7 +2154,8 @@ rcirc-next-active-buffer
(concat
" Type C-u " (key-description (this-command-keys))
" for low priority activity.")
- "")))))
+ "")))
+ (rcirc-update-activity-string)))
(define-obsolete-variable-alias 'rcirc-activity-hooks
'rcirc-activity-functions "24.3")
@@ -2229,7 +2230,8 @@ rcirc-update-activity-string
((not (null (rcirc-process-list)))
"[]")
(t "[]")))
- (run-hooks 'rcirc-update-activity-string-hook)))
+ (run-hooks 'rcirc-update-activity-string-hook)
+ (force-mode-line-update t)))
(defun rcirc-activity-string (buffers)
"Generate activity string for all BUFFERS."
--8<---------------cut here---------------end--------------->8---
Bye,
Tassilo
- Re: Cleaning up rcirc, (continued)
- Re: Cleaning up rcirc, Tassilo Horn, 2021/06/06
- Re: Cleaning up rcirc, Philip Kaludercic, 2021/06/06
- Re: Cleaning up rcirc, Philip Kaludercic, 2021/06/10
- Re: Cleaning up rcirc, Tassilo Horn, 2021/06/10
- Re: Cleaning up rcirc, Philip Kaludercic, 2021/06/10
- Re: Cleaning up rcirc, Tassilo Horn, 2021/06/11
- Re: Cleaning up rcirc, Tassilo Horn, 2021/06/11
- Re: Cleaning up rcirc, Philip Kaludercic, 2021/06/11
- Re: Cleaning up rcirc, Tassilo Horn, 2021/06/11
- Re: Cleaning up rcirc, Philip Kaludercic, 2021/06/11
- Re: Cleaning up rcirc,
Tassilo Horn <=
- Re: Cleaning up rcirc, Philip Kaludercic, 2021/06/11
- Re: Cleaning up rcirc, Philip Kaludercic, 2021/06/11
- Re: Cleaning up rcirc, Lars Ingebrigtsen, 2021/06/07
Re: Cleaning up rcirc, Bone Baboon, 2021/06/06
Re: Cleaning up rcirc, Zhiwei Chen, 2021/06/07