unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Vinicius Jose Latorre <viniciusjl@ig.com.br>
To: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
Cc: emacs-pretest-bug@gnu.org, rms@gnu.org
Subject: Re: 23.0.50; Display bug with vline.el and viper
Date: Wed, 23 Jan 2008 16:49:13 -0300	[thread overview]
Message-ID: <47979A39.9010005@ig.com.br> (raw)
In-Reply-To: <47976BD0.30401@gmail.com>


>>     Try to insert:
>>
>>     (redisplay t)
>>
>>     At the end of vline-show function.
>>
>> If this is something magic, perhaps we need to document in the Lisp
>> manual the need for this.  Can someone propose a patch to the manual?
>
> Maybe it is magic, but then the magic is not strong enough for this 
> display bug. But maybe something like that function should be called 
> internally for certain cases? Here it seems like wrapped lines are 
> involved.

I've just tested vline.el with the fix above, and it works.

Probably Lennart inserted (redisplay t) inside the last while.

The problem is the following:

1. there are long lines (lines which go beyond window width) and one 
long line is at end of window (one part of the line is in the current 
window and the rest of line is in the next window);

2. when a scroll occurs (via next-line, for example), the vline-show is 
called during window scroll process;

3. vline-show changes the display while the display is being changed by 
window scroll, this gives some kind of conflict that (redisplay t) seems 
to fix.

Maybe the explanation is not so precise, but I hope it helps.

  reply	other threads:[~2008-01-23 19:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-21 10:30 23.0.50; Display bug with vline.el and viper Lennart Borgman (gmail)
2008-01-22 22:30 ` Richard Stallman
2008-01-22 23:02   ` Drew Adams
2008-01-22 23:24   ` Lennart Borgman (gmail)
2008-01-23  0:45     ` Vinicius Jose Latorre
2008-01-23  0:13       ` Lennart Borgman (gmail)
2008-01-23  0:17         ` Lennart Borgman (gmail)
2008-01-23 16:20       ` Richard Stallman
2008-01-23 16:31         ` Lennart Borgman (gmail)
2008-01-23 19:49           ` Vinicius Jose Latorre [this message]
2008-01-23 19:06             ` Lennart Borgman (gmail)
2008-01-23 23:07               ` Vinicius Jose Latorre
2008-01-23 22:37                 ` Lennart Borgman (gmail)
2008-01-24  0:48                   ` Vinicius Jose Latorre
2008-02-01 15:31 ` Lennart Borgman (gmail)
2008-02-27 23:18 ` Lennart Borgman (gmail)

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=47979A39.9010005@ig.com.br \
    --to=viniciusjl@ig.com.br \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=lennart.borgman@gmail.com \
    --cc=rms@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).