From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#11697: bug#16697: 24.3.50; ERC scrolltobottom module does not work anymore Date: Wed, 23 Oct 2019 11:57:44 +0200 Message-ID: <87lftbiy1z.fsf@gnus.org> References: <87ha892un8.fsf@tao.kanis.fr> <83wqh5uxjj.fsf@gnu.org> <87ha88r57d.fsf@tao.kanis.fr> <83iosouryz.fsf@gnu.org> <87iosm1xl8.fsf@tao.kanis.fr> <83bnyetih6.fsf@gnu.org> <87fvnqc8if.fsf@tao.kanis.fr> <834n45txk7.fsf@gnu.org> <874n45k1vi.fsf@tao.kanis.fr> <3f38jpe2k5.fsf@fencepost.gnu.org> <87r478cffg.fsf@tao.kanis.fr> <87lh8f8u0u.fsf@gnus.org> <8737um75l9.fsf@kanis.fr> <87oabxypet.fsf@gnus.org> <87powcurlk.fsf@kanis.fr> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="256187"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 28839@debbugs.gnu.org, 11697@debbugs.gnu.org, 16697@debbugs.gnu.org, Josh To: Ivan Kanis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 23 11:58:49 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iNDPj-0014S9-4o for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Oct 2019 11:58:47 +0200 Original-Received: from localhost ([::1]:59530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNDPh-0001W1-BO for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Oct 2019 05:58:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38794) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNDP3-0001VI-0U for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2019 05:58:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNDP1-00052d-AO for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2019 05:58:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52095) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iNDP0-00051V-3Y for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2019 05:58:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iNDP0-0006sl-1J for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2019 05:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Oct 2019 09:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11697 X-GNU-PR-Package: emacs Original-Received: via spool by 11697-submit@debbugs.gnu.org id=B11697.157182467326422 (code B ref 11697); Wed, 23 Oct 2019 09:58:01 +0000 Original-Received: (at 11697) by debbugs.gnu.org; 23 Oct 2019 09:57:53 +0000 Original-Received: from localhost ([127.0.0.1]:60911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNDOq-0006rz-V0 for submit@debbugs.gnu.org; Wed, 23 Oct 2019 05:57:53 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:34638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNDOn-0006rg-RD; Wed, 23 Oct 2019 05:57:50 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iNDOj-0001gE-CT; Wed, 23 Oct 2019 11:57:47 +0200 In-Reply-To: <87powcurlk.fsf@kanis.fr> (Ivan Kanis's message of "Thu, 04 Feb 2016 21:51:19 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:170043 Archived-At: Ivan Kanis writes: > emacs -Q > > 1) evaluate (setq erc-modules '(scrolltobottom)) > 2) M-x erc > 3) select default values > 4) /j #emacs > 5) wait for the buffer to fill up > > I expect the prompt line to stay at the bottom. > > It jumps back to the middle. This was a bit convoluted to fix, as none of the hooks erc had could be used, as they're called while saving too many excursions. (Well, I could have rewritten the erc-scroll-to-bottom function to not use `recenter' at all, which may have been a better idea, come to think of it.) But I fixed it a different way, so that now point is kept at the end of the buffer (if the window is selected). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no