help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Mikael Magnusson <mikachu@gmail.com>
Cc: Marlon Richert <marlon.richert@gmail.com>,
	Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: [BUG] zle_highlight fails to highlight suffix added with compadd -R
Date: Tue, 7 Sep 2021 19:43:37 -0700	[thread overview]
Message-ID: <CAH+w=7Y2st7-hnL7F00k_ZL2ZxOjMNKLeU4k6zvf2Ky3CenM7Q@mail.gmail.com> (raw)
In-Reply-To: <CAHYJk3RJA+=owtdOkf85gO2nchgq2VkzXvHYAFJUU-QrkMQk+g@mail.gmail.com>

On Tue, Sep 7, 2021 at 7:13 PM Mikael Magnusson <mikachu@gmail.com> wrote:
> On 9/8/21, Bart Schaefer <schaefer@brasslantern.com> wrote:
> > Does anyone remember why suffixfunclen needed to
> > be stored separately?
> I didn't make any attempt to understand the code, but can you usefully
> specify both -r and -R? (it doesn't appear to be an error).

You mean in the same call to compadd ?  Sure.  The argument passed to
-r just determines when to invoke the function, it doesn't provide a
different suffix.

      reply	other threads:[~2021-09-08  2:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-07 10:05 Marlon Richert
2021-09-07 22:19 ` Bart Schaefer
2021-09-08  2:13   ` Mikael Magnusson
2021-09-08  2:43     ` Bart Schaefer [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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+w=7Y2st7-hnL7F00k_ZL2ZxOjMNKLeU4k6zvf2Ky3CenM7Q@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=marlon.richert@gmail.com \
    --cc=mikachu@gmail.com \
    --cc=zsh-workers@zsh.org \


* 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


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).