From: Will Day <willday@rom.oit.gatech.edu>
To: zsh workers mailing list <zsh-workers@sunsite.auc.dk>
Subject: recexact in 3.1.6
Date: Tue, 31 Aug 1999 20:18:56 -0400 [thread overview]
Message-ID: <19990831201855.A25968@rom.oit.gatech.edu> (raw)
[-- Attachment #1: Type: text/plain, Size: 1620 bytes --]
Option "recexact" doesn't seem to work quite right for me under 3.1.6, or
at least not as well as it did under 3.1.5:
Under 3.1.5:
% /usr/local/bin/zsh-3.1.5 -f
% setopt recexact menucomplete noautolist noautomenu
% touch note note.old
% ls
note note.old
% vi note<TAB>
-> % vi note # (where # indicates cursor position)
Under 3.1.6:
% /usr/local/bin/zsh-3.1.6 -f
% setopt recexact menucomplete noautolist noautomenu
% touch note note.old
% ls
note note.old
% vi note<TAB>
(beep)
-> % vi note#
Besides a beep when I didn't expect one, it tends to make me think that I
mis-typed something, because it's the same behavior as if I were trying to
complete a non-existant file:
% ls
% vi badfile<TAB>
(beep)
-> % vi badfile#
At least now I finally know why zsh has been beeping at me so much
recently. :) Looking over Src/Zle/zle_tricky., I can see where
do_ambiguous() handles REC_EXACT, but after substituting all the
variables, it appears to handle it only if:
isset(RECEXACT) && unset(MENUCOMPLETE)
whereas before it appeared to be if:
isset(RECEXACT) && (unset(MENUCOMPLETE) || unset(AUTOMENU))
--
Will Day <PGP mail preferred> OIT / O&E / Technical Support
willday@rom.oit.gatech.edu Georgia Tech, Atlanta 30332-0715
-> Opinions expressed are mine alone and do not reflect OIT policy <-
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
Benjamin Franklin, Pennsylvania Assembly, Nov. 11, 1755
[-- Attachment #2: Type: application/pgp-signature, Size: 344 bytes --]
next reply other threads:[~1999-09-01 0:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-09-01 0:18 Will Day [this message]
1999-09-01 9:55 ` Sven Wischnowsky
1999-09-01 15:54 ` Bart Schaefer
1999-09-01 18:09 ` Will Day
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=19990831201855.A25968@rom.oit.gatech.edu \
--to=willday@rom.oit.gatech.edu \
--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).