From: storm@cua.dk (Kim F. Storm)
Cc: Jim Blandy <jimb@red-bean.com>
Subject: Re: [jimb@red-bean.com: Redisplay bug in 21.2.90.1]
Date: 14 Jun 2002 01:14:28 +0200 [thread overview]
Message-ID: <5x3cvqixez.fsf@kfs2.cua.dk> (raw)
In-Reply-To: <20020611073034.889577C016@mail.filanet.dk>
I tracked this down to a bug in `insert' which doesn't
adjust END_UNCHANGED in case the insert happens in the
unchanged region. This happens if require-final-newline
it t (e.g. in c-mode) when doing save-buffer.
I just committed a fix on HEAD.
I guess it isn't serious enough to include on RC branch...?
++kfs
"Kim F. Storm" <storm@cua.dk> writes:
> ------- Start of forwarded message -------
>
> This bug is also present in 21.1 and CVS.
> I'll take a look at it.
>
> ++kfs
>
> To: emacs-pretesters@gnu.org
> Subject: Redisplay bug in 21.2.90.1
> From: Jim Blandy <jimb@red-bean.com>
> Date: 10 Jun 2002 19:23:46 -0500
>
>
> I've found a bug in redisplay in Emacs 21.2.90.1, running under Red
> Hat Linux 7.2 on an i686-pc-linux-gnu, compiled with gcc (GCC) 3.2
> 20020506 (experimental).
>
> Put the following text in the file bar.c:
>
> - ---- cut below
> #include <stdio.h>
> #include <pthread.h>
>
> int
> main (int argc, char **argv)
> - ---- cut above
>
> Now start emacs under X Windows: emacs -geometry 80x40 -q
>
> Type the following commands (ignore the <help-echo>; this is `C-h l'
> output):
>
> <help-echo> C-x C-f b a r . c <return> M-> { <return>
> } C-p <help-echo> <return> <tab> r e t u r n SPC 0
> ; C-a C-x C-s
>
> The window showing bar.c will now display:
>
> - ---- cut below
> #include <stdio.h>
> #include <pthread.h>
>
> int
> main (int argc, char **argv)
> {
> return 0;
> }
> }
> - ---- cut above
>
> Note the extra closing curly brace there. But if you hit C-l, it goes
> away.
>
>
> _______________________________________________
> Emacs-devel mailing list
> Emacs-devel@gnu.org
> http://mail.gnu.org/mailman/listinfo/emacs-devel
>
>
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
next prev parent reply other threads:[~2002-06-13 23:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-11 7:30 [jimb@red-bean.com: Redisplay bug in 21.2.90.1] Kim F. Storm
2002-06-13 23:14 ` Kim F. Storm [this message]
2002-06-14 1:06 ` Jim Blandy
2002-06-14 15:47 ` Richard Stallman
2002-06-14 22:54 ` Kim F. Storm
2002-06-15 21:47 ` Richard Stallman
2002-06-17 22:35 ` Kim F. Storm
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=5x3cvqixez.fsf@kfs2.cua.dk \
--to=storm@cua.dk \
--cc=jimb@red-bean.com \
/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.