zsh-workers
 help / color / mirror / code / Atom feed
From: Sebastian Gniazdowski <psprint2@fastmail.com>
To: Daniel Shahaf <d.s@daniel.shahaf.name>
Cc: zsh-workers@zsh.org
Subject: Re: Feature request (#b)...(...)<not empty>
Date: Sat, 25 Feb 2017 07:36:59 -0800	[thread overview]
Message-ID: <1488037019.2320483.892622496.169D8730@webmail.messagingengine.com> (raw)
In-Reply-To: <20170225151315.GA4424@fujitsu.shahaf.local2>

On Sat, Feb 25, 2017, at 07:13 AM, Daniel Shahaf wrote:
> However, I have no opinion as to whether that should be added: I don't
> know how much effort would be involved, and for the given example there
> are alternative solutions that require no syntax changes.

I have format codes: bold, fg color, bg color. Accept any combination
preserving order. 20 colors in total. I currently do:

[range spanning all codes]([fg range]|)([bg range]|)

This way first position cannot be null and things work. However, this
will accept fgfg fgfgbg bgfg bgfgbg. But works and is fast. How would
you do it?

I think your neutral comment tends to hide fact how powerful (#n) and
(#z) would be, but I might not convey this message anyway.

-- 
  Sebastian Gniazdowski
  psprint2@fastmail.com


  reply	other threads:[~2017-02-25 15:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-25  8:37 Sebastian Gniazdowski
2017-02-25 15:13 ` Daniel Shahaf
2017-02-25 15:36   ` Sebastian Gniazdowski [this message]
2017-02-25 16:47     ` Bart Schaefer
2017-02-25 17:24       ` Sebastian Gniazdowski
2017-02-25 17:54         ` Daniel Shahaf
2017-02-25 20:38         ` Bart Schaefer
2017-02-25 17:54       ` Sebastian Gniazdowski
2017-02-25 21:05         ` Bart Schaefer
2017-02-25 22:52           ` 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=1488037019.2320483.892622496.169D8730@webmail.messagingengine.com \
    --to=psprint2@fastmail.com \
    --cc=d.s@daniel.shahaf.name \
    --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).