From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: Cleaning up rcirc Date: Fri, 11 Jun 2021 11:27:40 +0200 Message-ID: <874ke4agi9.fsf@gnu.org> References: <874kedu0cm.fsf@posteo.net> <877dj94liu.fsf@igel.home> <87im2tlcwy.fsf@posteo.net> <87sg1urfwu.fsf@gnu.org> <87sg1pwwfd.fsf@posteo.net> <87zgvx34s4.fsf@gnu.org> <87sg1pidwy.fsf@posteo.net> <87a6nx9ecz.fsf@gnu.org> <877dj0aoop.fsf@gnu.org> <87k0n0ixag.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8007"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.13; emacs 28.0.50 Cc: emacs-devel@gnu.org To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 11 11:39:15 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lrddD-0001x7-A0 for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Jun 2021 11:39:15 +0200 Original-Received: from localhost ([::1]:40136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrddC-00071T-5T for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Jun 2021 05:39:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrdcC-0005QY-Px for emacs-devel@gnu.org; Fri, 11 Jun 2021 05:38:12 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58662) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrdcB-0003dZ-Iu; Fri, 11 Jun 2021 05:38:11 -0400 Original-Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:53629) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrdbv-00025o-CA; Fri, 11 Jun 2021 05:38:11 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailauth.nyi.internal (Postfix) with ESMTP id B320627C0054; Fri, 11 Jun 2021 05:37:54 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 11 Jun 2021 05:37:54 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedujedgudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufffjgfkgggtsehttdertddtredtnecuhfhrohhmpefvrghsshhi lhhoucfjohhrnhcuoehtshguhhesghhnuhdrohhrgheqnecuggftrfgrthhtvghrnhepve evieekteekveeigfefffeivdetgeduvdffueeuudevgedttdehvdfhueevfffhnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhrnhdomh gvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqkeeijeefkeejkeegqdeifeehvdel kedqthhsughhpeepghhnuhdrohhrghesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 11 Jun 2021 05:37:53 -0400 (EDT) In-reply-to: <87k0n0ixag.fsf@posteo.net> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:270691 Archived-At: 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