From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9930 invoked by alias); 24 Sep 2015 16:50:24 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 36619 Received: (qmail 6404 invoked from network); 24 Sep 2015 16:50:24 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=M+EmM1jq1IN5PVQcZAFCTyIY8PcyQBD92jgNZamLeBI=; b=ce7s7A9fBsbKusIxVPXk4z4jMMqBG/r5tfm3zMd/gyUi5QCCZ8EYWTPoEHx9eYxSHE fb0tCrGpZBlcoRPFk0Su0ZUVCTOhvgaJy7hFbdei4B2Z4a0yEBFVIHW2lK6JxdlrtGy+ i8vkSEfrHs34GCAlxSv0bBYzAea8+/OeafHLNwmg0KwO4nRgU95Yo4xFau/toff53Ob2 hkAHnn1A2dER4RYrSpc6pdGf2qUJ73/bOJtG2lQYOlV08qX2nsZjh9wGBLgF8tQkMOT+ lib5ktAT6AnFRNYFi08zCSbWB/fxYxE9cVoCOyhUyCuFiTE9OfLW8ciAmxdrjEkX68lS YHCg== X-Gm-Message-State: ALoCoQlbXAWUWatUsZmYjGxa6gdclmwrNfJqIY50IiJ5Wf/aFGE39QvjQfk8WH2j1h1dPhyAG9MD X-Received: by 10.182.104.130 with SMTP id ge2mr386220obb.79.1443113422544; Thu, 24 Sep 2015 09:50:22 -0700 (PDT) From: Bart Schaefer Message-Id: <150924095019.ZM1066@torch.brasslantern.com> Date: Thu, 24 Sep 2015 09:50:19 -0700 In-Reply-To: <20150924171031.3ed2bc9c@pwslap01u.europe.root.pri> Comments: In reply to Peter Stephenson "Re: "the backslashes" Re: Dynamic directory name function" (Sep 24, 5:10pm) References: <20150922204251.05f3d291@ntlworld.com> <150922210756.ZM30253@torch.brasslantern.com> <20150923094821.5c5d0b80@pwslap01u.europe.root.pri> <150923231024.ZM32382@torch.brasslantern.com> <20150924093752.581dcee9@pwslap01u.europe.root.pri> <150924081019.ZM835@torch.brasslantern.com> <20150924161811.26bf3df5@pwslap01u.europe.root.pri> <150924083445.ZM876@torch.brasslantern.com> <20150924171031.3ed2bc9c@pwslap01u.europe.root.pri> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: "the backslashes" Re: Dynamic directory name function MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Sep 24, 5:10pm, Peter Stephenson wrote: } } > zstyle ZDN_wrapper_name zdn_top=( } > g ~/git } > ga ~/alternate/git } > gs /scratch/$USER/git/:second2 } > :default: /:second1 } > ) } } That can be made vaild syntax by a bit (?lot?) of trickery with reserved } words, but what does it mean, and what gets passed to the command? It means exactly the same thing that writing it now without the equal sign and parens means; it's merely syntactic sugar so you don't have to use backslash-continuation to spread it across multiple lines. Whether it gets exploded out into an ordinary argv before being passed to bin_zstyle, or comes in as some other structure that bin_zstyle itself unpacks, is an implementation detail for module, I'd expect. No matter, was just a thought I threw out.