zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: Sven Wischnowsky <wischnow@berkom.de>, zsh-workers@sunsite.dk
Subject: Re: Glitch in optimized menu-selection display
Date: Tue, 4 Jun 2002 14:28:53 +0000	[thread overview]
Message-ID: <1020604142853.ZM2297@candle.brasslantern.com> (raw)
In-Reply-To: <15612.30140.846841.485740@wischnow.berkom.de>

On Jun 4, 10:09am, Sven Wischnowsky wrote:
}
} Bart Schaefer wrote:
} 
} > It's very difficult to explain how to reproduce this, but occasionally
} > when I accept a choice in menu selection and the display is erased, the
} > word that I selected is "left behind", no longer highlighted but still
} > visible somewhere in the middle of the white space where the selection
} > display had been.
} 
} Err... `display erased' when you `accept a choice'? It shouldn't get
} erased on an accept-line. And it doesn't get for me. Hence I couldn't
} reproduce this.

OK, I managed to reproduce it:

---------------------------------------------------------------------------
schaefer<501> ls /usr/src/local/zsh/zsh-4.0/Src/c
---------------------------------------------------------------------------

Cursor is over the final 'c' when I press TAB:

---------------------------------------------------------------------------
schaefer<501> ls /usr/src/local/zsh/zsh-4.0/Src/c
Completing files
exec.c       math.c       params.c     prompt.c     options.c    watch.c    
jobs.c       init.c       hist.c       input.c      linklist.c   string.c   
signals.c    glob.c       builtin.c    pattern.c    hashtable.c  modentry.c 
lex.c        cond.c       parse.c      text.c       module.c     mem.c      
utils.c      subst.c      loop.c       compat.c     zsh.rc       main.c     
---------------------------------------------------------------------------

(I have zstyle ':completion:*' file-sort modification)

Press TAB nine times (this many may not be necessary) so that `cond.c' is
highlighted.  Then press accept-line:

---------------------------------------------------------------------------
schaefer<501> ls /usr/src/local/zsh/zsh-4.0/Src/cond.c 




             cond.c       

---------------------------------------------------------------------------

(Cursor is now at the end of the command line after `cond.c '.

Potentially relevant styles:

zstyle ':completion:*' menu 'yes=long' 'select=9'  
zstyle ':completion:*' completer \
	_oldlist _expand _complete _match _ignored _approximate _prefix
zstyle ':completion:*' group-name ''
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' matcher-list '' 'r:|[-._,]=** r:|=**' \
	'm:{a-zA-Z}={A-Za-z} r:|[-._,]=** r:|=**' 'r:|[-._,]=** r:|=** l:|=*'
zstyle ':completion:*' max-errors 2 numeric
zstyle ':completion:*' original true 
zstyle ':completion:*' format 'Completing %d'


-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


  reply	other threads:[~2002-06-04 14:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-02 16:43 Bart Schaefer
2002-06-04  8:09 ` Sven Wischnowsky
2002-06-04 14:28   ` Bart Schaefer [this message]
2002-06-05  7:40     ` Sven Wischnowsky

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=1020604142853.ZM2297@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=wischnow@berkom.de \
    --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).