all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Redisplay bug in latest CVS
@ 2002-05-14  9:43 Kim F. Storm
  2002-05-16 20:15 ` [FOUND CAUSE] " Kim F. Storm
  2002-05-23 21:57 ` Redisplay bug in latest CVS [FIXED] Kim F. Storm
  0 siblings, 2 replies; 4+ messages in thread
From: Kim F. Storm @ 2002-05-14  9:43 UTC (permalink / raw)



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  <storm@cua.dk>      http://www.cua.dk

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

end of thread, other threads:[~2002-05-23 21:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-14  9:43 Redisplay bug in latest CVS Kim F. Storm
2002-05-16 20:15 ` [FOUND CAUSE] " Kim F. Storm
2002-05-17 14:05   ` Gerd Moellmann
2002-05-23 21:57 ` Redisplay bug in latest CVS [FIXED] Kim F. Storm

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.