From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.bugs Subject: bug#11697: 24.1.50; ERC scroll-to-bottom functionality 'broken' in emacs 24.1.x Date: Thu, 14 Jun 2012 23:10:26 +0200 Message-ID: <4FDA5342.8090006@dogan.se> References: <87ipevji6m.fsf@pringles.terranpro.org> <4FD8F1F4.6080809@dogan.se> <87ehpiz0iu.fsf@gmail.com> <4FDA4EBC.2080703@dogan.se> <87sjdxobbh.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1339708277 19303 80.91.229.3 (14 Jun 2012 21:11:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Jun 2012 21:11:17 +0000 (UTC) Cc: 11697@debbugs.gnu.org To: Antoine Levitt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 14 23:11:16 2012 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 1SfHJv-000477-W9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jun 2012 23:11:12 +0200 Original-Received: from localhost ([::1]:51998 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfHJv-0007zR-Na for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jun 2012 17:11:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfHJt-0007zM-E3 for bug-gnu-emacs@gnu.org; Thu, 14 Jun 2012 17:11:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfHJr-00012m-Br for bug-gnu-emacs@gnu.org; Thu, 14 Jun 2012 17:11:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33164) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfHJr-00012i-7y for bug-gnu-emacs@gnu.org; Thu, 14 Jun 2012 17:11:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SfHMf-0006W0-Sk for bug-gnu-emacs@gnu.org; Thu, 14 Jun 2012 17:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Deniz Dogan Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Jun 2012 21:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11697 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11697-submit@debbugs.gnu.org id=B11697.133970842125009 (code B ref 11697); Thu, 14 Jun 2012 21:14:01 +0000 Original-Received: (at 11697) by debbugs.gnu.org; 14 Jun 2012 21:13:41 +0000 Original-Received: from localhost ([127.0.0.1]:42710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SfHML-0006VJ-3P for submit@debbugs.gnu.org; Thu, 14 Jun 2012 17:13:41 -0400 Original-Received: from mxf5.bahnhof.se ([213.80.101.29]:49944) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SfHMJ-0006VD-Hv for 11697@debbugs.gnu.org; Thu, 14 Jun 2012 17:13:40 -0400 Original-Received: from localhost (mxf5.local [127.0.0.1]) by mxf5-reinject (Postfix) with ESMTP id 65194CF0DE; Thu, 14 Jun 2012 23:10:45 +0200 (CEST) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MXF1) Original-Received: from mxf5.bahnhof.se ([127.0.0.1]) by localhost (mxf5.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KtAOLDbLUBeP; Thu, 14 Jun 2012 23:10:43 +0200 (CEST) Original-Received: from [192.168.1.4] (h-149-227.a336.priv.bahnhof.se [37.123.149.227]) by mxf5.bahnhof.se (Postfix) with ESMTP id 2C906CF0DB; Thu, 14 Jun 2012 23:10:43 +0200 (CEST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0 In-Reply-To: <87sjdxobbh.fsf@gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:60988 Archived-At: On 2012-06-14 23:03,, Antoine Levitt wrote: > 14/06/12 22:51, Deniz Dogan >> The excessive CPU consumption comes from the fact that it nowadays >> uses post-command-hook, which is executed just about all the time. :) > > I don't think so, I had excessive CPU consumption before the code used > post-command-hook (main way to trigger is to hold a random key down > while watching the result of top. It's already appalling in ERC without > erc-scrolltobottom, but it's even worth with it). > > The way I see it, this scrolltobottom thing is a problem that is global > to emacs and has nothing to do with ERC in particular. For instance, I > also want my shell buffers not to scroll past the end of > buffers. Actually I think (but am not sure ; it would require testing) > I'd want all buffers to behave that way, and never, ever display > anything past the end of the buffer. An ideal solution would be a local > variable, that'd inhibit "bad" recentering (and therefore would not > incur any performance loss, as I believe the main loss is when a hook > recenters after it has already been recentered). But that's more > ambitious. > I agree. Another improvement, especially for IRC clients, would be to allow for buffers to start growing from the bottom of the window, much like Irssi and mIRC.