zsh-workers
 help / color / mirror / code / Atom feed
From: Mark Borges <mdb@cdc.noaa.gov>
To: "alain (a.) caron" <alainc@nortel.ca>
Cc: zsh-workers@math.gatech.edu
Subject: Re: Programmable completion bug in beta18
Date: 22 May 1996 13:30:40 -0600	[thread overview]
Message-ID: <vkk9y4wlnj.fsf@cdc.noaa.gov> (raw)
In-Reply-To: schaefer@z-code.ncd.com's message of Wed, 22 May 1996 11:47:55 -0700

>> On Wed, 22 May 1996 11:47:55 -0700,
>> Barton E Schaefer(BES) wrote:
BES> On May 22,  8:08pm, Zoltan Hidvegi wrote:
BES> } Subject: Re: Programmable completion bug in beta18
BES> }
BES> } > compctl -g '*(D-/)' cd
BES> } > {jagor}[0][~/hrv/zsh-2.6-beta18]$ cd [^D]
BES> } > 
BES> } > ^D gives no output. TAB refuses to menu-complete. Shortly, it doesn't work.
BES> } 
BES> } You need to set extended_glob for that.

BES> For what, specifically?

extendedglob seems to be involved in the behaviour alain found as well:

>> On Tue, 21 May 1996 16:31:00 -0400 ,
>> a (ac) wrote:
ac> I think I have found a bug in release 2.6-beta17 with regards to
ac> compctl.

ac> I have the following line in my .zshrc

ac> # rm Emacs backup and autosave files first
ac> compctl -g "*\~(D) \#*\#(D)" + -f rm
ac> FIGNORE=".o:~"
[...]
ac> With zsh 2.5.03, it works as expected, but not with 2.6-beta17.  For
ac> example. with both files .zshrc and .zshrc~

ac> rm .zs<TAB>
ac> expands to
ac> "rm .zshrc\~"   (with 2.5.03) and to
ac> "rm .zshrc"     (with 2.6-beta17)

as well:

  $ ~/bin/sunos-5.5/zsh -f
  % ls -a
  .    ..   .z   .z~  a    a~
  % compctl -g "*~(D) #*#(D)" + -f rm
  % rm a<TAB>        # doesn't complete
  % setopt extendedglob
  % rm a\~ .z\~      # completes
  % ls -a
  .   ..  .z  a
  %

-- 
  -mb-



  parent reply	other threads:[~1996-05-22 19:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-22 17:28 Hrvoje Niksic
1996-05-22 18:08 ` Zoltan Hidvegi
1996-05-22 18:47   ` Barton E. Schaefer
1996-05-22 19:26     ` Zoltan Hidvegi
1996-05-22 19:36       ` Hrvoje Niksic
1996-05-22 19:46         ` Zoltan Hidvegi
1996-05-22 19:30     ` Mark Borges [this message]
1996-05-22 19:53       ` Zoltan Hidvegi

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=vkk9y4wlnj.fsf@cdc.noaa.gov \
    --to=mdb@cdc.noaa.gov \
    --cc=alainc@nortel.ca \
    --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).