From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3118 invoked by alias); 14 Mar 2017 19:06:43 -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: 22566 Received: (qmail 4828 invoked from network); 14 Mar 2017 19:06:43 -0000 X-Qmail-Scanner-Diagnostics: from mail-vk0-f50.google.com 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(209.85.213.50):SA:0(0.5/5.0):. Processed in 1.513385 secs); 14 Mar 2017 19:06:43 -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=0.5 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_SORBS_SPAM,SPF_PASS, T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.213.50 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=2tVBgVQr41vYTR3/p7uK31wPMebCF86tqpq1DavcR3o=; b=gMLnlHaaWm3KRxq0l9clFIKMF2qnv4zNwnQ7FJChEB099txdlWfb8Ey4XTrTjYxlW5 jr2l6iLzvrc3qdJ0MoTgIkjRlREo6wpaCQbZcW7C6L0pM2NsUKokwAKTdaSsrfmLRiBH OJ6c5jCzIzYxMtkRkY6z7l0TeJtdZ3fG7O6nzu7RWiHZi80zueJliEt/0UU7BUadQpe/ Lcp7n2aVzIpPu9S4JyofSEE6UuywyMN0aZeLDRYVoQ2ZFQl0pDKxTGchbOWc1IlUPP0A PFUl0ZxGt8f34SgE15gNKG5YpvS5IEJooFTzzOGlg7CqhnbZpW3BKNkgE8C4pE/734W0 kRdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version; bh=2tVBgVQr41vYTR3/p7uK31wPMebCF86tqpq1DavcR3o=; b=dYAXIfxssXLf2qkkauEiJh4tJrrvzPmb34v8IKH2FqCWiWSEFIwhQS12xro61c1EXx win/S/px3NfAgYkABRcnG9dnKyWZgDWlb9DlI4UoJo/Vz4l+PEFlBHufbAAsTEXmxX9O HA5OOEMAAjZF6k/aOKP/6xwOxyfZ8pfFIOfsQCCtKFZ/rnY7UCPI8bM0qK9OB4j3uQNt ilwJX4b4JXe8IxlYGF1ssd9SxMZow37pD5dWen2Cx0xRBbydJNWzUuzcdgZDEzO8ytHD 17QR2/uVjVz0fSxFMDLQKcNHA9JSLU8VM8li2eD4Yce+KHNZI6HJnmpejF5S7te+ikEj OLcQ== X-Gm-Message-State: AMke39lOPJr8AxCe6qryS3VZtb7OJJnFNJZ2N1xJ7rYG2EIoPuo9Jtdag80cEcu8yCmJoA== X-Received: by 10.31.3.203 with SMTP id f72mr18559287vki.108.1489518394961; Tue, 14 Mar 2017 12:06:34 -0700 (PDT) From: Bart Schaefer Message-Id: <170314120715.ZM10347@torch.brasslantern.com> Date: Tue, 14 Mar 2017 12:07:15 -0700 In-Reply-To: Comments: In reply to Jesper Nygards "Completion for cd" (Mar 14, 6:38pm) References: X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Zsh Users Subject: Re: Completion for cd MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Mar 14, 6:38pm, Jesper Nygards wrote: } } I can't figure out why my configuration change has caused the } 'ignore-parents' style to stop working. I tried trivially to reproduce this in the current master from git, by copy-pasting your example configuration (with suitable adjustment to cdpath); ignore-parents seemed to be working for me. The _complete_debug facility is provided to help with tracking down this sort of thing. A typical process I would follow is: 1. Restore the original configuration where ignore-parents works and start a new shell. 2. Do a sample completion where ignore-parents should be applied, but instead of using TAB to complete, use ctrl-x question-mark which invokes _complete_debug. Note the file name where it says it stored the trace output (you may have to up-history to see it). 3. Add your new tag-order configurations and start another new shell. 4. Repeat the same completion with _complete_debug and note the file name again (it should be similar to the last one, except with the PID of the new shell). 5. Invoke a side-by-side diff tool such as meld, or ediff (emacs), etc., and compare the two files. This should give you some clues about where the completion is going wrong. The most likely explanation is that the local-directories tag-order is causing the completion with ignore-parents to find nothing, so the default is to show the result without ignore-parents ... but why that happens for you and not when I try to reproduce may be the detail that comparing debug traces reveals.