zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Sweth Chandramouli <svc@sweth.net>, zsh-users@sunsite.dk
Subject: Re: compctl -g not working
Date: Thu, 4 Oct 2001 04:23:05 +0000	[thread overview]
Message-ID: <1011004042305.ZM30162@candle.brasslantern.com> (raw)
In-Reply-To: <20011003142330.A16765@astaroth.sweth.net>

On Oct 3,  2:23pm, Sweth Chandramouli wrote:
} Subject: Re: compctl -g not working
}
} 
} On Wed, Oct 03, 2001 at 04:24:22PM +0000, Bart Schaefer wrote:
} > On Oct 3,  2:15am, Sweth Chandramouli wrote:
} > } kshglob               on
} > 
} > That's it right there.  `*(stuff)' means something different with kshglob.
} 
} 	.  Unsetting kshglob doesn't change the behaviour, either.

I apologize; it's not kshglob that's the problem, it's shglob.

SH_GLOB <K> <S>
     Disables the special meaning of `(', `|', `)' and '<' for globbing
     the result of parameter and command substitutions, and in some
     other places where the shell accepts patterns.  This option is
     set by default if zsh is invoked as sh or ksh.

One of the "some other places" is in compctl expressions.

} So now, in addition to my original question, I'm also wondering why
} I've been able to use the *(:qualifiers) syntax for so long given that
} I've had kshglob set.

Because you also have bare_glob_qual set, which I missed.  That takes
precedence over kshglob, so that *(stuff) at the -end- of a pattern is
still treated as a * followed by qualifiers.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


  reply	other threads:[~2001-10-04  4:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-03  2:53 Sweth Chandramouli
2001-10-03  3:16 ` Philippe Troin
2001-10-03  3:18   ` Sweth Chandramouli
2001-10-03  4:04     ` Bart Schaefer
2001-10-03  4:12       ` Sweth Chandramouli
2001-10-03  6:04         ` Bart Schaefer
2001-10-03  6:15           ` Sweth Chandramouli
2001-10-03 16:24             ` Bart Schaefer
2001-10-03 18:23               ` Sweth Chandramouli
2001-10-04  4:23                 ` Bart Schaefer [this message]
2001-10-04  4:43                   ` Sweth Chandramouli
2001-10-05 16:13                     ` Bart Schaefer
2001-10-05 16:23                       ` Zefram

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=1011004042305.ZM30162@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=svc@sweth.net \
    --cc=zsh-users@sunsite.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).