zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: collist v2.0
Date: Tue, 22 Jun 1999 11:56:28 +0200 (MET DST)	[thread overview]
Message-ID: <199906220956.LAA24677@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Peter Stephenson's message of Tue, 22 Jun 1999 11:04:35 +0200


Peter Stephenson wrote:

> - go somewhere with too many files
> - type `echo <menu-select key>'  (without the quotes, of course)
> - answer n to the message
> - the first menucompletion match is inserted; hit TAB to go to the next

Forgot to clear showinglist...

Btw.: If you start with menu-select you can't `continue'
menu-completion with a different widget. That's caused by the test at
zle_tricky.c:809 that was changed when we were working on _oldlist.

However, you can continue menu-completion by repeatedly invoking
menu-select (it degenerates into normal menu-completion when it
doesn't get its list).

Bye
 Sven

diff -u os/Zle/collist.c Src/Zle/collist.c
--- os/Zle/collist.c	Tue Jun 22 11:51:28 1999
+++ Src/Zle/collist.c	Tue Jun 22 11:52:03 1999
@@ -292,9 +292,10 @@
     int mc, ml = 0, cc, hasm = 0;
     struct listcols col;
 
-    if (minfo.asked == 2)
+    if (minfo.asked == 2) {
+	showinglist = 0;
 	return (noselect = 1);
-
+    }
     getcols(&col);
 
     /* Set the cursor below the prompt. */

--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


             reply	other threads:[~1999-06-22  9:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-22  9:56 Sven Wischnowsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-06-23  8:43 Sven Wischnowsky
1999-06-23  8:59 ` Andrej Borsenkow
1999-06-22 12:36 Sven Wischnowsky
1999-06-22 10:35 Sven Wischnowsky
1999-06-22  8:49 Sven Wischnowsky
1999-06-22  8:25 Sven Wischnowsky
1999-06-22  8:51 ` Peter Stephenson
1999-06-22 17:06   ` Bart Schaefer
1999-06-22  9:04 ` Peter Stephenson
1999-06-22 11:52 ` Andrej Borsenkow

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=199906220956.LAA24677@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.auc.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).