GNU bug report logs - #7020
23.2.50; unwanted horizontal motion with C-n/C-p

Previous Next

Package: emacs;

Reported by: David Reitter <david.reitter <at> gmail.com>

Date: Sun, 12 Sep 2010 12:59:02 UTC

Severity: normal

Found in version 23.2.50

Done: David Reitter <david.reitter <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: David Reitter <david.reitter <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#7020: closed (23.2.50; unwanted horizontal motion with C-n/C-p)
Date: Sun, 12 Sep 2010 19:15:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 12 Sep 2010 15:17:37 -0400
with message-id <271A8CFE-38A8-461D-AFDE-5770B254511B <at> gmail.com>
and subject line Re: bug#7020: 23.2.50; unwanted horizontal motion with C-n/C-p
has caused the GNU bug report #7020,
regarding 23.2.50; unwanted horizontal motion with C-n/C-p
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
7020: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7020
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: David Reitter <david.reitter <at> gmail.com>
To: Bug-Gnu-Emacs <bug-gnu-emacs <at> gnu.org>
Subject: 23.2.50; unwanted horizontal motion with C-n/C-p
Date: Sun, 12 Sep 2010 09:01:26 -0400
Package:emacs

Begin forwarded message:

> From: Matt Crawford <m.crawford <at> me.com>
> Date: September 1, 2010 6:05:50 PM EDT
> To: aquamacs-bugs <at> aquamacs.org
> Subject: [Aquamacs-bugs] 23.2.50; unwanted horizontal motion with C-n/C-p
> Reply-To: Bug reports for Aquamacs Emacs <aquamacs-bugs <at> aquamacs.org>
> 
> 
> Please write in English if possible, because the Emacs maintainers
> usually do not have translators to read other languages for them.
> 
> Your bug report will be posted to the aquamacs-bugs <at> aquamacs.org mailing list,
> and may appear in other public locations.
> 
> Please describe exactly what actions triggered the bug
> and the precise symptoms of the bug.  If you can, give
> a recipe starting with an Aquamacs without customization
> for which see the Help / Diagnose and Report Bug menu:
> 
> The first use of up- or down-arrow key after doing some other command causes cursor to move left by one character. Consecutive up/down arrows do not cause further horizontal motion. C-n and C-p act the same as their corresponding arrow keys.
> 
> This problem is unchanged when starting Aquamacs "without customizations."
> 
> This problem disappears when running
>   ./My\ Applications/Aquamacs.app/Contents/MacOS/Aquamacs -Q
> 
> Steps to reproduce:
> * Start Aquamacs (without customizations the initial buffer is in text mode)
> * create a buffer with two lines of text
> * use mouse to put cursor in middle of second line
> * press up-arrow key; see cursor move one line up and one character left:
> 
> The output of C-h l is ...
> 
> A B C D E F <return> A B C D E F <down-mouse-1> <mouse-1>
> <up> <menu-bar> <help-menu> <bug-diagnosis> <send-emacs-bug-report>
> <down-mouse-1> <mouse-1> 
> 
> 
> In GNU Emacs 23.2.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
> of 2010-08-18 on braeburn.aquamacs.org - Aquamacs Distribution 2.1
> Windowing system distributor `Apple', version 10.3.1038
> configured using `configure  '--with-ns' '--without-x' 'CC=gcc' 'CFLAGS=-O3 -fno-tree-pre -falign-loops -arch i386' 'LDFLAGS=-O3 -fno-tree-pre -falign-loops -arch i386''
> 
> Important settings:
>  value of $LC_ALL: nil
>  value of $LC_COLLATE: nil
>  value of $LC_CTYPE: nil
>  value of $LC_MESSAGES: nil
>  value of $LC_MONETARY: nil
>  value of $LC_NUMERIC: nil
>  value of $LC_TIME: nil
>  value of $LANG: nil
>  value of $XMODIFIERS: nil
>  locale-coding-system: nil
>  default enable-multibyte-characters: t
> 
> Major mode: Text
> 
> Minor modes in effect:
>  savehist-mode: t
>  smart-frame-positioning-mode: t
>  aquamacs-autoface-mode: t
>  recentf-mode: t
>  osx-key-mode: t
>  tabbar-mwheel-mode: t
>  tabbar-mode: t
>  show-paren-mode: t
>  delete-selection-mode: t
>  pc-selection-mode: t
>  cua-mode: t
>  tooltip-mode: t
>  mouse-wheel-mode: t
>  tool-bar-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-encryption-mode: t
>  auto-compression-mode: t
>  smart-spacing-mode: t
>  column-number-mode: t
>  line-number-mode: t
>  visual-line-mode: t
>  transient-mark-mode: t
> 
> Recent input:
> A B C D E F <return> A B C D E F <down-mouse-1> <mouse-1> 
> <up> <menu-bar> <help-menu> <bug-diagnosis> <send-
> emacs-bug-report>
> 
> Recent messages:
> Cleaning up the recentf list...done (5 removed)
> 31 environment variables imported from login shell (/bin/bash).
> Loading /Users/crawdad/My Applications/Aquamacs.app/Contents/Resources/lisp/aquamacs/edit-modes/auctex.el (source)...done
> Loading /Users/crawdad/My Applications/Aquamacs.app/Contents/Resources/lisp/aquamacs/edit-modes/haskell-mode/haskell-site-file.el (source)...done
> one-buffer-one-frame-mode disabled.
> Mark set [26 times]
> Defining fontset: lucida13
> Defining fontset: monaco11
> Mark set [6 times]
> Aquamacs is based on GNU Emacs, a part of the GNU/Linux system. It is Free Software: you can improve and redistribute it under the GNU General Public License, version 3 or later. Copyright (C) 2010 Free Software Foundation, Inc. (C) 2010 D. Reitter. No Warranty.
> 
> Load-path shadows:
> None found.
> 
> Features:
> (shadow sort mail-extr message ecomplete rfc822 mml mml-sec
> password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
> rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
> mm-util mail-prsvr gmm-utils mailheader canlock sha1 hex-util hashcash
> mail-utils emacsbug aquamacs-mode-defaults auctex-config server
> preview-latex tex-site auto-loads smart-dnd aquamacs-aux savehist
> mouse-sel one-buffer-one-frame smart-frame-positioning drews_init
> color-theme-autoloads saveplace visual-line aquamacs-bug
> aquamacs-autoface-mode aquamacs-editing sendmail recentf tree-widget
> cus-edit osxkeys emulate-mac-keyboard-mode frame-cmds strings misc-fns
> thingatpt+ thingatpt frame-fns avoid aquamacs-mac-fontsets fit-frame
> aquamacs-frame-setup aquamacs-tabbar tabbar-window cl cl-19 tabbar
> easy-mmode warnings cus-start cus-load aquamacs-site-start filladapt
> aquamacs-redo check-for-updates aquamacs-menu osx_defaults
> aquamacs-tool-bar aquamacs mac-extra-functions aquamacs-tools
> aquamacs-macros parse-time timezone time-date paren delsel pc-select
> cua-base wid-edit regexp-opt advice advice-preload byte-opt bytecomp
> byte-compile debug help-fns help-mode view image-file disp-table tooltip
> ediff-hook vc-hooks lisp-float-type mwheel ns-win easymenu tool-bar dnd
> fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer
> select scroll-bar mldrag 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 loaddefs button minibuffer faces
> cus-face files text-properties overlay md5 base64 format env code-pages
> mule custom widget hashtable-print-readable backquote
> make-network-process ns multi-tty emacs)
> 
> Command line: (/Users/crawdad/My Applications/Aquamacs.app/Contents/MacOS/Aquamacs)
> 
> PATH: /Users/crawdad/My Applications/Graphviz.app/Contents/MacOS:/opt/local/bin:/usr/local/sbin:/Users/crawdad/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/texbin:/Library/OpenAFS/tools/bin:/Users/crawdad/bin:/Users/crawdad/My Applications/Graphviz.app/Contents/MacOS:/opt/local/bin:/usr/local/sbin:/Users/crawdad/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/texbin:/Library/OpenAFS/tools/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/texbin:/usr/local/texlive/2007/bin:/usr/texbin:/usr/local/texlive/2007/bin
> 
> exec-path: (/Users/crawdad/My Applications/Graphviz.app/Contents/MacOS /opt/local/bin /usr/local/sbin /Users/crawdad/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/texbin /Library/OpenAFS/tools/bin /Users/crawdad/bin /Users/crawdad/My Applications/Graphviz.app/Contents/MacOS /opt/local/bin /usr/local/sbin /Users/crawdad/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/texbin /Library/OpenAFS/tools/bin /usr/bin /bin /usr/sbin /sbin /usr/texbin /usr/local/texlive/2007/bin /Users/crawdad/My Applications/Aquamacs.app/Contents/MacOS/bin)



[Message part 3 (message/rfc822, inline)]
From: David Reitter <david.reitter <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 7020-done <at> debbugs.gnu.org
Subject: Re: bug#7020: 23.2.50; unwanted horizontal motion with C-n/C-p
Date: Sun, 12 Sep 2010 15:17:37 -0400
On Sep 12, 2010, at 3:12 PM, Glenn Morris wrote:
> Does your forwarding of this indicate that this problem occurs in
> stock Emacs started with -Q on a Mac?

It probably would, if you recreated the right configuration of fonts, with different fonts for the frame and the buffer (face-remapping-alist), whereas the character width would have to be different between the fonts.

I fixed the bug in the 23 branch about an hour ago, so I'm closing this.  (I just wanted to create a paper trail for the fix, in case somebody else runs into similar problems.)




This bug report was last modified 14 years and 334 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.