unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tak Ota <Takaaki.Ota@am.sony.com>
Cc: emacs-pretest-bug@gnu.org, emacs-devel@gnu.org
Subject: Re: redisplay probs
Date: Fri, 19 Jul 2002 18:12:08 -0700 (PDT)	[thread overview]
Message-ID: <20020719.181208.60851981.Takaaki.Ota@am.sony.com> (raw)
In-Reply-To: <buo4rewpm6l.fsf@mcspd15.ucom.lsi.nec.co.jp>

The following patch fixed at least the problem you reported however it
is quite useless since I still have other redisplay problems that I
cannot precisely characterize their conditions.  One thing seems to be
sure that if buffer_unchanged_p is set to 0 permanently all the
problem disappears.  Does buffer_unchanged_p worth introduction?

-Tak


*** ../../pure/emacs-21.3.50/src/xdisp.c	Fri Jul 19 07:15:41 2002
--- xdisp.c	Fri Jul 19 17:20:50 2002
***************
*** 10369,10375 ****
       not moved off the frame.  */
    if (buffer_unchanged_p
        && (rc = try_cursor_movement (window, startp, &temp_scroll_step),
! 	  rc != CURSOR_MOVEMENT_CANNOT_BE_USED))
      {
        switch (rc)
  	{
--- 10369,10376 ----
       not moved off the frame.  */
    if (buffer_unchanged_p
        && (rc = try_cursor_movement (window, startp, &temp_scroll_step),
! 	  rc != CURSOR_MOVEMENT_CANNOT_BE_USED)
!       && (XFASTINT (w->column_number_displayed) == (int) current_column ()))
      {
        switch (rc)
  	{


19 Jul 2002 09:59:30 +0900: Miles Bader <miles@lsi.nec.co.jp> wrote:

> Redisplay seems screwed up, such that it often fails to update the
> screen when it should.  I noticed this happening since yesterday
> (2002-07-18), and it persists after today's CVS update.
> 
> Example:
> 
>     Horizontal scrolling should redisplay to reflect the scrolling, but
>     doesn't:
> 
>        Make a long line, e.g., by `C-u 200 x', and then turn on
>        truncate-lines with `C-u 1 M-x toggle-truncate-lines RET';
>        You are at the end of the long-line, so the screen is now
>        scrolled horizontally to show the end.
> 
>        Move to the beginning of the line with `C-a', which should
>        horizontally scroll to the left margin -- and notice that
>        the screen doesn't change, the cursor just disappears.
> 
>        You can fix it with C-l.
> 
> -Miles
> -- 
> `Life is a boundless sea of bitterness'
> 
> _______________________________________________
> Emacs-devel mailing list
> Emacs-devel@gnu.org
> http://mail.gnu.org/mailman/listinfo/emacs-devel

  reply	other threads:[~2002-07-20  1:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-19  0:59 redisplay probs Miles Bader
2002-07-20  1:12 ` Tak Ota [this message]
2002-07-21 20:15   ` Richard Stallman

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20020719.181208.60851981.Takaaki.Ota@am.sony.com \
    --to=takaaki.ota@am.sony.com \
    --cc=emacs-devel@gnu.org \
    --cc=emacs-pretest-bug@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).