unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@is.elta.co.il>
Cc: teirllm@dms.auburn.edu, deego@glue.umd.edu, emacs-devel@gnu.org
Subject: Re: Redisplay bug
Date: Mon, 26 Aug 2002 08:04:00 +0300 (IDT)	[thread overview]
Message-ID: <Pine.SUN.3.91.1020826080101.23834C-100000@is> (raw)
In-Reply-To: <5xy9auwn44.fsf@kfs2.cua.dk>


On 26 Aug 2002, Kim F. Storm wrote:

> >     But now the redisplay again has a habit of leaving the cursor on
> >     partially visible lines at the top or bottom of the window (which
> >     I believe is what Richard tried to fix).  
> > 
> > Of course.  Reverting that part of the change shows you found the
> > right place, but it is not the right fix.
> > 
> > Can you show me which change it was?
> 
> Here is the change I made.  Only one line of code with a large comment
> on why I changed this.  Hope it is enough for you to work on.

I think when point enters a partially visible line, redisplay should 
behave as if that line were invisible, i.e. scroll the display (by 
default, by half the window height) to bring the point's line into the 
visible area.  If such a change in behavior is not something that 
requires to rewrite large parts of the display code, I'd suggest to make 
it so.

  reply	other threads:[~2002-08-26  5:04 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-18 21:14 Redisplay bug Andreas Schwab
2002-08-18 21:19 ` D. Goel
2002-08-18 21:45   ` Luc Teirlinck
2002-08-18 21:52     ` Andreas Schwab
2002-08-18 22:09       ` Andreas Schwab
2002-08-18 23:40       ` Kim F. Storm
2002-08-19 18:39         ` Richard Stallman
2002-08-20  0:07           ` Kim F. Storm
2002-08-22 19:10             ` Kim F. Storm
2002-08-22 21:21               ` Lute Kamstra
2002-08-22 23:17                 ` Kim F. Storm
2002-08-24 12:11               ` Richard Stallman
2002-08-25 23:10                 ` Kim F. Storm
2002-08-26  5:04                   ` Eli Zaretskii [this message]
2002-08-26 21:51                     ` Richard Stallman
2002-08-31 16:58                   ` Richard Stallman
2002-09-02  6:24                     ` Juanma Barranquero
2002-09-02  6:40                       ` Miles Bader
2002-09-02  7:06                         ` Juanma Barranquero
2002-08-18 22:49 ` Simon Josefsson

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=Pine.SUN.3.91.1020826080101.23834C-100000@is \
    --to=eliz@is.elta.co.il \
    --cc=deego@glue.umd.edu \
    --cc=emacs-devel@gnu.org \
    --cc=teirllm@dms.auburn.edu \
    /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).