From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Kanis Newsgroups: gmane.emacs.bugs Subject: bug#16697: 24.3.50; ERC scrolltobottom module does not work anymore Date: Mon, 10 Feb 2014 22:12:19 +0100 Message-ID: <87iosm1xl8.fsf@tao.kanis.fr> References: <87ha892un8.fsf@tao.kanis.fr> <83wqh5uxjj.fsf@gnu.org> <87ha88r57d.fsf@tao.kanis.fr> <83iosouryz.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1392066789 22747 80.91.229.3 (10 Feb 2014 21:13:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Feb 2014 21:13:09 +0000 (UTC) Cc: 16697@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 10 22:13: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 1WCyAG-0006E0-Kc for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Feb 2014 22:13:16 +0100 Original-Received: from localhost ([::1]:58171 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCyAG-0005Ly-4E for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Feb 2014 16:13:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCyA8-0005LU-8H for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 16:13:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCyA3-0002hX-1j for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 16:13:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCyA2-0002hR-Ut for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 16:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WCyA2-0006Kf-Hd for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 16:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ivan Kanis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Feb 2014 21:13: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.139206675124300 (code B ref 16697); Mon, 10 Feb 2014 21:13:02 +0000 Original-Received: (at 16697) by debbugs.gnu.org; 10 Feb 2014 21:12:31 +0000 Original-Received: from localhost ([127.0.0.1]:41850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCy9W-0006Jp-LF for submit@debbugs.gnu.org; Mon, 10 Feb 2014 16:12:31 -0500 Original-Received: from kanis.fr ([46.19.35.252]:38492 helo=srv2.kanis.fr) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCy9U-0006JW-Bs for 16697@debbugs.gnu.org; Mon, 10 Feb 2014 16:12:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kanis.fr; s=alpha; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=ER/xj3fnXizeGP3eFXgfIdIdLKn5OEvPOSwsbmktUvk=; b=q5LP3WP2y2GtLFajDLg/G3iWIlN9lODEgRHIgrnTCLp2829WNnaxvodurLq4eRFpbB7EM8YGzmm8cfe8Pkapm0uPlLTAytzwASdRWgfiX+QZUYJ/1pNOnog/CVN7bBKl; Original-Received: from smtp.comencini.fr ([164.138.25.8]) by smtp.comencini.fr with esmtpsa (TLS1.1:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80.1) (envelope-from ) id 1WCy9N-0001kJ-LB; Mon, 10 Feb 2014 22:12:22 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAAXNSR0IArs4c6QAAAB5QTFRF IBkXUxMTOCwoTC4qcUY8iFxQmmper31txpaJ/v/8aKZ1oAAAAcVJREFUOMt100tu2zAQAFDCXnUZ oAcIqG68LZULVLQBbwuSiffm6AIRRyeotAySJoVu2+FPpJWWC3/4NKOZocSW/yxWfnJ2+Bdwzhj7 8gleWVy7DXC2rkMNr2V/zRbghXIwthf3VbIA9Ffc71vZCSFyCEsBggtNS8ludwvfmhYA0Vn9o4DP zMWxR7+cPWzAYFzwM0ModtdmcDbDS6i/hT7L+RZof5yCXGrYe5jn2YO6BYMjgY+51tCIAqHgBLwR pwLnGuRjAKyBJkuN4yd4U92uCY1vUr2D/c5b8DuxyQwfOHUeaLqDJhnkkuGXbB56h2C1IVBdgncc bBi6feroa9B6jUDojnQPQKupbyXyeeCE1oT7Oqrt+SnfY3mkiyGA/3AmD3H5g32CcBx6hY8pRkwJ 9PpcjRGobUfprFnhAa1vepwcgMOhwG+pdSgKHFU9HAvoAH6XUl7lDUCCq5Qb6GMbVm3Aj++qDYCt wdBc/YHgOFCmS3mjDMRcSE2qY4E3Q3PVIQRQmeodNH4QEbRUFZzW+VotzwX4yTcRTySOML1qjcE5 hTirVqDHkMAP0PjAywp3d18JZtqzvr9zDYD+GaSKtE6Zlr/DLPNFmOcvBAAAAABJRU5ErkJggg== X-Hashcash: 1:20:140210:16697@debbugs.gnu.org::ULE34DtYGPG/qzPe:00000000000000000000000000000000000000000+i3 X-Hashcash: 1:20:140210:eliz@gnu.org::SRCXzwpnVEp7qIpA:000002RC7 In-Reply-To: <83iosouryz.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 09 Feb 2014 19:16:20 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (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:85315 Archived-At: February, 09 at 19:16 Eli wrote: >> 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? 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. 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. -- Things unattempted yet in prose or rhyme. -- John Milton