From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Shmakov Newsgroups: gmane.emacs.bugs Subject: bug#18510: 24.4.50; ERC doesn't update mode line frequently enough Date: Sat, 11 Oct 2014 13:30:30 +0000 Message-ID: <87k3463f9l.fsf@violet.siamics.net> References: <874mw3vg49.fsf@tromey.com> <87h9zxrn3v.fsf@tromey.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1413034283 11194 80.91.229.3 (11 Oct 2014 13:31:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Oct 2014 13:31:23 +0000 (UTC) To: 18510@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 11 15:31:17 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XcwlQ-0000TA-5t for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Oct 2014 15:31:16 +0200 Original-Received: from localhost ([::1]:54188 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcwlP-0004F3-K6 for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Oct 2014 09:31:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcwlI-0004Ew-Oa for bug-gnu-emacs@gnu.org; Sat, 11 Oct 2014 09:31:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XcwlE-0002Gd-Jr for bug-gnu-emacs@gnu.org; Sat, 11 Oct 2014 09:31:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcwlE-0002GZ-Bj for bug-gnu-emacs@gnu.org; Sat, 11 Oct 2014 09:31:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XcwlD-0003zD-Fd for bug-gnu-emacs@gnu.org; Sat, 11 Oct 2014 09:31:03 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <874mw3vg49.fsf@tromey.com> Resent-From: Ivan Shmakov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Oct 2014 13:31:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18510 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18510-submit@debbugs.gnu.org id=B18510.141303425315301 (code B ref 18510); Sat, 11 Oct 2014 13:31:03 +0000 Original-Received: (at 18510) by debbugs.gnu.org; 11 Oct 2014 13:30:53 +0000 Original-Received: from localhost ([127.0.0.1]:40827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xcwl2-0003yg-Ad for submit@debbugs.gnu.org; Sat, 11 Oct 2014 09:30:52 -0400 Original-Received: from fely.am-1.org ([78.47.74.50]:35864) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xcwkr-0003yK-I0 for 18510@debbugs.gnu.org; Sat, 11 Oct 2014 09:30:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Type:MIME-Version:Message-ID:Date:Sender:References:Subject:To:From; bh=+QyeJMKSyxDcdIftrzuFJqVBCViCDpfGgzaktbXqh14=; b=akBVhx3GSky4HPVQ9AKmx0uJSnIY5mEHTptZVKKWwxl1Bgy3E27bqR5+ry5V25fwEpign2hYlme3BqRZJY17O/ERKl712g45ws3699RAk9GpPuzH2KiqXEYsu+6ZK3pCLCekqiLZjeFSYiDNfsq425ZUHhBV4gR7+zWP6pkZM+g=; Original-Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Xcwko-00051t-Np for 18510@debbugs.gnu.org; Sat, 11 Oct 2014 13:30:39 +0000 Original-Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Xcwkg-0000xT-Tm for 18510@debbugs.gnu.org; Sat, 11 Oct 2014 20:30:31 +0700 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:94409 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >>>>> Stefan Monnier 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. --=20 FSF associate member #7257 http://boycottsystemd.org/ =E2=80=A6 3013 B6A0= 230E 334A --=-=-= Content-Type: text/diff Content-Disposition: inline --- 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))))) --=-=-=--