zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: getarg() called twice?
Date: Sun, 6 Dec 2015 15:19:13 -0800	[thread overview]
Message-ID: <151206151913.ZM31274@torch.brasslantern.com> (raw)
In-Reply-To: <CAKc7PVC3DuHh=HAeNXt5-7-GWARXrThd8avyV01Encyt=FQbEQ@mail.gmail.com>

On Dec 6, 11:59am, Sebastian Gniazdowski wrote:
} 
} I attach animated gif that shows getarg() being called twice with no reason

So (>) is the new subscript flag you added.  I have tried an example
similar to yours (can't try an identical one because I can't cut and
paste from an animated gif) with several of the existing subscript
flags, and I can't get GDB to hit a breakpoint in getarg() more than
one time per expansion within "zsh -f".

I suspect therefore that this is either a side-effect of your new code,
or it's a side-effect of something in your shell environment (precmd,
preexec, etc.)


  reply	other threads:[~2015-12-06 23:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-06 10:59 Sebastian Gniazdowski
2015-12-06 23:19 ` Bart Schaefer [this message]
2015-12-07  5:00   ` Sebastian Gniazdowski

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=151206151913.ZM31274@torch.brasslantern.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).