zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.stephenson@samsung.com>
To: zsh-workers@zsh.org
Subject: Re: "the backslashes" Re: Dynamic directory name function
Date: Thu, 24 Sep 2015 16:18:11 +0100	[thread overview]
Message-ID: <20150924161811.26bf3df5@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <150924081019.ZM835@torch.brasslantern.com>

On Thu, 24 Sep 2015 08:10:19 -0700
Bart Schaefer <schaefer@brasslantern.com> wrote:
> On Sep 24,  9:37am, Peter Stephenson wrote:
> }
> } There's also the backslashes,
> } but more careful people than me probably don't mind those.
> 
> Thoughts on allowing modules to define the sort of keyword+builtin
> pair that we used for typeset ?  Then zstyle could hook itself to
> the parenthesized-list-parsing code and look like
> 
>      zstyle ZDN_wrapper_name zdn_top (
>  	g   ~/git
>  	ga  ~/alternate/git
>  	gs  /scratch/$USER/git/:second2
>  	:default: /:second1
>     )
> 
> Of course that would be opening a potential can of syntactic worms.

I've often wanted something like this, but it's really tricky to get
right.  In particular, I'd be unhappy about it if it's not following an
assignment --- parentheses are just too heavily overloaded to make this
can of worms more than a pig's breakfast (or do I mean dog's dinner?),
which isn't my cup of tea.

pws


  reply	other threads:[~2015-09-24 15:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20150922204251.05f3d291@ntlworld.com>
     [not found] ` <150922210756.ZM30253@torch.brasslantern.com>
     [not found]   ` <20150923094821.5c5d0b80@pwslap01u.europe.root.pri>
     [not found]     ` <150923231024.ZM32382@torch.brasslantern.com>
     [not found]       ` <20150924093752.581dcee9@pwslap01u.europe.root.pri>
2015-09-24 15:10         ` Bart Schaefer
2015-09-24 15:18           ` Peter Stephenson [this message]
2015-09-24 15:34             ` Bart Schaefer
2015-09-24 16:10               ` Peter Stephenson
2015-09-24 16:50                 ` Bart Schaefer
2015-09-25 13:13         ` Peter Stephenson

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=20150924161811.26bf3df5@pwslap01u.europe.root.pri \
    --to=p.stephenson@samsung.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).