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, 24 Dec 2011 16:29:56 +0100 Message-ID: <877h1m56ob.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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1324740669 9215 80.91.229.12 (24 Dec 2011 15:31:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 24 Dec 2011 15:31:09 +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 24 16:31:03 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 1ReTYm-00076H-3Y for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Dec 2011 16:30:56 +0100 Original-Received: from localhost ([::1]:55715 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ReTYl-000654-ED for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Dec 2011 10:30:55 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:38898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ReTYd-00064c-5r for bug-gnu-emacs@gnu.org; Sat, 24 Dec 2011 10:30:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ReTYW-0007KU-Oc for bug-gnu-emacs@gnu.org; Sat, 24 Dec 2011 10:30:47 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ReTYW-0007KQ-Mw for bug-gnu-emacs@gnu.org; Sat, 24 Dec 2011 10:30:40 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1ReTao-00045O-5P for bug-gnu-emacs@gnu.org; Sat, 24 Dec 2011 10:33:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <8762mb1jq1.fsf@gmail.com> Resent-From: Antoine Levitt Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Dec 2011 15:33:02 +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.132474075915676 (code B ref 9246); Sat, 24 Dec 2011 15:33:02 +0000 Original-Received: (at 9246) by debbugs.gnu.org; 24 Dec 2011 15:32:39 +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 1ReTaL-00044d-6I for submit@debbugs.gnu.org; Sat, 24 Dec 2011 10:32:39 -0500 Original-Received: from mail-ee0-f44.google.com ([74.125.83.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ReTaB-00044P-Ta for 9246@debbugs.gnu.org; Sat, 24 Dec 2011 10:32:30 -0500 Original-Received: by eekc14 with SMTP id c14so10106151eek.3 for <9246@debbugs.gnu.org>; Sat, 24 Dec 2011 07:30:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version:content-type; bh=ZOBQmCQz1z6EsT3eJWsrHamSUwp7s+Xl0bx5nCR7uCI=; b=h45UUgUDWdPnb3oc1P9tfHAnBb09YnDPQ4Wv8Ya4cyqnuDiOBbjdH5DFOEXXAR0+cR PBqDWZuXo7Mz4fPuvjjLAJ63w8edduTad0yP6L5OCaFzUyQh4otNlHH3YBnja8dWxJAk 142dOqJ0cf683q4yQ5AxbcFXBxFghmSWEN2cY= Original-Received: by 10.213.109.18 with SMTP id h18mr885995ebp.69.1324740601189; Sat, 24 Dec 2011 07:30:01 -0800 (PST) Original-Received: from lambda ([2a01:e35:2e9d:c6a0:226:5eff:fe55:54d7]) by mx.google.com with ESMTPS id y12sm63175532eeb.11.2011.12.24.07.29.58 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 24 Dec 2011 07:30:00 -0800 (PST) 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, 24 Dec 2011 10: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:55158 Archived-At: 24/12/11 15:47, Eli Zaretskii >> From: Antoine Levitt >> Cc: Thomas Riccardi , 9246@debbugs.gnu.org >> Date: Sat, 24 Dec 2011 14:57:39 +0100 >> >> I don't know a simpler way - at least, not without understanding >> erc-scrolltobottom, which I don't. > > What is erc-scrolltobottom? It's a module to automatically scroll to the bottom of the buffer. I think I looked at it some time ago, and concluded that this bug comes from emacs internals rather than this module. But I might be wrong. > >> How does erc fail? > > It turns out, it doesn't always fail. When it does, it shows this in > the echo area: > > make client process failed: connection timed out, :name, > erc-irc.freenode.net-6667, :buffer, nil, :host, irc.freenode.net, > :service, 6667, :nowait, nil Probably an internet connection problem, not emacs related. > > Anyway, I tried on a different system, where I have better luck > connecting, and I cannot reproduce the problem here, with the latest > trunk. I typed a very long link, then typed some random lines until > the window was full, and didn't see any hell break lose on me. > > Can you copy-paste the exact text you type into the ERC window to > reproduce this bug, starting with the connection, and everything you > do afterwards? Alright. So emacs -Q -nw (the -nw is important). M-x erc RET RET RET RET, connect to freenode, you get to the server window. Type /join #somethingtest RET, you get to the channel window. M-: (setq word-wrap t) RET M-x erc-scrolltobottom-enable RET http://wowthisislongveryveryveryveryveryveryveryveryveryveryveryveryveryveryverylong.com RET a RET a RET ... etc until end of buffer. Then point goes to top, and the scrolling doesn't work anymore. I verified with latest trunk, I still see this.