From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Antoine Levitt Newsgroups: gmane.emacs.bugs Subject: bug#9246: Scrolling bug with word-wrap in emacs -nw Date: Sat, 31 Dec 2011 12:28:53 +0100 Message-ID: <87aa69t1xm.fsf@gmail.com> References: <8762mb1jq1.fsf@gmail.com> <1312839728.2986.6.camel@kiwi-pc2> <83fwgaxkdu.fsf@gnu.org> <87ehvudqcs.fsf@gmail.com> <8362h6xc0q.fsf@gnu.org> <877h1m56ob.fsf@gmail.com> <8339cax74g.fsf@gnu.org> <87ty4p3nr0.fsf@gmail.com> <83wr9lx4u6.fsf@gnu.org> <87ipkzvvy2.fsf@gmail.com> <83y5tutnc0.fsf@gnu.org> <87mxaaupjd.fsf@gmail.com> <83y5ttrvoi.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1325331013 29145 80.91.229.12 (31 Dec 2011 11:30:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 31 Dec 2011 11:30:13 +0000 (UTC) Cc: 9246@debbugs.gnu.org, riccardi.thomas@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 31 12:30:08 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rgx8Z-00005D-BW for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Dec 2011 12:30:07 +0100 Original-Received: from localhost ([::1]:37351 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rgx8Y-000610-QL for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Dec 2011 06:30:06 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rgx8V-0005zG-1k for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2011 06:30:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rgx8T-00079O-U5 for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2011 06:30:02 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rgx8T-000794-SF for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2011 06:30:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RgxBO-0004aW-0Q for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2011 06:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Antoine Levitt Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Dec 2011 11:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9246 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9246-submit@debbugs.gnu.org id=B9246.132533112817577 (code B ref 9246); Sat, 31 Dec 2011 11:33:01 +0000 Original-Received: (at 9246) by debbugs.gnu.org; 31 Dec 2011 11:32:08 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RgxAV-0004ZS-Il for submit@debbugs.gnu.org; Sat, 31 Dec 2011 06:32:07 -0500 Original-Received: from mail-wi0-f172.google.com ([209.85.212.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RgxAS-0004ZJ-Ob for 9246@debbugs.gnu.org; Sat, 31 Dec 2011 06:32:06 -0500 Original-Received: by wibhj6 with SMTP id hj6so8126009wib.3 for <9246@debbugs.gnu.org>; Sat, 31 Dec 2011 03:29:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=Pnqbmi/GPT6zzR9YNCDlJllbs4+KYGCyvo78KGD+1rc=; b=V7taCOiyZb+h0+Gcf8ATlFteZNmjIxhGeioFf7WrgyzfEhmhXBG+fye+HWhNe/HaeE re2o4+L19SIfTG4wyiUKvoVL0VtzwYlE6Oj8z+1LQKpTe0oJWuYIFRU0qz+9lJKIYZUs FRBs5QRIoHc+IggCaoaMRXdjLV0gbZbhY5Cow= Original-Received: by 10.181.13.162 with SMTP id ez2mr93161551wid.17.1325330943033; Sat, 31 Dec 2011 03:29:03 -0800 (PST) Original-Received: from lambda (i01v-213-44-207-121.d4.club-internet.fr. [213.44.207.121]) by mx.google.com with ESMTPS id 6sm12080162wbw.10.2011.12.31.03.28.57 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 31 Dec 2011 03:29:01 -0800 (PST) In-Reply-To: <83y5ttrvoi.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 31 Dec 2011 10:29:17 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 31 Dec 2011 06:33:02 -0500 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:55331 Archived-At: 31/12/11 09:29, Eli Zaretskii >> From: Antoine Levitt >> Cc: riccardi.thomas@gmail.com, 9246@debbugs.gnu.org >> Date: Fri, 30 Dec 2011 15:01:26 +0100 >> >> Here's two patches. The first adds the warning from the info file into >> the variable definition. The second fixes erc-scrollbottom by using >> post-command-hook instead of window-scroll-functions. >> >> Can you merge them? > > Done (as revisions 106750 and 106751 on the trunk). Thanks! > I didn't see any change that uses posn-at-point. Do you intend to add > something else, or can this bug report be closed now? Feel free to close, the original bug (about erc-scrolltobottom) is fixed. The change with posn-at-point is more of a wishlist, ie to get an extended version of this behavior for all emacs. I don't see a way to do that properly without a post-redisplay-hook.