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: Sun, 09 Feb 2014 19:16:20 +0200 Message-ID: <83iosouryz.fsf@gnu.org> References: <87ha892un8.fsf@tao.kanis.fr> <83wqh5uxjj.fsf@gnu.org> <87ha88r57d.fsf@tao.kanis.fr> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1391966234 11150 80.91.229.3 (9 Feb 2014 17:17:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Feb 2014 17:17:14 +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 Sun Feb 09 18:17:20 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 1WCY0K-0004p4-Fs for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Feb 2014 18:17:16 +0100 Original-Received: from localhost ([::1]:51612 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCY0J-0000UT-Rz for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Feb 2014 12:17:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41242) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCY0C-0000UK-NA for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 12:17:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCY07-0007gB-AG for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 12:17:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCY07-0007g1-6t for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 12:17:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WCY06-0005ca-6F for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 12:17: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: Sun, 09 Feb 2014 17:17:01 +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.139196620521573 (code B ref 16697); Sun, 09 Feb 2014 17:17:01 +0000 Original-Received: (at 16697) by debbugs.gnu.org; 9 Feb 2014 17:16:45 +0000 Original-Received: from localhost ([127.0.0.1]:60740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCXzn-0005bs-Mj for submit@debbugs.gnu.org; Sun, 09 Feb 2014 12:16:44 -0500 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:60944) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCXzj-0005bh-Be for 16697@debbugs.gnu.org; Sun, 09 Feb 2014 12:16:40 -0500 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0N0Q00N00NQSH300@mtaout27.012.net.il> for 16697@debbugs.gnu.org; Sun, 09 Feb 2014 19:15:20 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N0Q00JXQNXKSE40@mtaout27.012.net.il>; Sun, 09 Feb 2014 19:15:20 +0200 (IST) In-reply-to: <87ha88r57d.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:85089 Archived-At: > From: Ivan Kanis > Cc: 16697@debbugs.gnu.org > Date: Sun, 09 Feb 2014 10:44:06 +0100 > > February, 08 at 23:03 Eli wrote: > > >> From: Ivan Kanis > >> Date: Sat, 08 Feb 2014 21:53:47 +0100 > >> > >> 1) emacs -Q > >> 2) eval (setq erc-modules '(scrolltobottom)) in *scratch* > >> 3) M-x erc RET RET RET > >> > >> Wait for the window to fill up. > >> > >> I expect the prompt to stay at the bottom as it used to in 24.3. > > > > Does it help to set scroll-conservatively to a value larger than 100? > > Hi Eli, > > Of course it 'works' but it's global for all buffers. After years of > conservative scroll set to 0 I am somewhat used to it. I have set it to > 101 on my configuration to see if it's nice. > > This module did The Right Thing just for ERC buffers. It if can't be > fixed it should at least be removed. Sorry, I didn't mean to suggest that you should turn on scroll-conservatively, I just wanted to see what causes recentering. 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?