zsh-workers
 help / color / mirror / code / Atom feed
From: Marlon Richert <marlon.richert@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: [BUG] Weird _expand & _complete behavior for $parameters in "double quotes"
Date: Wed, 12 May 2021 09:43:30 +0300	[thread overview]
Message-ID: <CAHLkEDvn2KSCSSaYhAuiZFLV+LMGDocOjvh8RW5smUPNmD1xog@mail.gmail.com> (raw)
In-Reply-To: <CAH+w=7YAeLjHGpQxAny=UqPGPz2Nrc3DBOhztS-mX=_9tjfT8A@mail.gmail.com>

On Tue, May 11, 2021 at 10:40 PM Bart Schaefer
<schaefer@brasslantern.com> wrote:
>
> On Tue, May 11, 2021 at 10:32 AM Marlon Richert
> <marlon.richert@gmail.com> wrote:
> >
> > On Tue, May 11, 2021 at 2:05 PM Bart Schaefer <schaefer@brasslantern.com> wrote:
> > >
> > > I can't reproduce this on either Ubutu or MacOS, nor either with or
> > > without my completeinword patch from the other day.
> >
> > Here's the test as a patch, in case it helps you reproduce it.
>
> Ah, I didn't get before that you'd added an entire new test case.

Sorry about the confusion. Yes, I added a new test case, because I saw
this happen on the command line, but I wanted to make sure that A) it
wasn't just my environment and B) I presented the bug in a way that
you could easily reproduce it. Next time, I guess I'll just send it as
a patch in the first place. :)

> There are two things going on here:
>
> One, complete-in-word handling of quotes has several problems, which
> I've unsuccessfully wrestled with once or twice before.

Note that my test case does not set COMPLETE_IN_WORD and setting it
doesn't appear to make any difference for this case.


  reply	other threads:[~2021-05-12  6:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-11 10:24 Marlon Richert
2021-05-11 11:05 ` Bart Schaefer
2021-05-11 17:32   ` Marlon Richert
2021-05-11 19:40     ` Bart Schaefer
2021-05-12  6:43       ` Marlon Richert [this message]
2021-05-23 21:02     ` Lawrence Velázquez
2021-05-24 20:13       ` Bart Schaefer
2021-05-24 20:19         ` Daniel Shahaf

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=CAHLkEDvn2KSCSSaYhAuiZFLV+LMGDocOjvh8RW5smUPNmD1xog@mail.gmail.com \
    --to=marlon.richert@gmail.com \
    --cc=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).