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 26142
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: edit-command-line with spaces in EDITOR
- Date: Tue, 16 Dec 2008 18:07:50 +0100
- 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:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=uRiBA/QcmGhcwGOGDJ8gDiLGAz/g7an51e1/cesgiDM=; b=NaVuK6x05xabGX/CCkO4bGHVYpLFTqEp2HIRu6LGisL5UCo5429eodICV2drgTZm0V yAG/L2zQJxOcEHCiwcRmEddKexxPlI+DKI+sSCzSJfLcTclMzacai7AGXX8yOBzfS7fa /XGxVAih17fwKUVcjPv9AIFyElV5eDsbxqYsM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=KEY/tSXTM+GL0eQMQWdAGE8aNBhDWRDaMhgHV+8/AB4FGfWwlEqjpRnPQSOJRINSS1 kJ4bJB3nb8wbI6fKuIgpgPM8F7nYe3ViCzCUI+LXwfz/R+EZTdYqIgbzHmqUHDC3b542 iJbNaLCTDeLmIt4z/v8ZFN06xFvWh6q7EyEYA=
- In-reply-to: <20081216153846.GA10426@xxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20081216153846.GA10426@xxxxxxxx>
2008/12/16 Clint Adams <clint@xxxxxxx>:
> Apparently people want to set EDITOR to things like
> "connect-emacs editor -t".
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.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author