zsh-workers
 help / color / mirror / code / Atom feed
* recexact in 3.1.6
@ 1999-09-01  0:18 Will Day
  1999-09-01  9:55 ` Sven Wischnowsky
  0 siblings, 1 reply; 4+ messages in thread
From: Will Day @ 1999-09-01  0:18 UTC (permalink / raw)
  To: zsh workers mailing list

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-09-01 18:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-01  0:18 recexact in 3.1.6 Will Day
1999-09-01  9:55 ` Sven Wischnowsky
1999-09-01 15:54   ` Bart Schaefer
1999-09-01 18:09   ` Will Day

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).