unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7020: 23.2.50; unwanted horizontal motion with C-n/C-p
       [not found] <BCB1D731-9871-4DC8-BA43-6A64317611D7@me.com>
@ 2010-09-12 13:01 ` David Reitter
  2010-09-12 19:12   ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: David Reitter @ 2010-09-12 13:01 UTC (permalink / raw)
  To: 7020

Package:emacs

Begin forwarded message:

> From: Matt Crawford <m.crawford@me.com>
> Date: September 1, 2010 6:05:50 PM EDT
> To: aquamacs-bugs@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@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@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)






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#7020: 23.2.50; unwanted horizontal motion with C-n/C-p
  2010-09-12 13:01 ` bug#7020: 23.2.50; unwanted horizontal motion with C-n/C-p David Reitter
@ 2010-09-12 19:12   ` Glenn Morris
  2010-09-12 19:17     ` David Reitter
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2010-09-12 19:12 UTC (permalink / raw)
  To: David Reitter; +Cc: 7020


Does your forwarding of this indicate that this problem occurs in
stock Emacs started with -Q on a Mac?

I cannot reproduce this on GNU/Linux, but given the following
comment...

> This problem disappears when running
>   ./My\ Applications/Aquamacs.app/Contents/MacOS/Aquamacs -Q

...I'm not sure I should expect to.

>> Steps to reproduce:
>> * Start Aquamacs (without customizations the initial buffer is in text mode)

For example, the initial buffer in Emacs is not in text mode.

>> 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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#7020: 23.2.50; unwanted horizontal motion with C-n/C-p
  2010-09-12 19:12   ` Glenn Morris
@ 2010-09-12 19:17     ` David Reitter
  0 siblings, 0 replies; 3+ messages in thread
From: David Reitter @ 2010-09-12 19:17 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 7020-done

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.)







^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-09-12 19:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <BCB1D731-9871-4DC8-BA43-6A64317611D7@me.com>
2010-09-12 13:01 ` bug#7020: 23.2.50; unwanted horizontal motion with C-n/C-p David Reitter
2010-09-12 19:12   ` Glenn Morris
2010-09-12 19:17     ` David Reitter

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).