zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Peter Stephenson <p.w.stephenson@ntlworld.com>
Cc: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: "zstyle -L" doesn't quote properly
Date: Wed, 7 Apr 2021 12:43:39 -0700	[thread overview]
Message-ID: <CAH+w=7YN8Gk1fCzXpnzjOz2O0VMr6mg8ah9b6pDeS9Y3CB33qQ@mail.gmail.com> (raw)
In-Reply-To: <0b43f5848ea0b03c7204d7380754b50c7c35ce41.camel@ntlworld.com>

On Wed, Apr 7, 2021 at 12:22 PM Peter Stephenson
<p.w.stephenson@ntlworld.com> wrote:
>
> Using the same function as everywhere else in that neighbourhood, we get
>
> zstyle -e ':completion::*:default' $'[[ $WIDGET =\n(|reverse-)menu-complete ]] && reply=(menu yes select interactive)'
>
> is that OK?  If so it's just a question of updating the test.

I think that works.  quotedzputs() omits the quotes for simple words
so the output won't change for most people's existing settings.


      reply	other threads:[~2021-04-07 19:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-07 16:42 Bart Schaefer
2021-04-07 17:36 ` Daniel Shahaf
2021-04-07 18:12   ` Bart Schaefer
2021-04-07 18:24     ` Daniel Shahaf
2021-04-07 19:21       ` Peter Stephenson
2021-04-07 19: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:
  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=7YN8Gk1fCzXpnzjOz2O0VMr6mg8ah9b6pDeS9Y3CB33qQ@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=p.w.stephenson@ntlworld.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).