From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dima Kogan Newsgroups: gmane.emacs.bugs Subject: bug#14567: These changes sometimes break plain text navigation Date: Sat, 06 Jul 2013 02:02:16 -0700 Message-ID: <87r4fc9i3r.fsf@secretsauce.net> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1373101394 29126 80.91.229.3 (6 Jul 2013 09:03:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Jul 2013 09:03:14 +0000 (UTC) To: 14567@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 06 11:03:16 2013 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 1UvOOg-0006is-3H for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Jul 2013 11:03:14 +0200 Original-Received: from localhost ([::1]:58202 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvOOf-0007Ws-OX for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Jul 2013 05:03:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvOOZ-0007Vt-Ni for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2013 05:03:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UvOOU-00051Z-EE for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2013 05:03:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39305) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvOOU-00051U-2D for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2013 05:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UvOOT-0001cU-RV for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2013 05:03:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Dima Kogan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Jul 2013 09:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14567 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14567-submit@debbugs.gnu.org id=B14567.13731013446095 (code B ref 14567); Sat, 06 Jul 2013 09:03:01 +0000 Original-Received: (at 14567) by debbugs.gnu.org; 6 Jul 2013 09:02:24 +0000 Original-Received: from localhost ([127.0.0.1]:33621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UvONr-0001aC-1S for submit@debbugs.gnu.org; Sat, 06 Jul 2013 05:02:23 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:35501) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UvONn-0001Zj-JC for 14567@debbugs.gnu.org; Sat, 06 Jul 2013 05:02:20 -0400 Original-Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id F007920989 for <14567@debbugs.gnu.org>; Sat, 6 Jul 2013 05:02:18 -0400 (EDT) Original-Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute5.internal (MEProxy); Sat, 06 Jul 2013 05:02:18 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=secretsauce.net; h=from:to:subject:date:message-id:mime-version:content-type; s= mesmtp; bh=YaW4WIld5OoBod3htog9Cze9vbc=; b=Zf/jlnLQC+HC5Tp+gA2AJ FfNGsZaFp53eRpyQ3pht/sc0lPBJh3Zt56woCf0sRiFu+MdXRLnPmkHhozN7iZ+L 5jYkQ/AwuXkPwqib2+qdQXbOzQQwT8zo9h2PJza7lWISwddpjkg56TSiXZj791/m mwrvFdZLm4GLW+0QOn4URw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:subject:date:message-id :mime-version:content-type; s=smtpout; bh=YaW4WIld5OoBod3htog9Cz e9vbc=; b=GeiY4eDTzE7zeov5iuU156RkJVkfwd+8TdNYK1kVcC2kzOrSvQ/nWt YSvaXVU8dGLGbaiEjNbrGbEChFcXXvGja+dedN5eNeNA3VvjBrHe4g/qpBAcJ16c NTmAw3AWkzIlma3QfP8hguhnq+mEn2vuAeHiRmuqymnzuuNcCC5BI= X-Sasl-enc: pGkS99AdqSFo7PhwLHlmkXoWuFWQRQPFXv3mQrhVbW3f 1373101338 Original-Received: from shorty.local (unknown [76.169.247.77]) by mail.messagingengine.com (Postfix) with ESMTPA id AE85A680279 for <14567@debbugs.gnu.org>; Sat, 6 Jul 2013 05:02:18 -0400 (EDT) Original-Received: from dima by shorty.local with local (Exim 4.80) (envelope-from ) id 1UvONl-000691-4g for 14567@debbugs.gnu.org; Sat, 06 Jul 2013 02:02:17 -0700 User-agent: mu4e 0.9.9.5-dev6; emacs 24.3.50.1 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:75981 Archived-At: Hi. I'm seeing the patches meant to address this bug break plain-text scrolling. I'm reporting this new issue here, since it seems on-topic. I'm running a close-to-HEAD emacs on a Debian box. The most recent change to simple.el is this: http://git.savannah.gnu.org/cgit/emacs.git/commit/lisp/simple.el?id=a7484019a30de380087389ccc8e5b0d0b8dae290 I'm observing that under some specific conditions (ones that my .emacs just happens to hit) C-f can get stuck scrolling text instead of going to the next line. To make the bug happen, I do this: 1. Load a text file. This is plain ASCII. No images or unicode or anything interesting. A nice test case is the output of 'seq 1000' 2. Press C-f repeatedly until the point reaches the bottom of the screen; this works fine 3. When at the bottom of the screen C-f scrolls the text one line up, while keeping the point where it was in the buffer. Now the point gets stuck, and subsequent C-f/C-b just scroll the screen; the point is stuck. The bug requires particular .emacs settings. I wittled it down to this: (custom-set-variables '(default-frame-alist '((font . "-adobe-courier-medium-r-normal--14-100-100-100-m-90-iso8859-1"))) '(inhibit-startup-screen t)) (global-hl-line-mode) The inhibit-startup-screen is there to be nicer; may not be required for the bug. The (global-hl-line-mode) is significant. The bug doesn't happen without it. That font is significant also. Other fonts seem to work without the bug. I suspect the window sizes are significant as well. I can see the bug if I launch 'emacs -geometry 30x30'. The width/height of the emacs window as reported by xwininfo is then 308x455. This is 100% reproducible for me. I suspect it may not be so for others. Let me know if I should run any specific tests to get to the bottom of this. Thanks