[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Using emacsclient -t as $EDITOR from within Emacs
From: |
Nikolai Weibull |
Subject: |
Using emacsclient -t as $EDITOR from within Emacs |
Date: |
Wed, 4 Sep 2013 22:42:42 +0200 |
Hi!
Invoking emacsclient -t from shell-command gives me
emacsclient: could not get terminal name
It seems that ttyname (fileno (stdio)) fails, which doesn’t seem
unreasonable, I suppose, but I was wondering how I should get around
this. I want to be able to execute commands that invoke $EDITOR,
which I’ve set to a shell script that invokes emacsclient -t, from
within Emacs (for example, from Dired) that’s running as a server and
so far I’m only either failing with errors or locking up my terminal.
- Using emacsclient -t as $EDITOR from within Emacs,
Nikolai Weibull <=
- Re: Using emacsclient -t as $EDITOR from within Emacs, Felix Dietrich, 2013/09/05
- Re: Using emacsclient -t as $EDITOR from within Emacs, Nikolai Weibull, 2013/09/06
- Re: Using emacsclient -t as $EDITOR from within Emacs, Suvayu Ali, 2013/09/06
- Re: Using emacsclient -t as $EDITOR from within Emacs, Yuri Khan, 2013/09/06
- Re: Using emacsclient -t as $EDITOR from within Emacs, Suvayu Ali, 2013/09/06
- Re: Using emacsclient -t as $EDITOR from within Emacs, Nikolai Weibull, 2013/09/06
- Re: Using emacsclient -t as $EDITOR from within Emacs, Suvayu Ali, 2013/09/06