From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry OReilly Newsgroups: gmane.emacs.bugs Subject: bug#14780: Regression: C-n doesn't go to next line under simple circumstances Date: Wed, 3 Jul 2013 12:03:15 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a11c32db673768604e09d99eb X-Trace: ger.gmane.org 1372867452 28952 80.91.229.3 (3 Jul 2013 16:04:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Jul 2013 16:04:12 +0000 (UTC) To: 14780@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 03 18:04:13 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 1UuPXQ-0003ST-5e for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Jul 2013 18:04:12 +0200 Original-Received: from localhost ([::1]:35813 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuPXP-0002ui-Gg for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Jul 2013 12:04:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuPXJ-0002uR-TW for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2013 12:04:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuPXH-0002tr-HQ for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2013 12:04:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuPXH-0002t4-D3 for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2013 12:04:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UuPXG-0002CT-Bg for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2013 12:04:02 -0400 X-Loop: help-debbugs@gnu.org 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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13728674128397 (code B ref -1); Wed, 03 Jul 2013 16:04:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Jul 2013 16:03:32 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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== X-Received: by 10.182.40.202 with SMTP id z10mr1364627obk.74.1372867395809; Wed, 03 Jul 2013 09:03:15 -0700 (PDT) Original-Received: by 10.76.122.79 with HTTP; Wed, 3 Jul 2013 09:03:15 -0700 (PDT) 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-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:75854 Archived-At: --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--