help-gnu-emacs
[Top][All Lists]
Advanced

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

emacsclient --alternate-editor='emacs -nw' ?


From: Teemu Likonen
Subject: emacsclient --alternate-editor='emacs -nw' ?
Date: Tue, 07 Oct 2008 19:44:06 +0300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

I've trying to get "emacs -nw" working as an alternate editor for
emacsclient. No success so far, for example:

    $ export EDITOR="emacsclient --alternate-editor='emacs -nw'" crontab -e
    emacsclient: connect: Connection refused
    emacsclient: error executing alternate editor "emacs -nw"
    crontab: "emacsclient --alternate-editor='emacs -nw'" exited with status 1

The same with this:

    $ export EDITOR=emacsclient
    $ export ALTERNATE_EDITOR="emacs -nw"

It seems that there can't be spaces in the name of the alternate editor,
just a single command name. Does anybody know a work-around?




reply via email to

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