Re: Bug report -- space in env. var. VISUAL causes commits to fail (needs confirmation)
From: David Dyer-Bennet <dd-b_at_dd-b.net>
Date: Tue, 7 Dec 2010 08:44:28 -0600
On Tue, December 7, 2010 04:18, Julian Foad wrote:
> I confirmed that there was a bug in that report, but that was on Windows
I'm also not sure what this concept of escaping with "^" is; if this is a
>> Today we use system(), and thus things like EDITOR='gvim -f' and
Agreed, that would be too drastic a solution, and would break important
>> I suppose setting VISUAL="\"/path with spaces/to/editor/binary\"" is the
That's an interesting idea.
Unfortunately, it doesn't seem to work. (Example from Centos 5.5 again):
sh-3.2$ export VISUAL='"/home/path with spaces/bin/emacs"'
And, in any case, VISUAL is a public interface, and I wonder how many
-- David Dyer-Bennet, dd-b@dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.infoReceived on 2010-12-07 15:45:15 CET |
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.