From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14058 invoked from network); 16 Dec 2008 21:45:36 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 16 Dec 2008 21:45:36 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 11562 invoked from network); 16 Dec 2008 21:45:30 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 16 Dec 2008 21:45:30 -0000 Received: (qmail 3112 invoked by alias); 16 Dec 2008 21:45:24 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26146 Received: (qmail 3096 invoked from network); 16 Dec 2008 21:45:24 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 16 Dec 2008 21:45:24 -0000 Received: from cork.scru.org (cork.scru.org [209.20.67.2]) by bifrost.dotsrc.org (Postfix) with ESMTPS id 0FF20801E288 for ; Tue, 16 Dec 2008 22:45:18 +0100 (CET) Received: by cork.scru.org (Postfix, from userid 1000) id 7D217D800C; Tue, 16 Dec 2008 21:45:17 +0000 (UTC) Date: Tue, 16 Dec 2008 21:45:17 +0000 From: Clint Adams To: Mikael Magnusson Cc: zsh-workers@sunsite.dk Subject: Re: PATCH: edit-command-line with spaces in EDITOR Message-ID: <20081216214517.GA14544@scru.org> Mail-Followup-To: Mikael Magnusson , zsh-workers@sunsite.dk References: <20081216153846.GA10426@scru.org> <237967ef0812160907s6481321dnf796fcdcbb93fb1f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <237967ef0812160907s6481321dnf796fcdcbb93fb1f@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: ClamAV 0.92.1/8768/Tue Dec 16 20:28:09 2008 on bifrost X-Virus-Status: Clean On Tue, Dec 16, 2008 at 06:07:50PM +0100, Mikael Magnusson wrote: > I'm not convinced this is a good idea. If the binary or path to it > contains a space, you just broke it. It's probably better to just tell > people to make a short wrapper script. Also, if some apps parse spaces > in EDITOR and others don't, then you effectively have to _both_ keep > the path+binary space-free and not give any arguments. That seems > suboptimal. FWIW git interprets spaces in EDITOR but... AFAIK it has > always been the name of a binary and nothing more. Are you aware of any applications which _do not_ split EDITOR on spaces or is this all theoretical?