Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: edit-command-line with spaces in EDITOR
- X-seq: zsh-workers 26145
- From: "Richard Hartmann" <richih.mailinglist@xxxxxxxxx>
- To: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- Subject: Re: PATCH: edit-command-line with spaces in EDITOR
- Date: Tue, 16 Dec 2008 21:51:23 +0100
- Cc: zsh-workers@xxxxxxxxxx
- 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=
- In-reply-to: <237967ef0812161127l2a795ees363d039b1ddd4cc1@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20081216153846.GA10426@xxxxxxxx> <237967ef0812160907s6481321dnf796fcdcbb93fb1f@xxxxxxxxxxxxxx> <237967ef0812161127l2a795ees363d039b1ddd4cc1@xxxxxxxxxxxxxx>
On Tue, Dec 16, 2008 at 20:27, Mikael Magnusson <mikachu@xxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author