From unknown Tue Jun 24 20:54:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14780: Regression: C-n doesn't go to next line under simple circumstances Resent-From: Barry OReilly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Jul 2013 16:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14780 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 14780@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.13728674128397 (code B ref -1); Wed, 03 Jul 2013 16:04:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Jul 2013 16:03:32 +0000 Received: from localhost ([127.0.0.1]:55030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UuPWk-0002BM-Uc for submit@debbugs.gnu.org; Wed, 03 Jul 2013 12:03:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35073) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UuPWg-0002Az-SP for submit@debbugs.gnu.org; Wed, 03 Jul 2013 12:03:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuPWa-0002gV-C2 for submit@debbugs.gnu.org; Wed, 03 Jul 2013 12:03:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-99.2 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE, T_DKIM_INVALID, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35102) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuPWa-0002gO-8I for submit@debbugs.gnu.org; Wed, 03 Jul 2013 12:03:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuPWY-0002rf-HF for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2013 12:03:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuPWW-0002ed-Sz for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2013 12:03:18 -0400 Received: from mail-oa0-x231.google.com ([2607:f8b0:4003:c02::231]:40711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuPWW-0002eN-Ld for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2013 12:03:16 -0400 Received: by mail-oa0-f49.google.com with SMTP id n9so410203oag.22 for ; Wed, 03 Jul 2013 09:03:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Tymamq2ogRqP1/DOkYsnqBnPK/iOM+N0x2w3x6sUpSA=; b=eQ4+YZJsXbW6R+UmqCKBo51xjjQPv52CQtQUAUON5v5fg34zi50AKlnQGcDZNV7SRA uZbO6KzbtFu2uL6ikykyFlgMTYrbhSBBy6DDjEIXsxpdicZyWnURWTB4cfAIzRYpnfgx ruO6ndmSS8h88qbpAuBMhL65ZMKdwJHqucmnRz+G/WyNMl2jkx9iPHu23SLHGGbfq3vy XRG9JDxDMaeEeg9mOtHFlbh2WAGiocctP7UbQLFlk8e1V/zyt/CsBo3AUGQx4G+cxKm2 o0hCn6vzVOFWALn23BJjz+oYGd/04QJRsICBr9vb/mRJL/+8HLvVqG4ov+JGKbNMcpzU aPYg== MIME-Version: 1.0 X-Received: by 10.182.40.202 with SMTP id z10mr1364627obk.74.1372867395809; Wed, 03 Jul 2013 09:03:15 -0700 (PDT) Received: by 10.76.122.79 with HTTP; Wed, 3 Jul 2013 09:03:15 -0700 (PDT) Date: Wed, 3 Jul 2013 12:03:15 -0400 Message-ID: From: Barry OReilly Content-Type: multipart/mixed; boundary=001a11c32db673768604e09d99eb X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.3 (----) --001a11c32db673768604e09d99eb Content-Type: multipart/alternative; boundary=001a11c32db673768304e09d99e9 --001a11c32db673768304e09d99e9 Content-Type: text/plain; charset=ISO-8859-1 Let cant-next-line.el have file contents: (tool-bar-mode 0) (global-whitespace-mode 1) (set-face-attribute 'default nil :height 80) (setq scroll-margin 4) (setq scroll-conservatively 101) Open up the attached cant-next-line.txt by: emacs -Q --load cant-next-line.el cant-next-line.txt Move point to be immediately before the 'h' of "here". Try to reach the '-' character at the end of the file using C-n. You can't. If I move point to the beginning of line containing "here", then I can. I checked emacs-24.3 and could not reproduce this, so it is a regression. I witnessed this with latest trunk 68068a328a854998a0071f4714cbacdfed36fcc1 and for commit 20899d085afe62520113b5acbfe3dbba57823dc9 (Jun 5) which I use day to day (because the commit immediately following broke Evil in a critical way). --- In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4) of 2013-06-18 on psd15 Windowing system distributor `The X.Org Foundation', version 11.0.70101000 System Description: Red Hat Enterprise Linux Client release 5.4 (Tikanga) Configured using: `configure --prefix=/redacted/user/boreilly/sw/emacs-install-trunk-20899d085afe62520113b5acbfe3dbba57823dc9 --with-gif=no' Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Text Minor modes in effect: global-whitespace-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort nadvice gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils disp-table whitespace time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) --001a11c32db673768304e09d99e9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Let cant-next-line.el have file contents:

=A0 (tool-bar-mode 0)
= =A0 (global-whitespace-mode 1)
=A0 (set-face-attribute 'default nil = :height 80)
=A0 (setq scroll-margin 4)
=A0 (setq scroll-conservativel= y 101)

Open up the attached cant-next-line.txt by:

=A0 emacs -Q --load = cant-next-line.el cant-next-line.txt

Move point to be immediately be= fore the 'h' of "here". Try to reach the '-' char= acter at the end of the file using C-n. You can't. If I move point to t= he beginning of line containing "here", then I can.

I checked emacs-24.3 and could not reproduce this, so it is a regressio= n.

I witnessed this with latest trunk 68068a328a854998a0071f4714cbac= dfed36fcc1 and for commit 20899d085afe62520113b5acbfe3dbba57823dc9 (Jun 5) = which I use day to day (because the commit immediately following broke Evil= in a critical way).

---

In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Versi= on 2.10.4)
=A0of 2013-06-18 on psd15
Windowing system distributor `Th= e X.Org Foundation', version 11.0.70101000
System Description:=A0=A0= =A0 Red Hat Enterprise Linux Client release 5.4 (Tikanga)

Configured using:
=A0`configure
=A0--prefix=3D/redacted/user/bore= illy/sw/emacs-install-trunk-20899d085afe62520113b5acbfe3dbba57823dc9
=A0= --with-gif=3Dno'

Important settings:
=A0 value of $LANG: en_U= S.UTF-8
=A0 value of $XMODIFIERS: @im=3Dnone
=A0 locale-coding-system: utf-8-uni= x
=A0 default enable-multibyte-characters: t

Major mode: Text
=
Minor modes in effect:
=A0 global-whitespace-mode: t
=A0 tooltip-= mode: t
=A0 mouse-wheel-mode: t
=A0 menu-bar-mode: t
=A0 file-name-shadow-mod= e: t
=A0 global-font-lock-mode: t
=A0 font-lock-mode: t
=A0 blink-= cursor-mode: t
=A0 auto-composition-mode: t
=A0 auto-encryption-mode:= t
=A0 auto-compression-mode: t
=A0 line-number-mode: t
=A0 transient-mark-mode: t

Recent input:<= br>M-x r e p o r t <tab> <return>

Recent messages:
Fo= r information about GNU Emacs and the GNU system, type C-h C-a.

Load= -path shadows:
None found.

Features:
(shadow sort nadvice gnus-util mail-extr em= acsbug message format-spec
rfc822 mml easymenu mml-sec mm-decode mm-bodi= es mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail= rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils disp-table whitespace time-datetooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bardnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse
jit-loc= k font-lock syntax facemenu font-core frame cham georgian
utf-8-lang mis= c-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek= romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
mi= nibuffer loaddefs button faces cus-face macroexp files text-properties
o= verlay sha1 md5 base64 format env code-pages mule custom widget
hashtabl= e-print-readable backquote make-network-process dbusbind
dynamic-setting system-font-setting font-render-setting move-toolbar gtkx-toolkit x multi-tty emacs)

--001a11c32db673768304e09d99e9-- --001a11c32db673768604e09d99eb Content-Type: text/plain; charset=US-ASCII; name="cant-next-line.txt" Content-Disposition: attachment; filename="cant-next-line.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hioprdrw0 LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLQoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgogaGVyZQoKIAoKLQoK --001a11c32db673768604e09d99eb-- From unknown Tue Jun 24 20:54:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14780: Acknowledgement (Regression: C-n doesn't go to next line under simple circumstances) Resent-From: Barry OReilly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Jul 2013 18:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14780 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 14780@debbugs.gnu.org Received: via spool by 14780-submit@debbugs.gnu.org id=B14780.137425908614518 (code B ref 14780); Fri, 19 Jul 2013 18:39:02 +0000 Received: (at 14780) by debbugs.gnu.org; 19 Jul 2013 18:38:06 +0000 Received: from localhost ([127.0.0.1]:37922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0FZ8-0003m6-0n for submit@debbugs.gnu.org; Fri, 19 Jul 2013 14:38:06 -0400 Received: from mail-ob0-f170.google.com ([209.85.214.170]:38810) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0FZ5-0003lS-7M for 14780@debbugs.gnu.org; Fri, 19 Jul 2013 14:38:04 -0400 Received: by mail-ob0-f170.google.com with SMTP id ef5so5852114obb.15 for <14780@debbugs.gnu.org>; Fri, 19 Jul 2013 11:37:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=2sdIxQXkk9ExsZ1SSrq9tCG0b4bw8VbXRZM+afZemYI=; b=AnO9F+18/FINDQJRVVU75JHMFXCFYpoNPuso+By0K3f2UK5KLIPFB/OsmOspjwM2Ah jfwszxQyO+81uJW7NpVdhxU2FYLLapv71NuPJKz1fMwOw1HSRwjfwi8B1/qlhYlLcqVz 21jwvHrRhdT6K47KpqDBlSKcXpnbNT0tYiDFFfsvcTkWf2KGzmrZWxv1AWnqizxdPdjD BiNgQhci+M2LYca3fzIzlApodwJCce5Y6oqZu+ZIxnMixv0ciE/nJdNZMNpHkuOd1AMP J1WpysKWsxLTHNv18MVh2Ng5nOtYmu2LmsMMU2HNxH5TB0P/HngCJYdZqI6XKQ1I88ac 0rVg== MIME-Version: 1.0 X-Received: by 10.182.142.104 with SMTP id rv8mr13379403obb.3.1374259077264; Fri, 19 Jul 2013 11:37:57 -0700 (PDT) Received: by 10.76.122.79 with HTTP; Fri, 19 Jul 2013 11:37:57 -0700 (PDT) In-Reply-To: References: Date: Fri, 19 Jul 2013 14:37:57 -0400 Message-ID: From: Barry OReilly Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Git bisected the repo at Savannah to: 15cdf9527f5a78a5ea9aa0ba3fee8d7b84c3acf9 is the first bad commit commit 15cdf9527f5a78a5ea9aa0ba3fee8d7b84c3acf9 Author: Eli Zaretskii Date: Mon Dec 3 22:48:12 2012 +0200 Fix bug #13055 with cursor positioning inside scroll-margin. src/xdisp.c (redisplay_window): If the cursor is visible, but inside the scroll margin, move point outside the margin. From unknown Tue Jun 24 20:54:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14780: Acknowledgement (Regression: C-n doesn't go to next line under simple circumstances) Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Jul 2013 19:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14780 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Barry OReilly Cc: 14780@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 14780-submit@debbugs.gnu.org id=B14780.137426126719391 (code B ref 14780); Fri, 19 Jul 2013 19:15:02 +0000 Received: (at 14780) by debbugs.gnu.org; 19 Jul 2013 19:14:27 +0000 Received: from localhost ([127.0.0.1]:37949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0G8I-00052g-Gq for submit@debbugs.gnu.org; Fri, 19 Jul 2013 15:14:26 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:42229) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0G8E-00052L-Td for 14780@debbugs.gnu.org; Fri, 19 Jul 2013 15:14:24 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MQ700N006OQ3W00@a-mtaout20.012.net.il> for 14780@debbugs.gnu.org; Fri, 19 Jul 2013 22:14:16 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MQ700MV96RSY740@a-mtaout20.012.net.il>; Fri, 19 Jul 2013 22:14:16 +0300 (IDT) Date: Fri, 19 Jul 2013 22:14:28 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83fvvaz7jf.fsf@gnu.org> References: X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 19 Jul 2013 14:37:57 -0400 > From: Barry OReilly > > Git bisected the repo at Savannah to: > > 15cdf9527f5a78a5ea9aa0ba3fee8d7b84c3acf9 is the first bad commit > commit 15cdf9527f5a78a5ea9aa0ba3fee8d7b84c3acf9 > Author: Eli Zaretskii > Date: Mon Dec 3 22:48:12 2012 +0200 > > Fix bug #13055 with cursor positioning inside scroll-margin. > > src/xdisp.c (redisplay_window): If the cursor is visible, but inside > the scroll margin, move point outside the margin. I cannot reproduce the bug on my system. Unless I don't understand what you mean by "cannot reach the '-' character". I can reach every line in the buffer by using C-n, using your recipe (or what I understand of it). From unknown Tue Jun 24 20:54:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14780: Acknowledgement (Regression: C-n doesn't go to next line under simple circumstances) Resent-From: Barry OReilly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Jul 2013 19:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14780 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 14780@debbugs.gnu.org Received: via spool by 14780-submit@debbugs.gnu.org id=B14780.137426362725208 (code B ref 14780); Fri, 19 Jul 2013 19:54:01 +0000 Received: (at 14780) by debbugs.gnu.org; 19 Jul 2013 19:53:47 +0000 Received: from localhost ([127.0.0.1]:38064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0GkM-0006YU-2z for submit@debbugs.gnu.org; Fri, 19 Jul 2013 15:53:47 -0400 Received: from mail-oa0-f48.google.com ([209.85.219.48]:65021) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0GkH-0006Y2-7O for 14780@debbugs.gnu.org; Fri, 19 Jul 2013 15:53:42 -0400 Received: by mail-oa0-f48.google.com with SMTP id f4so6673441oah.35 for <14780@debbugs.gnu.org>; Fri, 19 Jul 2013 12:53:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=bqRDpMR8tHD/4xjN908JUDRwE2n53w05cYKiAvxh3Pw=; b=u6R/l2iyAcHJ6B8yPFSLg4bPeVTgZc3vT5wshDejYH6f/bmYOElR0nuqujF5Pp8jMC TuvW4/qhIG21BHNUWKSJz9RXjxWtZNLdlq5gMCXcBkpldpgsf88MMvR1hOdrZaTxzc43 +ywqZ146vrrQi55nITtq+NLiFlyfvLPxxg+M2/dI4PVpTHwdZwXWM1DLOhYucbtnH5h2 J8DialqZxh4vwnEc7gGtRt5gh0BwxSmdOKU0iITHEHwaZNqu+N+7IhaxbGHLylioMVLR gS6hFY91Dca6axu2Do4e/pu/VadSdvzI32+diSbFSZLLVYfznAtGSzqFcsR6qiJbk10b radg== MIME-Version: 1.0 X-Received: by 10.182.165.133 with SMTP id yy5mr13698216obb.89.1374263615447; Fri, 19 Jul 2013 12:53:35 -0700 (PDT) Received: by 10.76.122.79 with HTTP; Fri, 19 Jul 2013 12:53:35 -0700 (PDT) In-Reply-To: <83fvvaz7jf.fsf@gnu.org> References: <83fvvaz7jf.fsf@gnu.org> Date: Fri, 19 Jul 2013 15:53:35 -0400 Message-ID: From: Barry OReilly Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Use this /tmp/cant-next-line.el to automate a little more. (tool-bar-mode 0) (global-whitespace-mode 1) (set-face-attribute 'default nil :height 80) (setq scroll-margin 4) (setq scroll-conservatively 101) (add-hook 'emacs-startup-hook (lambda () (re-search-forward "here") (trace-redisplay) ;; Doesn't reproduce it, have to C-n manually ;; (run-at-time "1 sec" 1 (lambda () ;; (call-interactively 'next-line))) )) Reproduction won't happen if you: - resize the window - use M-x next-line instead of C-n - press and hold C-n - navigate in ways other than prescribed I can see it everytime I follow the recipe. Here is the trace-redisplay resulting from: ./src/emacs -r -Q --load /tmp/cant-next-line.el /tmp/cant-next-line.txt Then C-n 5 times redisplay_internal 0 0x110d9a0 (cant-next-line.txt): same window start 0x110d9a0 (cant-next-line.txt): 1 0x110d9a0 (cant-next-line.txt): same window start 0x110d9a0 (cant-next-line.txt): 1 redisplay_preserve_echo_area (8) redisplay_internal 0 redisplay_internal 0 0x110d9a0 (cant-next-line.txt): cursor movement 0x110d9a0 (cant-next-line.txt): try_scrolling redisplay_internal 0 0x110d9a0 (cant-next-line.txt): forced window start redisplay_preserve_echo_area (7) redisplay_internal 0 redisplay_internal 0 0x110d9a0 (cant-next-line.txt): forced window start redisplay_preserve_echo_area (7) redisplay_internal 0 redisplay_internal 0 0x110d9a0 (cant-next-line.txt): forced window start redisplay_preserve_echo_area (7) redisplay_internal 0 redisplay_internal 0 0x110d9a0 (cant-next-line.txt): forced window start redisplay_preserve_echo_area (7) redisplay_internal 0 redisplay_preserve_echo_area (8) redisplay_internal 0 redisplay_preserve_echo_area (8) redisplay_internal 0 From unknown Tue Jun 24 20:54:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14780: Regression: C-n doesn't go to next line under simple circumstances Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Jul 2013 20:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14780 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Barry OReilly Cc: 14780@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 14780-submit@debbugs.gnu.org id=B14780.137426584531131 (code B ref 14780); Fri, 19 Jul 2013 20:31:01 +0000 Received: (at 14780) by debbugs.gnu.org; 19 Jul 2013 20:30:45 +0000 Received: from localhost ([127.0.0.1]:38107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0HK8-000862-Ix for submit@debbugs.gnu.org; Fri, 19 Jul 2013 16:30:45 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:39656) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0HK5-00085f-Fy for 14780@debbugs.gnu.org; Fri, 19 Jul 2013 16:30:43 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MQ700I00A9CBE00@a-mtaout22.012.net.il> for 14780@debbugs.gnu.org; Fri, 19 Jul 2013 23:30:17 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MQ700IT7AAG8L20@a-mtaout22.012.net.il>; Fri, 19 Jul 2013 23:30:17 +0300 (IDT) Date: Fri, 19 Jul 2013 23:30:29 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83ehauz40q.fsf@gnu.org> References: <83fvvaz7jf.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 19 Jul 2013 15:53:35 -0400 > From: Barry OReilly > > Use this /tmp/cant-next-line.el to automate a little more. > > (tool-bar-mode 0) > (global-whitespace-mode 1) > (set-face-attribute 'default nil :height 80) > (setq scroll-margin 4) > (setq scroll-conservatively 101) > (add-hook 'emacs-startup-hook (lambda () > (re-search-forward "here") > (trace-redisplay) > ;; Doesn't reproduce it, have to C-n manually > ;; (run-at-time "1 sec" 1 (lambda () > ;; > (call-interactively 'next-line))) > )) > > Reproduction won't happen if you: > - resize the window > - use M-x next-line instead of C-n > - press and hold C-n > - navigate in ways other than prescribed > > I can see it everytime I follow the recipe. > > Here is the trace-redisplay resulting from: > ./src/emacs -r -Q --load /tmp/cant-next-line.el /tmp/cant-next-line.txt I get 'Search failed: "here"'. Are you using a recent trunk? I'm using today's trunk. > redisplay_internal 0 > 0x110d9a0 (cant-next-line.txt): same window start > 0x110d9a0 (cant-next-line.txt): 1 > 0x110d9a0 (cant-next-line.txt): same window start > 0x110d9a0 (cant-next-line.txt): 1 > redisplay_preserve_echo_area (8) > redisplay_internal 0 > redisplay_internal 0 > 0x110d9a0 (cant-next-line.txt): cursor movement > 0x110d9a0 (cant-next-line.txt): try_scrolling > redisplay_internal 0 > 0x110d9a0 (cant-next-line.txt): forced window start > redisplay_preserve_echo_area (7) > redisplay_internal 0 > redisplay_internal 0 > 0x110d9a0 (cant-next-line.txt): forced window start > redisplay_preserve_echo_area (7) > redisplay_internal 0 > redisplay_internal 0 > 0x110d9a0 (cant-next-line.txt): forced window start > redisplay_preserve_echo_area (7) > redisplay_internal 0 > redisplay_internal 0 > 0x110d9a0 (cant-next-line.txt): forced window start > redisplay_preserve_echo_area (7) > redisplay_internal 0 > redisplay_preserve_echo_area (8) > redisplay_internal 0 > redisplay_preserve_echo_area (8) > redisplay_internal 0 I see nothing extraordinary here. From unknown Tue Jun 24 20:54:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14780: Regression: C-n doesn't go to next line under simple circumstances Resent-From: Barry OReilly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Jul 2013 20:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14780 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 14780@debbugs.gnu.org Received: via spool by 14780-submit@debbugs.gnu.org id=B14780.137426626232274 (code B ref 14780); Fri, 19 Jul 2013 20:38:02 +0000 Received: (at 14780) by debbugs.gnu.org; 19 Jul 2013 20:37:42 +0000 Received: from localhost ([127.0.0.1]:38129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0HQq-0008OP-Vf for submit@debbugs.gnu.org; Fri, 19 Jul 2013 16:37:41 -0400 Received: from mail-ob0-f182.google.com ([209.85.214.182]:55245) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0HQn-0008No-0c for 14780@debbugs.gnu.org; Fri, 19 Jul 2013 16:37:37 -0400 Received: by mail-ob0-f182.google.com with SMTP id va7so5845240obc.41 for <14780@debbugs.gnu.org>; Fri, 19 Jul 2013 13:37:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=nu4u/1VlixM3Sbml7ETlh2iEby7TNaVN/CYm5De6qc4=; b=K6EF+qb5g3gf7M0dcTG66PWk/Z+xYB2zanacc68ClRuXOKzEThSX9i5Ohe/tp2pqIu 1CE6YIOA/oJDjdjcbn8krliJ3jexenhHEeE7tzVerocuQu2pSecPguAbLgCmXiWRPsaX IRFxoqJJPk2Ry3/O7sc/JFxBOJTOG11NyLI9T7rTEKwN/u+bR5MVXT2DOiTcB2k1WR+B 3Xu1AqvVbmz+/rUEtj+GDZitYAppA+22+buLNf7hswaFapu/Iu1ekSIrGflBIzGF8sCq pZ47a4TJODI6OjEwXcJGCgWPe3tzJabNXWNcgmHBf3Ev/xkmRGbgIqq8m8+8Ndx/UhDy FuuA== MIME-Version: 1.0 X-Received: by 10.182.107.198 with SMTP id he6mr8856036obb.74.1374266250997; Fri, 19 Jul 2013 13:37:30 -0700 (PDT) Received: by 10.76.122.79 with HTTP; Fri, 19 Jul 2013 13:37:30 -0700 (PDT) In-Reply-To: <83ehauz40q.fsf@gnu.org> References: <83fvvaz7jf.fsf@gnu.org> <83ehauz40q.fsf@gnu.org> Date: Fri, 19 Jul 2013 16:37:30 -0400 Message-ID: From: Barry OReilly Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > I get 'Search failed: "here"'. Are you using the cant-next-line.txt attached to the bug report? It clearly contains "here". > Are you using a recent trunk? I'm using today's trunk. I'm using: commit 3961bd5799169d6e24e151a8fc06d637c348eb93 Author: Paul Eggert Date: Fri Jul 19 11:09:23 2013 -0700 From unknown Tue Jun 24 20:54:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14780: Regression: C-n doesn't go to next line under simple circumstances Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Jul 2013 06:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14780 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Barry OReilly Cc: 14780@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 14780-submit@debbugs.gnu.org id=B14780.13743025234082 (code B ref 14780); Sat, 20 Jul 2013 06:43:01 +0000 Received: (at 14780) by debbugs.gnu.org; 20 Jul 2013 06:42:03 +0000 Received: from localhost ([127.0.0.1]:38874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0Qri-00013j-O6 for submit@debbugs.gnu.org; Sat, 20 Jul 2013 02:42:03 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:57818) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0Qrd-000130-JG for 14780@debbugs.gnu.org; Sat, 20 Jul 2013 02:41:59 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MQ8006002KSFH00@a-mtaout20.012.net.il> for 14780@debbugs.gnu.org; Sat, 20 Jul 2013 09:41:50 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MQ8006JN2LPC540@a-mtaout20.012.net.il>; Sat, 20 Jul 2013 09:41:50 +0300 (IDT) Date: Sat, 20 Jul 2013 09:42:03 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83a9lhzq9w.fsf@gnu.org> References: <83fvvaz7jf.fsf@gnu.org> <83ehauz40q.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 19 Jul 2013 16:37:30 -0400 > From: Barry OReilly > > > I get 'Search failed: "here"'. > > Are you using the cant-next-line.txt attached to the bug report? Yes. > It clearly contains "here". Maybe Emacs searches for it before it visits the file? > > Are you using a recent trunk? I'm using today's trunk. > > I'm using: > commit 3961bd5799169d6e24e151a8fc06d637c348eb93 > Author: Paul Eggert > Date: Fri Jul 19 11:09:23 2013 -0700 Strange. From unknown Tue Jun 24 20:54:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14780: Regression: C-n doesn't go to next line under simple circumstances Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Jul 2013 08:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14780 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: gundaetiapo@gmail.com Cc: 14780@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 14780-submit@debbugs.gnu.org id=B14780.137430918419311 (code B ref 14780); Sat, 20 Jul 2013 08:34:02 +0000 Received: (at 14780) by debbugs.gnu.org; 20 Jul 2013 08:33:04 +0000 Received: from localhost ([127.0.0.1]:39005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0Sb9-00051P-SL for submit@debbugs.gnu.org; Sat, 20 Jul 2013 04:33:04 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:64430) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0Sb7-00050X-8l for 14780@debbugs.gnu.org; Sat, 20 Jul 2013 04:33:02 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MQ8003007MC7000@a-mtaout21.012.net.il> for 14780@debbugs.gnu.org; Sat, 20 Jul 2013 11:32:54 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MQ8003857QT3A30@a-mtaout21.012.net.il>; Sat, 20 Jul 2013 11:32:54 +0300 (IDT) Date: Sat, 20 Jul 2013 11:33:07 +0300 From: Eli Zaretskii In-reply-to: <83a9lhzq9w.fsf@gnu.org> X-012-Sender: halo1@inter.net.il Message-id: <834nbpzl4s.fsf@gnu.org> References: <83fvvaz7jf.fsf@gnu.org> <83ehauz40q.fsf@gnu.org> <83a9lhzq9w.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Does the following fix the problem for you? === modified file 'src/xdisp.c' --- src/xdisp.c 2013-07-16 21:35:45 +0000 +++ src/xdisp.c 2013-07-20 08:21:36 +0000 @@ -15592,7 +15592,8 @@ redisplay_window (Lisp_Object window, in Move it back to a fully-visible line. */ new_vpos = window_box_height (w); } - else if (w->cursor.vpos >=0) + else if (w->cursor.vpos >=0 + && PT >= BEGV && PT < ZV) { /* Some people insist on not letting point enter the scroll margin, even though this part handles windows that didn't @@ -15619,7 +15620,16 @@ redisplay_window (Lisp_Object window, in if (header_line) window_height += CURRENT_HEADER_LINE_HEIGHT (w); if (w->cursor.y >= window_height - pixel_margin) - new_vpos = window_height - pixel_margin; + { + struct text_pos pos; + + SET_TEXT_POS (pos, PT, PT_BYTE); + start_display (&it, w, pos); + it.current_y = it.vpos = 0; + move_it_to (&it, ZV, -1, -1, -1, MOVE_TO_POS); + if (it.vpos > margin) + new_vpos = window_height - pixel_margin; + } } } From unknown Tue Jun 24 20:54:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14780: Regression: C-n doesn't go to next line under simple circumstances Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Jul 2013 09:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14780 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: gundaetiapo@gmail.com Cc: 14780@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 14780-submit@debbugs.gnu.org id=B14780.137431147526062 (code B ref 14780); Sat, 20 Jul 2013 09:12:01 +0000 Received: (at 14780) by debbugs.gnu.org; 20 Jul 2013 09:11:15 +0000 Received: from localhost ([127.0.0.1]:39016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0TC6-0006mH-UN for submit@debbugs.gnu.org; Sat, 20 Jul 2013 05:11:15 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:40815) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V0TC2-0006lx-TJ for 14780@debbugs.gnu.org; Sat, 20 Jul 2013 05:11:12 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MQ8002009AJRH00@a-mtaout23.012.net.il> for 14780@debbugs.gnu.org; Sat, 20 Jul 2013 12:09:18 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MQ8002ZT9FIR310@a-mtaout23.012.net.il>; Sat, 20 Jul 2013 12:09:18 +0300 (IDT) Date: Sat, 20 Jul 2013 12:09:32 +0300 From: Eli Zaretskii In-reply-to: <834nbpzl4s.fsf@gnu.org> X-012-Sender: halo1@inter.net.il Message-id: <8338r9zjg3.fsf@gnu.org> References: <83fvvaz7jf.fsf@gnu.org> <83ehauz40q.fsf@gnu.org> <83a9lhzq9w.fsf@gnu.org> <834nbpzl4s.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 20 Jul 2013 11:33:07 +0300 > From: Eli Zaretskii > Cc: 14780@debbugs.gnu.org > > Does the following fix the problem for you? Sorry, that change had a bug. Please try this instead: === modified file 'src/xdisp.c' --- src/xdisp.c 2013-07-16 21:35:45 +0000 +++ src/xdisp.c 2013-07-20 09:05:11 +0000 @@ -15608,10 +15608,11 @@ redisplay_window (Lisp_Object window, in the Y coordinate of the _next_ row, see the definition of MATRIX_ROW_BOTTOM_Y. */ if (w->cursor.vpos < margin + header_line) - new_vpos - = pixel_margin + (header_line - ? CURRENT_HEADER_LINE_HEIGHT (w) - : 0) + frame_line_height; + { + w->cursor.vpos = -1; + clear_glyph_matrix (w->desired_matrix); + goto try_to_scroll; + } else { int window_height = window_box_height (w); @@ -15619,7 +15620,11 @@ redisplay_window (Lisp_Object window, in if (header_line) window_height += CURRENT_HEADER_LINE_HEIGHT (w); if (w->cursor.y >= window_height - pixel_margin) - new_vpos = window_height - pixel_margin; + { + w->cursor.vpos = -1; + clear_glyph_matrix (w->desired_matrix); + goto try_to_scroll; + } } } From unknown Tue Jun 24 20:54:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14780: Regression: C-n doesn't go to next line under simple circumstances Resent-From: Barry OReilly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Jul 2013 20:38:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14780 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Cc: 14780@debbugs.gnu.org Received: via spool by 14780-submit@debbugs.gnu.org id=B14780.137452548026204 (code B ref 14780); Mon, 22 Jul 2013 20:38:03 +0000 Received: (at 14780) by debbugs.gnu.org; 22 Jul 2013 20:38:00 +0000 Received: from localhost ([127.0.0.1]:43393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V1Mrn-0006oa-Kq for submit@debbugs.gnu.org; Mon, 22 Jul 2013 16:37:59 -0400 Received: from mail-ob0-f173.google.com ([209.85.214.173]:40561) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V1Mrj-0006o8-Lp for 14780@debbugs.gnu.org; Mon, 22 Jul 2013 16:37:56 -0400 Received: by mail-ob0-f173.google.com with SMTP id er7so115684obc.4 for <14780@debbugs.gnu.org>; Mon, 22 Jul 2013 13:37:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=fX7NNNhtv7iNfyeuuFoNt6VRdRh6XSQwYz4TLkjGtCs=; b=l/UNY1+1BKk4b7aN1P+P1RjpyDkk4xQQmYFbYqvyil1EC9aPWJD1nfKIPr/ZCjN1YV er3d9tofRKLA+LojMl+WADmH8Jd9kZSCoqDr7t5XaPynuL6DdRzLKE4R3OYZdX1yoX5J veudphdmup/I+LwdUvxC4o51c4VgVmYzUAEGlLmQaxny83pOfT8okh7v0uZfJ317/SIl q5tnUM5oaW4RjsGpkMWMEElTBbt9k+rOVea7jYP6sTBE1/a/569XbTaU/oyub8tieFT0 9QHyJlbCPEi5Z0R4J6s3nsHyUS7sh+SUgYa48te15/vfSzhLKcYHNMi0YDIIP9Iii89S kIPw== MIME-Version: 1.0 X-Received: by 10.182.165.133 with SMTP id yy5mr22084739obb.89.1374525469915; Mon, 22 Jul 2013 13:37:49 -0700 (PDT) Received: by 10.76.122.79 with HTTP; Mon, 22 Jul 2013 13:37:49 -0700 (PDT) In-Reply-To: <8338r9zjg3.fsf@gnu.org> References: <83fvvaz7jf.fsf@gnu.org> <83ehauz40q.fsf@gnu.org> <83a9lhzq9w.fsf@gnu.org> <834nbpzl4s.fsf@gnu.org> <8338r9zjg3.fsf@gnu.org> Date: Mon, 22 Jul 2013 16:37:49 -0400 Message-ID: From: Barry OReilly Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) On Sat, Jul 20, 2013 at 5:09 AM, Eli Zaretskii wrote: > Sorry, that change had a bug. Please try this instead: That fixes the issue. Thanks. From unknown Tue Jun 24 20:54:13 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Barry OReilly Subject: bug#14780: closed (Re: bug#14780: Regression: C-n doesn't go to next line under simple circumstances) Message-ID: References: <837ggfx3i3.fsf@gnu.org> X-Gnu-PR-Message: they-closed 14780 X-Gnu-PR-Package: emacs Reply-To: 14780@debbugs.gnu.org Date: Wed, 24 Jul 2013 17:39:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1374687542-3406-1" This is a multi-part message in MIME format... ------------=_1374687542-3406-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #14780: Regression: C-n doesn't go to next line under simple circumstances which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 14780@debbugs.gnu.org. --=20 14780: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D14780 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1374687542-3406-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 14780-done) by debbugs.gnu.org; 24 Jul 2013 17:38:32 +0000 Received: from localhost ([127.0.0.1]:47411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V231D-0000rs-Kv for submit@debbugs.gnu.org; Wed, 24 Jul 2013 13:38:31 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:61343) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V231A-0000rN-Lv for 14780-done@debbugs.gnu.org; Wed, 24 Jul 2013 13:38:30 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MQG00B00BLHDO00@a-mtaout22.012.net.il> for 14780-done@debbugs.gnu.org; Wed, 24 Jul 2013 20:38:18 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MQG00A5VBNUWGA0@a-mtaout22.012.net.il>; Wed, 24 Jul 2013 20:38:18 +0300 (IDT) Date: Wed, 24 Jul 2013 20:38:12 +0300 From: Eli Zaretskii Subject: Re: bug#14780: Regression: C-n doesn't go to next line under simple circumstances In-reply-to: X-012-Sender: halo1@inter.net.il To: Barry OReilly Message-id: <837ggfx3i3.fsf@gnu.org> References: <83fvvaz7jf.fsf@gnu.org> <83ehauz40q.fsf@gnu.org> <83a9lhzq9w.fsf@gnu.org> <834nbpzl4s.fsf@gnu.org> <8338r9zjg3.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 14780-done Cc: 14780-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Mon, 22 Jul 2013 16:37:49 -0400 > From: Barry OReilly > Cc: 14780@debbugs.gnu.org > > On Sat, Jul 20, 2013 at 5:09 AM, Eli Zaretskii wrote: > > Sorry, that change had a bug. Please try this instead: > > That fixes the issue. Thanks. Thanks, committed as trunk revision 113532. ------------=_1374687542-3406-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 3 Jul 2013 16:03:32 +0000 Received: from localhost ([127.0.0.1]:55030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UuPWk-0002BM-Uc for submit@debbugs.gnu.org; Wed, 03 Jul 2013 12:03:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35073) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UuPWg-0002Az-SP for submit@debbugs.gnu.org; Wed, 03 Jul 2013 12:03:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuPWa-0002gV-C2 for submit@debbugs.gnu.org; Wed, 03 Jul 2013 12:03:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-99.2 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE, T_DKIM_INVALID, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35102) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuPWa-0002gO-8I for submit@debbugs.gnu.org; Wed, 03 Jul 2013 12:03:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuPWY-0002rf-HF for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2013 12:03:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuPWW-0002ed-Sz for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2013 12:03:18 -0400 Received: from mail-oa0-x231.google.com ([2607:f8b0:4003:c02::231]:40711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuPWW-0002eN-Ld for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2013 12:03:16 -0400 Received: by mail-oa0-f49.google.com with SMTP id n9so410203oag.22 for ; Wed, 03 Jul 2013 09:03:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Tymamq2ogRqP1/DOkYsnqBnPK/iOM+N0x2w3x6sUpSA=; b=eQ4+YZJsXbW6R+UmqCKBo51xjjQPv52CQtQUAUON5v5fg34zi50AKlnQGcDZNV7SRA uZbO6KzbtFu2uL6ikykyFlgMTYrbhSBBy6DDjEIXsxpdicZyWnURWTB4cfAIzRYpnfgx ruO6ndmSS8h88qbpAuBMhL65ZMKdwJHqucmnRz+G/WyNMl2jkx9iPHu23SLHGGbfq3vy XRG9JDxDMaeEeg9mOtHFlbh2WAGiocctP7UbQLFlk8e1V/zyt/CsBo3AUGQx4G+cxKm2 o0hCn6vzVOFWALn23BJjz+oYGd/04QJRsICBr9vb/mRJL/+8HLvVqG4ov+JGKbNMcpzU aPYg== MIME-Version: 1.0 X-Received: by 10.182.40.202 with SMTP id z10mr1364627obk.74.1372867395809; Wed, 03 Jul 2013 09:03:15 -0700 (PDT) Received: by 10.76.122.79 with HTTP; Wed, 3 Jul 2013 09:03:15 -0700 (PDT) Date: Wed, 3 Jul 2013 12:03:15 -0400 Message-ID: Subject: Regression: C-n doesn't go to next line under simple circumstances From: Barry OReilly To: bug-gnu-emacs@gnu.org Content-Type: multipart/mixed; boundary=001a11c32db673768604e09d99eb X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.3 (----) --001a11c32db673768604e09d99eb Content-Type: multipart/alternative; boundary=001a11c32db673768304e09d99e9 --001a11c32db673768304e09d99e9 Content-Type: text/plain; charset=ISO-8859-1 Let cant-next-line.el have file contents: (tool-bar-mode 0) (global-whitespace-mode 1) (set-face-attribute 'default nil :height 80) (setq scroll-margin 4) (setq scroll-conservatively 101) Open up the attached cant-next-line.txt by: emacs -Q --load cant-next-line.el cant-next-line.txt Move point to be immediately before the 'h' of "here". Try to reach the '-' character at the end of the file using C-n. You can't. If I move point to the beginning of line containing "here", then I can. I checked emacs-24.3 and could not reproduce this, so it is a regression. I witnessed this with latest trunk 68068a328a854998a0071f4714cbacdfed36fcc1 and for commit 20899d085afe62520113b5acbfe3dbba57823dc9 (Jun 5) which I use day to day (because the commit immediately following broke Evil in a critical way). --- In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4) of 2013-06-18 on psd15 Windowing system distributor `The X.Org Foundation', version 11.0.70101000 System Description: Red Hat Enterprise Linux Client release 5.4 (Tikanga) Configured using: `configure --prefix=/redacted/user/boreilly/sw/emacs-install-trunk-20899d085afe62520113b5acbfe3dbba57823dc9 --with-gif=no' Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Text Minor modes in effect: global-whitespace-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort nadvice gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils disp-table whitespace time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) --001a11c32db673768304e09d99e9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Let cant-next-line.el have file contents:

=A0 (tool-bar-mode 0)
= =A0 (global-whitespace-mode 1)
=A0 (set-face-attribute 'default nil = :height 80)
=A0 (setq scroll-margin 4)
=A0 (setq scroll-conservativel= y 101)

Open up the attached cant-next-line.txt by:

=A0 emacs -Q --load = cant-next-line.el cant-next-line.txt

Move point to be immediately be= fore the 'h' of "here". Try to reach the '-' char= acter at the end of the file using C-n. You can't. If I move point to t= he beginning of line containing "here", then I can.

I checked emacs-24.3 and could not reproduce this, so it is a regressio= n.

I witnessed this with latest trunk 68068a328a854998a0071f4714cbac= dfed36fcc1 and for commit 20899d085afe62520113b5acbfe3dbba57823dc9 (Jun 5) = which I use day to day (because the commit immediately following broke Evil= in a critical way).

---

In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Versi= on 2.10.4)
=A0of 2013-06-18 on psd15
Windowing system distributor `Th= e X.Org Foundation', version 11.0.70101000
System Description:=A0=A0= =A0 Red Hat Enterprise Linux Client release 5.4 (Tikanga)

Configured using:
=A0`configure
=A0--prefix=3D/redacted/user/bore= illy/sw/emacs-install-trunk-20899d085afe62520113b5acbfe3dbba57823dc9
=A0= --with-gif=3Dno'

Important settings:
=A0 value of $LANG: en_U= S.UTF-8
=A0 value of $XMODIFIERS: @im=3Dnone
=A0 locale-coding-system: utf-8-uni= x
=A0 default enable-multibyte-characters: t

Major mode: Text
=
Minor modes in effect:
=A0 global-whitespace-mode: t
=A0 tooltip-= mode: t
=A0 mouse-wheel-mode: t
=A0 menu-bar-mode: t
=A0 file-name-shadow-mod= e: t
=A0 global-font-lock-mode: t
=A0 font-lock-mode: t
=A0 blink-= cursor-mode: t
=A0 auto-composition-mode: t
=A0 auto-encryption-mode:= t
=A0 auto-compression-mode: t
=A0 line-number-mode: t
=A0 transient-mark-mode: t

Recent input:<= br>M-x r e p o r t <tab> <return>

Recent messages:
Fo= r information about GNU Emacs and the GNU system, type C-h C-a.

Load= -path shadows:
None found.

Features:
(shadow sort nadvice gnus-util mail-extr em= acsbug message format-spec
rfc822 mml easymenu mml-sec mm-decode mm-bodi= es mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail= rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils disp-table whitespace time-datetooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bardnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse
jit-loc= k font-lock syntax facemenu font-core frame cham georgian
utf-8-lang mis= c-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek= romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
mi= nibuffer loaddefs button faces cus-face macroexp files text-properties
o= verlay sha1 md5 base64 format env code-pages mule custom widget
hashtabl= e-print-readable backquote make-network-process dbusbind
dynamic-setting system-font-setting font-render-setting move-toolbar gtkx-toolkit x multi-tty emacs)

--001a11c32db673768304e09d99e9-- --001a11c32db673768604e09d99eb Content-Type: text/plain; charset=US-ASCII; name="cant-next-line.txt" Content-Disposition: attachment; filename="cant-next-line.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hioprdrw0 LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLQoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgogaGVyZQoKIAoKLQoK --001a11c32db673768604e09d99eb-- ------------=_1374687542-3406-1--