From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#16697: 24.3.50; ERC scrolltobottom module does not work anymore Date: Tue, 11 Feb 2014 05:51:17 +0200 Message-ID: <83bnyetih6.fsf@gnu.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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1392090731 16520 80.91.229.3 (11 Feb 2014 03:52:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Feb 2014 03:52:11 +0000 (UTC) Cc: 16697@debbugs.gnu.org To: Ivan Kanis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 11 04:52:18 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 1WD4OO-0005wl-9z for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Feb 2014 04:52:16 +0100 Original-Received: from localhost ([::1]:59316 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WD4ON-0005us-Vr for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Feb 2014 22:52:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WD4OG-0005uX-4B for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 22:52:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WD4OA-0001oK-W8 for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 22:52:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34395) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WD4OA-0001oF-Sr for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 22:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WD4OA-0001oR-L4 for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 22:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Feb 2014 03:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16697 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16697-submit@debbugs.gnu.org id=B16697.13920907016927 (code B ref 16697); Tue, 11 Feb 2014 03:52:02 +0000 Original-Received: (at 16697) by debbugs.gnu.org; 11 Feb 2014 03:51:41 +0000 Original-Received: from localhost ([127.0.0.1]:42289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WD4No-0001ne-GE for submit@debbugs.gnu.org; Mon, 10 Feb 2014 22:51:40 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:54907) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WD4Nk-0001nN-TI for 16697@debbugs.gnu.org; Mon, 10 Feb 2014 22:51:38 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N0T00K00B9QYZ00@a-mtaout20.012.net.il> for 16697@debbugs.gnu.org; Tue, 11 Feb 2014 05:51:30 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N0T00KPXC1UX350@a-mtaout20.012.net.il>; Tue, 11 Feb 2014 05:51:30 +0200 (IST) In-reply-to: <87iosm1xl8.fsf@tao.kanis.fr> X-012-Sender: halo1@inter.net.il 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:85352 Archived-At: > From: Ivan Kanis > Cc: 16697@debbugs.gnu.org > Date: Mon, 10 Feb 2014 22:12:19 +0100 > > > However, now that I tried your recipe, I see that Emacs 24.3 also > > recenters, like the current trunk. If I then type RET at the "ERC>" > > prompt, the display is scrolled so that the last non-empty line is > > indeed at the bottom of the window. > > > > I think this is expected, given that scrolltobottom works off the > > post-command-hook, no? > > > > Are you sure that Emacs 24.3 behaves differently here? Did you > > perhaps use in Emacs 24.3 erc that is different from the one which was > > supplied with the release tarball? > > I tested on 24.3 and 24.2 and it does recenter. I am sure this feature > worked at some point but can't recall when. I can try further previous > versions if you wish. I think it "worked" when scrolltobottom used window-scroll-functions, see bug #11697. > When I type RET at the prompt I get an error message saying I can't send > an empty line. It errors "Blank line - ignoring" in the echo area. > However the display does not scroll up for me. No, I meant if the last line is not at the bottom of the window, typing just RET will scroll it to the bottom, because the post-command-hook will kick in. So I guess this feature expects an improvement that would put the last line at the bottom even if no command was invoked by the user.