From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [storm@cua.dk: Redisplay bug in latest CVS] Date: Wed, 15 May 2002 01:01:28 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200205150701.g4F71Sw16246@aztec.santafe.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1021446243 30026 127.0.0.1 (15 May 2002 07:04:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 15 May 2002 07:04:03 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 177spO-0007oB-00 for ; Wed, 15 May 2002 09:04:02 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 177t0n-0004Vk-00 for ; Wed, 15 May 2002 09:15:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 177spZ-0006Ua-00; Wed, 15 May 2002 03:04:13 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 177smv-0006IT-00; Wed, 15 May 2002 03:01:29 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g4F71Sk19147; Wed, 15 May 2002 01:01:28 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g4F71Sw16246; Wed, 15 May 2002 01:01:28 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: gerd@gnu.org Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3957 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3957 If nobody else fixes this, can you please help? ------- Start of forwarded message ------- From: "Kim F. Storm" To: emacs-devel@gnu.org Subject: Redisplay bug in latest CVS Sender: emacs-devel-admin@gnu.org Date: Tue, 14 May 2002 09:43:17 +0000 (GMT) This is with latest CVS emacs on GNU/Linux 2.4 (redhat 7.2) with Xfree 4.(something) running under X: Save this file in x.c: - ------------------------------------------------- f() { switch (a) { case 1: break; case 1: break; } } - ------------------------------------------------ [Notice that the "break;" lines are indented by two TABs]. Start emacs -q and do C-x C-f x.c RET Now move the cursor _below_ the space in "case 1:", ie. case 1: X break; here....^ Hit TAB. The screen now looks like (cursor is on the `b'): case 1: br ak; ?.......^ Doing C-l brings back the missing `e'. My guess is that if the cursor was on a TAB, the position occupied by that TAB will be left blank after redisplay. To see this, indent the "break;" by "TAB SPACE TAB" and put the cursor on the SPACE and press TAB => correct redisplay. .. but there must be more to it than that. I don't have time to investigate this further right now. - -- Kim F. Storm http://www.cua.dk _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel ------- End of forwarded message -------