zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: Did something change about completion and xtrace ?
Date: Wed, 10 Feb 2021 15:02:15 -0800	[thread overview]
Message-ID: <CAH+w=7ZhSpL6p34BLV8yeja-0fHs4mjjkD6SpM+TTZXorOZ-fw@mail.gmail.com> (raw)
In-Reply-To: <YCRV0vTdKbBMNd/2@fullerene.field.pennock-tech.net>

On Wed, Feb 10, 2021 at 1:53 PM Phil Pennock
<zsh-workers+phil.pennock@spodhuis.org> wrote:
>
> On 2021-02-10 at 11:07 -0800, Bart Schaefer wrote:
> > The following seems to "fix" it and does not interfere with
> > _complete_debug.  Any objections?
>
> The main reason I ever enable xtrace at a prompt, instead of in a
> script, is to hit tab and see what's happening with completion and where
> the logic is flowing.  Would that still be possible with this change?

With this change, you'd have to use the _complete_debug widget
(default bound to control-x question-mark), or selectively enable
tracing with for example

functions -T _complete

(which is probably preferable to tracing the entire thing anyway?)


  reply	other threads:[~2021-02-10 23:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-06  5:03 Bart Schaefer
2021-02-10 18:01 ` Bart Schaefer
2021-02-10 19:07   ` Bart Schaefer
2021-02-10 21:53     ` Phil Pennock
2021-02-10 23:02       ` Bart Schaefer [this message]
2021-02-11 23:49         ` Phil Pennock

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='CAH+w=7ZhSpL6p34BLV8yeja-0fHs4mjjkD6SpM+TTZXorOZ-fw@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /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).