From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#2329: 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 Message-ID: Reply-To: Eli Zaretskii , 2329@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1234609493 1863 80.91.229.12 (14 Feb 2009 11:04:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Feb 2009 11:04:53 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 14 12:06:08 2009 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.50) id 1LYIKV-0000kS-KD for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Feb 2009 12:05:10 +0100 Original-Received: from localhost ([127.0.0.1]:49211 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LYIJB-0000A2-PA for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Feb 2009 06:03:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LYIJ7-00009t-PK for bug-gnu-emacs@gnu.org; Sat, 14 Feb 2009 06:03:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LYIJ7-00009f-2w for bug-gnu-emacs@gnu.org; Sat, 14 Feb 2009 06:03:37 -0500 Original-Received: from [199.232.76.173] (port=55462 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LYIJ6-00009c-UU for bug-gnu-emacs@gnu.org; Sat, 14 Feb 2009 06:03:36 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34252) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LYIJ6-0004OX-4W for bug-gnu-emacs@gnu.org; Sat, 14 Feb 2009 06:03:36 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1EB3YBZ013665; Sat, 14 Feb 2009 03:03:34 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1EAo39o009620; Sat, 14 Feb 2009 02:50:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 14 Feb 2009 10:50:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2329 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12346083399187 (code B ref -1); Sat, 14 Feb 2009 10:50:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 14 Feb 2009 10:45:39 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1EAjZij009181 for ; Sat, 14 Feb 2009 02:45:37 -0800 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LYHzh-00066c-Fh for emacs-pretest-bug@gnu.org; Sat, 14 Feb 2009 05:43:33 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 14 Feb 2009 06:03:37 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:25308 gmane.emacs.pretest.bugs:23911 Archived-At: 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.