Re: sdiff: subsidiary program 'emacsclient -c -nw' not found

Faru Guredo <[email protected]> Tue, 14 Oct 2014 15:23:04 +0400
Newsgroups gmane.comp.gnu.utils.bugs
Message-ID <CALK3bMieRTha0nn1W+3S+NowfW5Uimp1f-COCk6bdf6FnnRk5g@mail.gmail.com>
> EDITOR is supposed to be a program, not a program with arguments.
Neither POSIX-2008 nor any other standard I know doesn’t specify what
EDITOR should contain.
> Create a shell script called 'foo' that does what you want and set EDITOR
to 'foo'.
That’s a hacky solution. And Occam doesn’t like it. I have to drag ‘~/bin’
folder or something like that for root just because stupid programs don’t
recognize programs and programs with keys. What will it lead to then?
Second variable in environment that can contain $EDITOR with keys?

Thanks for the reply, anyway.

2014-10-14 9:33 GMT+04:00 Paul Eggert <[email protected]>:

> Faru Guredo wrote:
>
>> I am using ‘emacsclient -c -nw’ as my $EDITOR
>>
>
> EDITOR is supposed to be a program, not a program with arguments.  Create
> a shell script called 'foo' that does what you want and set EDITOR to 'foo'.
>