From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: James Battat Newsgroups: gmane.emacs.bugs Subject: bug#6875: Strange behaviour when moving cursor between lines Date: Tue, 17 Aug 2010 17:19:20 -0400 Message-ID: <1B1185B5-6179-457B-B8BB-3F4D0A7B2F96@mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1282082430 11298 80.91.229.12 (17 Aug 2010 22:00:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 17 Aug 2010 22:00:30 +0000 (UTC) To: 6875@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 18 00:00:27 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OlUCl-00019F-KD for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Aug 2010 00:00:23 +0200 Original-Received: from localhost ([127.0.0.1]:59632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OlTyV-0004d7-F8 for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Aug 2010 17:45:39 -0400 Original-Received: from [140.186.70.92] (port=58820 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OlTs0-0003MV-7I for bug-gnu-emacs@gnu.org; Tue, 17 Aug 2010 17:38:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OlTry-0002be-CQ for bug-gnu-emacs@gnu.org; Tue, 17 Aug 2010 17:38:56 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34220) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OlTry-0002bO-AE for bug-gnu-emacs@gnu.org; Tue, 17 Aug 2010 17:38:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OlTaf-0001j5-Vi; Tue, 17 Aug 2010 17:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: James Battat Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Aug 2010 21:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6875 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.12820800246621 (code B ref -1); Tue, 17 Aug 2010 21:21:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Aug 2010 21:20:24 +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 1OlTa3-0001ik-M3 for submit@debbugs.gnu.org; Tue, 17 Aug 2010 17:20:24 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OlTYB-0001ha-Af for submit@debbugs.gnu.org; Tue, 17 Aug 2010 17:18:28 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:57979) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OlTZC-0005ru-1I for submit@debbugs.gnu.org; Tue, 17 Aug 2010 17:19:30 -0400 Original-Received: from [140.186.70.92] (port=53936 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OlTZA-0000MN-IX for bug-gnu-emacs@gnu.org; Tue, 17 Aug 2010 17:19:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OlTZ9-0000W8-CK for bug-gnu-emacs@gnu.org; Tue, 17 Aug 2010 17:19:28 -0400 Original-Received: from dmz-mailsec-scanner-4.mit.edu ([18.9.25.15]:46636) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OlTZ9-0000W0-Am for bug-gnu-emacs@gnu.org; Tue, 17 Aug 2010 17:19:27 -0400 X-AuditID: 1209190f-b7b0aae000000a7d-70-4c6afce2996e Original-Received: from mailhub-auth-3.mit.edu (MAILHUB-AUTH-3.MIT.EDU [18.9.21.43]) by dmz-mailsec-scanner-4.mit.edu (Symantec Brightmail Gateway) with SMTP id BD.D0.02685.2ECFA6C4; Tue, 17 Aug 2010 17:19:30 -0400 (EDT) Original-Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id o7HLJQQs006328 for ; Tue, 17 Aug 2010 17:19:26 -0400 Original-Received: from [10.77.0.215] ([18.4.2.1]) (authenticated bits=0) (User authenticated as jbattat@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id o7HLJPvO014151 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Tue, 17 Aug 2010 17:19:26 -0400 (EDT) X-Mailer: Apple Mail (2.1081) X-Brightmail-Tracker: AAAAARWWM9w= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Tue, 17 Aug 2010 17:20:22 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 17 Aug 2010 17:21:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Tue, 17 Aug 2010 17:45:31 -0400 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:39587 Archived-At: Hi, I am a longtime user of emacs on linux platforms. I recently installed = emacs23 on my macbook pro (fink install emacs23) and see unexpected = behaviour when moving the cursor forward one line via CTRL-n. I'm not = sure if this is a bug, but at a minimum, CTRL-n does a different thing = on a linux GNU Emacs 21.4.1 install than on my mac installation. On my mac, when I open a file in emacs and navigate to the next line = using CTRL-n, the cursor does not go to the next line of text, instead, = it goes to the next row of text as displayed on the screen. For lines = of text that do not wrap, there is no difference between these two = behaviours, but for wrapped lines, there is. For example, if a single line of text has wrapped on the screen, and my = cursor is currently at the first character of the line, then CTRL-n = takes me to the first displayed character on the second row of the same = line of text (the first wrapped row), but not to the next line as = specified by a newline character. While this may seem rather minor, it wreaks havoc when using rectangle = cut and insert (CTRL-r k and CTRL-r y). Is this a selectable setting? A bug? A known difference between emacs = 21 and emacs 23? Something else? I see the same symptom whether I start emacs in a new X window (emacs = file.txt &) or within the terminal window (emacs -nw file.txt). Details of emacs on my macbook pro: GNU Emacs 23.1.1 = (i386-apple-darwin10.4.0, GTK+ Version 2.16.6 of 2010-07-23 Details of emacs on linux machine: GNU Emacs 21.4.1 = (i686-redhad-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-01-04 on = norob.fnal.gov Thank you, James