From: Zefram <zefram@dcs.warwick.ac.uk>
To: zsh-workers@math.gatech.edu (Z Shell workers mailing list)
Subject: menu completion cleanup
Date: Sat, 11 Jan 1997 22:14:30 +0000 (GMT) [thread overview]
Message-ID: <23703.199701112214@stone.dcs.warwick.ac.uk> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
My recent patch for removable suffixes makes invalidatelist() reset
lastambig. This means that the test of lastcmd when starting menu
completion with AUTO_MENU is no longer necessary.
-zefram
*** Src/Zle/zle_tricky.c 1997/01/11 17:59:12 1.10
--- Src/Zle/zle_tricky.c 1997/01/11 19:45:02
***************
*** 508,516 ****
/* Check if we have to start a menu-completion (via automenu). */
! if ((amenu = (isset(AUTOMENU) &&
! (lastcmd & ZLE_MENUCMP) &&
! lastambig)))
usemenu = 1;
/* Expand history references before starting completion. If anything *
--- 508,514 ----
/* Check if we have to start a menu-completion (via automenu). */
! if ((amenu = (isset(AUTOMENU) && lastambig)))
usemenu = 1;
/* Expand history references before starting completion. If anything *
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBMtfvbHD/+HJTpU/hAQFfggQAqBaWvQQ/X3qU6er/1MLpk0tlYVqOJ3Mn
pkMwgGv6a/GV2o7jjLFGCiFwMA0hujjKuW1z9X0qLe2km7EI8Fk18TO1vlGtOul9
NyAr3a572cJApzIOjNzY/R0Q6WZ0OJX+SRpAD1hzuWXgPt2nMUfBDkfGydWOlo6s
Eitk1PRbnJY=
=+zKq
-----END PGP SIGNATURE-----
reply other threads:[~1997-01-11 22:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=23703.199701112214@stone.dcs.warwick.ac.uk \
--to=zefram@dcs.warwick.ac.uk \
--cc=zsh-workers@math.gatech.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.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).