From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24650 invoked by alias); 22 Mar 2017 03:35:25 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 22599 Received: (qmail 29220 invoked from network); 22 Mar 2017 03:35:25 -0000 X-Qmail-Scanner-Diagnostics: from ambassador.madduck.net by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(188.174.253.166):SA:0(-2.3/5.0):. Processed in 2.962944 secs); 22 Mar 2017 03:35:25 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: madduck@fishbowl.rw.madduck.net X-Qmail-Scanner-Mime-Attachments: |digital_signature_gpg.asc| X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at fishbowl.rw.madduck.net does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madduck.net; s=2015-11-14; t=1490153776; bh=udJRQhWl+y629sGwOy1t58pc8bamh//zaDZMvsy8YBU=; h=Date:From:To:Subject:References:In-Reply-To:From; b=jeFHZikATSl155av0Rpd680IKsjLxMuzSgrswPAQhjZynsbkAZMQGNwjJn+Zt65rB Et9lepgiT+Fex5VGVai9an9PqsssWv/2JSOUrOd3KzhCMR992HJYyhWPnuGTIoEZr+ nkLyvBGc9QCDV5oZq//Jp5AnOmTaeQZLSdmTFKBc= X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.99.2 at ambassador.madduck.net Date: Wed, 22 Mar 2017 16:35:04 +1300 From: martin f krafft To: zsh-users@zsh.org Subject: Re: Making file-patterns and tag-order work Message-ID: <20170322033504.nodq5vk34ehtwa44@fishbowl.rw.madduck.net> Mail-Followup-To: zsh-users@zsh.org References: <20170321094917.3aopmzwkpaam7kgl@fishbowl.rw.madduck.net> <170321181534.ZM1895@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wv5nah4mdthviy5r" Content-Disposition: inline In-Reply-To: <170321181534.ZM1895@torch.brasslantern.com> X-Motto: Keep the good times rollin' X-OS: Debian GNU/Linux 9.0 kernel 4.9.0-2-amd64 x86_64 X-Spamtrap: madduck.bogus@madduck.net X-Subliminal-Message: debian/rules! User-Agent: NeoMutt/20170113 (1.7.2) --wv5nah4mdthviy5r Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable also sprach Bart Schaefer [2017-03-22 14:15 +13= 00]: > } zstyle ':completion:*:argument*' tag-order " > } directories > } globbed-files files all-files > } backup-files > } compiled-files > } temp-files > } vim-swap-files > } " >=20 > This is wrong. If you combine tags into a single string, they > will all be sorted together. tag-order is a list -- try without > the double quotes around the value (which means you'll need > backslashes at the end of each line, or similar). I also tried that. It makes absolutely no difference, actually. Apart from that, tag-order actually takes "sets of space-separated lists" and I read Peter's description in the Zsh Guide: If you put the tags into the same word by quoting, for example "local-directories path-directories", then they would be tried at the same time, which in this case gives you the effect of the default. to be exactly what I want, i.e. if the completion can be done from the set of directories or files already, then I *still* want it to offer me the other tags, and this is why I think I need to put all the tags into the same set by quoting. If I didn't do this, then the remaining sets of tags would simply not be considered. But again, it actually makes no difference whether I use a single quoted string of all tags, or each tag separately. I think the problem is elsewhere=E2=80=A6 --=20 @martinkrafft | http://madduck.net/ | http://two.sentenc.es/ =20 "nicht durch zorn, sondern durch lachen t=C3=B6tet man." - friedrich nietzsche =20 spamtraps: madduck.bogus@madduck.net --wv5nah4mdthviy5r Content-Type: application/pgp-signature; name="digital_signature_gpg.asc" Content-Description: Digital GPG signature (see http://martin-kraf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