GNU bug report logs - #2329
23.0.90; C-p misbehaves near end of visual line when display tables are used

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Sat, 14 Feb 2009 10:50:03 UTC

Severity: normal

Merged with 2244

Done: Xue Fuqiao <xfq.free <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2329 in the body.
You can then email your comments to 2329 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2329; Package emacs. (Sat, 14 Feb 2009 10:50:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Eli Zaretskii <eliz <at> gnu.org>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 14 Feb 2009 10:50:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.90; C-p misbehaves near end of visual line when display tables are used
Date: Sat, 14 Feb 2009 05:43:33 -0500
To reproduce:

 emacs -Q -nw
 M-x load-library RET latin1-disp RET
 M-: (latin1-display-setup 'cyrillic) RET
 C-h H

Now go to the line that begins with "Unicode charset:", and type C-f
until the cursor is on the last brace `{' before the line continuation
glyph `\'.  If your text-mode terminal is 80-column wide, that would
be the beginning of the glyph string used to display the 4th character
from the end of that line.

Now type C-p: the cursor does not move to the previous line, as
expected.

latin1-disp sets up a desiplay table to display some non-ASCII
characters as strings of ASCII characters.  I'm guessing that the new
visual-line movement feature misbehaves when the last character on a
visual line uses display tables to be displayed.


In GNU Emacs 23.0.90.7 (x86_64-unknown-linux-gnu, X toolkit)
 of 2009-02-14 on fencepost
configured using `configure  '--with-jpeg=no' '--with-png=no' '--with-gif=no' '--with-tiff=no''

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

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  view-mode: t

Recent input:
ESC [ > 0 ; 1 3 6 ; 0 c C-x C-f ~ / . e m a TAB RET 
ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC 
O B ESC O B ESC O B ESC O B C-x b RET ESC x l o a d 
- l i b TAB RET ESC O D ESC O C C-g ESC x ESC O A RET 
l a t i n 1 - d TAB RET ESC O D ESC O C C-g ESC x ESC 
O A RET ESC O A RET ( l a t i n 1 - d i s p l a y - 
s e t u p SPC ' c y r i l l i c ) C-j C-h H C-u C-n 
C-u C-n C-u C-n C-n C-n ESC O C ESC O C C-u C-u C-f 
C-u C-u C-f C-u C-u C-f C-u C-u C-f ESC O D ESC O D 
ESC O D ESC O D ESC O C ESC O A ESC O A ESC O A ESC 
O A ESC O A ESC O A ESC O D ESC O A ESC O B ESC O C 
ESC O C ESC O A ESC O B ESC O A ESC O B ESC O D ESC 
O A ESC O A ESC O A ESC O A ESC x r e p o r t - e m 
a c TAB RET

Recent messages:
("./src/emacs" "-Q")
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading vc-cvs...done
Quit
Loading latin1-disp...done
Quit
Loading latin1-disp...done
View mode: type C-h for help, h for commands, q to quit.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2329; Package emacs. (Sat, 14 Feb 2009 21:55:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 14 Feb 2009 21:55:05 GMT) Full text and rfc822 format available.

Message #10 received at 2329 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 2329 <at> debbugs.gnu.org
Subject: Re: bug#2329: 23.0.90; C-p misbehaves near end of visual line when display tables are used
Date: Sat, 14 Feb 2009 16:49:21 -0500
forcemerge 2329 2244
thanks

> latin1-disp sets up a desiplay table to display some non-ASCII
> characters as strings of ASCII characters.  I'm guessing that the new
> visual-line movement feature misbehaves when the last character on a
> visual line uses display tables to be displayed.

Looks like the same problem as the one that affects longlines-mode.


        Stefan




Forcibly Merged 2244 2329. Request was from Stefan Monnier <monnier <at> iro.umontreal.ca> to control <at> emacsbugs.donarmstrong.com. (Sat, 14 Feb 2009 21:55:06 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 24 Nov 2015 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 211 days ago.

Previous Next


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