zsh-workers
 help / color / mirror / code / Atom feed
From: DervishD <zsh@dervishd.net>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Zsh Workers <zsh-workers@sunsite.dk>
Subject: Re: PATCH? - Re: Bug? in complist when filenames are longer than the screen
Date: Tue, 4 Oct 2005 11:48:56 +0200	[thread overview]
Message-ID: <20051004094856.GA19101@DervishD> (raw)
In-Reply-To: <1051004043950.ZM30570@candle.brasslantern.com>

    Hi Bart :)

    First of all, thanks for your patches :)

 * Bart Schaefer <schaefer@brasslantern.com> dixit:
> } I don't really know what the problem is
> I still don't know what the problem is, but I have a reproducible
> infinite loop.  Use a PS1 string at least 10 characters long, and
> make the window narrower than 12 characters, so that the first
> completion filled in on the command line by menu-completion is
> forced to wrap to the next line of the screen.  Then begin doing
> menu completion with listing.  When the completion reaches the end
> of the list and wraps back to the first entry, zsh goes into an
> infinite loop attempting to compute the *line* on which to begin
> redrawing.

    The first patch (the "defensive" patch) does not help here, it
has no effect at least in the way I'm reproducing the problem
(exactly with the code snippet I posted yesterday in the list, using
zsh -f).

    BUT the second patch certainly prevents the infinite loop.
Unfortunately it doesn't avoid the crash nor the screen messup.
I cannot reproduce the crash, unfortunately :(( It happens randomly
after the screen messup, sometimes after the first keypress after the
menu completion ends, other times after playing with the keyboard for
a while :(

    I'm gonna try your third patch and I'll answer about it in that
thread.

    Thanks a lot for being trying to solve my problem.

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736 | http://www.dervishd.net
http://www.pleyades.net & http://www.gotesdelluna.net
It's my PC and I'll cry if I want to...


  reply	other threads:[~2005-10-04  9:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-03 14:45 DervishD
2005-10-03 17:45 ` Andrey Borzenkov
2005-10-03 18:48   ` DervishD
2005-10-04  2:07     ` Bart Schaefer
2005-10-04  4:39       ` PATCH? - " Bart Schaefer
2005-10-04  9:48         ` DervishD [this message]
2005-10-04 10:38           ` Peter Stephenson
2005-10-04 10:47             ` DervishD
2005-10-04 11:19               ` Peter Stephenson
2005-10-04 11:31                 ` DervishD
2005-10-04 14:32             ` Bart Schaefer
2005-10-04 14:09           ` Bart Schaefer
2005-10-04 16:37             ` DervishD
2005-10-04 16:11 ` Bart Schaefer
2005-10-04 17:13   ` DervishD
2005-10-04 19:24     ` Andrey Borzenkov
2005-10-04 20:41       ` DervishD
2005-10-06 16:01       ` Bart Schaefer
2005-10-06 16:31         ` DervishD

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=20051004094856.GA19101@DervishD \
    --to=zsh@dervishd.net \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-workers@sunsite.dk \
    /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.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).