From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Redisplay bug in latest CVS [FIXED] Date: 23 May 2002 23:57:35 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <5xwutuv86o.fsf@kfs2.cua.dk> References: <20020514094317.9E0F17C016@mail.filanet.dk> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1022187458 7082 127.0.0.1 (23 May 2002 20:57:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 23 May 2002 20:57:38 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17AzeU-0001q7-00 for ; Thu, 23 May 2002 22:57:38 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17Azu3-0005Mz-00 for ; Thu, 23 May 2002 23:13:43 +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 17AzeL-0007JV-00; Thu, 23 May 2002 16:57:29 -0400 Original-Received: from mail.filanet.dk ([195.215.206.179]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 17Azdk-0007Fg-00 for ; Thu, 23 May 2002 16:56:53 -0400 Original-Received: from kfs2.cua.dk.cua.dk (unknown [10.1.82.3]) by mail.filanet.dk (Postfix) with SMTP id 774897C016 for ; Thu, 23 May 2002 20:56:51 +0000 (GMT) Original-To: emacs-devel@gnu.org In-Reply-To: <20020514094317.9E0F17C016@mail.filanet.dk> Original-Lines: 50 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 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:4306 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4306 "Kim F. Storm" writes: > 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'. > I have committed a fix for this problem (to xterm.c). I suspect that the fix should be merged to w32term.c and macterm.c, but I haven't got any indications of whether the problem exists on those platforms. -- Kim F. Storm http://www.cua.dk