all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: James Battat <jbattat@MIT.EDU>
To: 6875@debbugs.gnu.org
Subject: bug#6875: Strange behaviour when moving cursor between lines
Date: Tue, 17 Aug 2010 17:19:20 -0400	[thread overview]
Message-ID: <1B1185B5-6179-457B-B8BB-3F4D0A7B2F96@mit.edu> (raw)

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







             reply	other threads:[~2010-08-17 21:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-17 21:19 James Battat [this message]
2010-08-18  2:47 ` bug#6875: Strange behaviour when moving cursor between lines Glenn Morris
2010-08-18  3:02 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1B1185B5-6179-457B-B8BB-3F4D0A7B2F96@mit.edu \
    --to=jbattat@mit.edu \
    --cc=6875@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.