unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* redisplay probs
@ 2002-07-19  0:59 Miles Bader
  2002-07-20  1:12 ` Tak Ota
  0 siblings, 1 reply; 3+ messages in thread
From: Miles Bader @ 2002-07-19  0:59 UTC (permalink / raw)


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'

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

* Re: redisplay probs
  2002-07-19  0:59 redisplay probs Miles Bader
@ 2002-07-20  1:12 ` Tak Ota
  2002-07-21 20:15   ` Richard Stallman
  0 siblings, 1 reply; 3+ messages in thread
From: Tak Ota @ 2002-07-20  1:12 UTC (permalink / raw)
  Cc: emacs-pretest-bug, emacs-devel

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

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

* Re: redisplay probs
  2002-07-20  1:12 ` Tak Ota
@ 2002-07-21 20:15   ` Richard Stallman
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2002-07-21 20:15 UTC (permalink / raw)
  Cc: miles, miles, emacs-pretest-bug, emacs-devel

I figured out the right fix for that problem.  Thanks.

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

end of thread, other threads:[~2002-07-21 20:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-19  0:59 redisplay probs Miles Bader
2002-07-20  1:12 ` Tak Ota
2002-07-21 20:15   ` Richard Stallman

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).