bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#18510: 24.4.50; ERC doesn't update mode line frequently enough


From: Ivan Shmakov
Subject: bug#18510: 24.4.50; ERC doesn't update mode line frequently enough
Date: Sat, 11 Oct 2014 13:30:30 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

>>>>> Stefan Monnier <monnier@iro.umontreal.ca> writes:

 >> Your patch worked!  I applied it to my running Emacs and removed the
 >> advice and waited to see if the ERC mode line updated.

 > Thanks, installed, closing,

        Please consider the patch MIMEd.

        This should fix the issue introduced in 67c13dfc627d that now
        prevents erc-modified-channels-object from being updated when
        the buffer has already seen some activity /and/ then sees some
        more important (as per erc-track-faces-priority-list) activity
        in the same buffer.

-- 
FSF associate member #7257  http://boycottsystemd.org/  … 3013 B6A0 230E 334A
--- a/lisp/erc/erc-track.el
+++ b/lisp/erc/erc-track.el
@@ -860,7 +860,7 @@ Use `erc-make-mode-line-buffer-name' to create buttons."
                        faces (cdr faces)))
                strings)))
           (newobject (erc-modified-channels-object strings)))
-      (unless (equal oldobject newobject)
+      (unless (equal-including-properties oldobject newobject)
        (setq erc-modified-channels-object newobject)
        (force-mode-line-update t)))))
 

reply via email to

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