all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: [storm@cua.dk: Redisplay bug in latest CVS]
Date: Wed, 15 May 2002 01:01:28 -0600 (MDT)	[thread overview]
Message-ID: <200205150701.g4F71Sw16246@aztec.santafe.edu> (raw)

If nobody else fixes this, can you please help?

------- Start of forwarded message -------
From: "Kim F. Storm" <storm@cua.dk>
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  <storm@cua.dk>      http://www.cua.dk


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
------- End of forwarded message -------

             reply	other threads:[~2002-05-15  7:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-15  7:01 Richard Stallman [this message]
2002-05-15 13:50 ` [storm@cua.dk: Redisplay bug in latest CVS] Gerd Moellmann
2002-05-15 14:03   ` Miles Bader
2002-05-15 15:11     ` Gerd Moellmann
2002-05-15 15:29       ` Miles Bader
2002-05-15 15:56         ` Gerd Moellmann
2002-05-15 16:24   ` Eli Zaretskii
2002-05-15 18:24     ` Gerd Moellmann
2002-05-15 21:49       ` Thien-Thi Nguyen
2002-05-16 20:24   ` Richard Stallman
2002-05-16 21:47     ` Gerd Moellmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200205150701.g4F71Sw16246@aztec.santafe.edu \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.