emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#9051: closed ([emacsclient] alternate editor does


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#9051: closed ([emacsclient] alternate editor does not allow program with arguments)
Date: Wed, 30 Aug 2017 21:03:03 +0000

Your message dated Wed, 30 Aug 2017 22:02:25 +0100
with message-id <address@hidden>
and subject line Patch installed
has caused the debbugs.gnu.org bug report #25082,
regarding [emacsclient] alternate editor does not allow program with arguments
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
25082: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25082
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: alternate editor does not allow program with arguments Date: Mon, 11 Jul 2011 13:37:14 +0300
I set

ALTERNATE_EDITOR='nano -t'

but that fails when it is being invoked:

emacsclient test.c
emacsclient: connect: Connection refused
emacsclient: error executing alternate editor "nano -t"

(Side issue: It might be nice to append strerror() to that error
message.)

The problem is that emacsclient interprets the alternate editor setting
as an executable name rather than a shell command.  This is in contrast
with the usual handling of the EDITOR environment variable, which is not
rarely set to values such as

EDITOR='nano -t'
EDITOR='emacsclient -t'
EDITOR='emacs -nw'

It would be very convenient and useful if the ALTERNATE_EDITOR
environment variable had the same behavior as the EDITOR variable in
that regard.





--- End Message ---
--- Begin Message --- Subject: Patch installed Date: Wed, 30 Aug 2017 22:02:25 +0100
Patch installed, closing.

--

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]