From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Antoine Levitt Newsgroups: gmane.emacs.devel Subject: Re: New hook for ERC Date: Wed, 08 Feb 2012 23:23:32 +0100 Message-ID: <877gzxufq3.fsf@gmail.com> References: <4F32E763.1060104@dogan.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1328739835 15421 80.91.229.3 (8 Feb 2012 22:23:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Feb 2012 22:23:55 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 08 23:23:55 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RvFve-00055y-VS for ged-emacs-devel@m.gmane.org; Wed, 08 Feb 2012 23:23:55 +0100 Original-Received: from localhost ([::1]:49066 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvFve-0004HD-7w for ged-emacs-devel@m.gmane.org; Wed, 08 Feb 2012 17:23:54 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:56145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvFvc-0004H7-EX for emacs-devel@gnu.org; Wed, 08 Feb 2012 17:23:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvFvX-0006zO-68 for emacs-devel@gnu.org; Wed, 08 Feb 2012 17:23:52 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:45389) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvFvW-0006uD-Un for emacs-devel@gnu.org; Wed, 08 Feb 2012 17:23:47 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RvFvV-00054c-Tr for emacs-devel@gnu.org; Wed, 08 Feb 2012 23:23:45 +0100 Original-Received: from ney92-7-78-233-218-202.fbx.proxad.net ([78.233.218.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Feb 2012 23:23:45 +0100 Original-Received: from antoine.levitt by ney92-7-78-233-218-202.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Feb 2012 23:23:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 20 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ney92-7-78-233-218-202.fbx.proxad.net Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:148379 Archived-At: 08/02/12 22:21, Deniz Dogan > Hi, > > I've been trying to "fix" the behavior of ERC's scroll-to-bottom > module by hooking into erc-insert-post-hook. I thought that the state > when that hook is executed would be that point is back in the input > area, but it does not seem like it. Hi, What's your plan for scroll-to-bottom in ERC? Why do you need this hook in addition to the existing one? scroll-to-bottom in its current state is clearly suboptimal, and it has a pretty excessive CPU consumption when repeating characters. (I've also been looking for an emacs-wide replacement, without much success. This would be something that says : emacs is not allowed to display anything past the end of a buffer, period - except when the buffer is not long enough. Just like every other software does. This is one of the things that bother me the most about emacs.)