From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18933 invoked from network); 16 Dec 2008 20:51:51 -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.6 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 20:51:51 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 95637 invoked from network); 16 Dec 2008 20:51:45 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 16 Dec 2008 20:51:45 -0000 Received: (qmail 8225 invoked by alias); 16 Dec 2008 20:51:39 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26145 Received: (qmail 8215 invoked from network); 16 Dec 2008 20:51:38 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 16 Dec 2008 20:51:38 -0000 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by bifrost.dotsrc.org (Postfix) with ESMTP id 79E4E801E288 for ; Tue, 16 Dec 2008 21:51:25 +0100 (CET) Received: by an-out-0708.google.com with SMTP id b2so1408091ana.36 for ; Tue, 16 Dec 2008 12:51:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=c2MuwSaZI3V4BIMXISli6QeCQW3O13+mupe9YT9V0yo=; b=q9mZeIx7G7cTtvsqwckISxNbXDFSpjyjyE3+EX4DYEPtVUuNvVQd2RYjGz/O9TvC1C cIUHEUGTG7JzDBsq/5ICP92eszsq1mjnIRV4lP56VsPJ571p7e+WiTECQrUq4KoWwbN1 cdKiBjOa1QgbnGM7868xZePQqD8mjxi7kJCmg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=tNXl7PefOTEzKFwIHydFmeAWAeb8ZLnnDdOWJFJQ8mnWwA2/cOI7tY150Vi6vUIl0A DwwmCpf2Ssoz3I4PN76GV1YYk+xr3K/aUX8DU46E/DE+2L+Zc+URWDsaIuaU9vGX+5Iu Uj78Mto8u7Q+NX3xDionKnnAZrkdMmN++HS9c= Received: by 10.100.228.13 with SMTP id a13mr6066157anh.110.1229460683987; Tue, 16 Dec 2008 12:51:23 -0800 (PST) Received: by 10.100.43.19 with HTTP; Tue, 16 Dec 2008 12:51:23 -0800 (PST) Message-ID: <2d460de70812161251i353f7e1ct8be0df2934c3bd3d@mail.gmail.com> Date: Tue, 16 Dec 2008 21:51:23 +0100 From: "Richard Hartmann" To: "Mikael Magnusson" Subject: Re: PATCH: edit-command-line with spaces in EDITOR Cc: zsh-workers@sunsite.dk In-Reply-To: <237967ef0812161127l2a795ees363d039b1ddd4cc1@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081216153846.GA10426@scru.org> <237967ef0812160907s6481321dnf796fcdcbb93fb1f@mail.gmail.com> <237967ef0812161127l2a795ees363d039b1ddd4cc1@mail.gmail.com> 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 20:27, Mikael Magnusson wrote: > % EDITOR="connect-emacs editor -t" > % $EDITOR myfile > zsh: command not found: connect-emacs editor -t I do that not often, but sometimes. Of course, I don't use spaces in $EDITOR either. While one can argue that it's the user's duty to ensure a non-borked config, the tools should not make it too easy to create broken & hard to debug effects. Personally, I would vote for extending the docs on why spaces in $EDITOR can not be supported and disallowing it. An alternative would be to have an option, but that seems like overkill, to me. RIchard