From: Peter Stephenson <p.stephenson@samsung.com>
To: zsh-workers@zsh.org
Cc: Jared Ahern <jared.ahern@gmail.com>
Subject: Re: Proposed patches for make completion bugs
Date: Tue, 28 Apr 2015 09:34:50 +0100 [thread overview]
Message-ID: <20150428093450.10bc6c0c@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <CA+80RYdqaKGNXE9J9gnT7uNcbmPmqoUHjw+w=N_+jwC+gm_7Lg@mail.gmail.com>
On Mon, 27 Apr 2015 20:45:55 -0400
Jared Ahern <jared.ahern@gmail.com> wrote:
> The second issue is that as far as I can tell, expansion of "make"
> variables was not happening at all. This should be addressed by this
> separate second patch, although I may have induced regressions of which I
> am unaware. I wasn't 100% sure what the original intent was for the
> _make-expandVars function, but my cases appear to be fixed.
It's certainly hard to see how the old code could work...
local open close var val front ret tmp=$1
front=${tmp%%\$*}
case $tmp in
(\(*) # Variable of the form $(foobar)
... if tmp still has a $, how can matching it without a $ at the start
of the case be useful? I'll assume this is an improvement and apply
both patches until someone comes up with a counterexample.
Thanks
pws
prev parent reply other threads:[~2015-04-28 8:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-28 0:45 Jared Ahern
2015-04-28 8:34 ` Peter Stephenson [this message]
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=20150428093450.10bc6c0c@pwslap01u.europe.root.pri \
--to=p.stephenson@samsung.com \
--cc=jared.ahern@gmail.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).