[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using emacsclient -t as $EDITOR from within Emacs
From: |
Suvayu Ali |
Subject: |
Re: Using emacsclient -t as $EDITOR from within Emacs |
Date: |
Thu, 5 Sep 2013 02:26:08 +0200 |
User-agent: |
Mutt/1.5.21 (2012-12-30) |
On Wed, Sep 04, 2013 at 10:42:42PM +0200, Nikolai Weibull wrote:
> 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.
>
eamcsclient -t works only in text terminals. Does emacsclient -c work
instead?
--
Suvayu
Open source is the future. It sets us free.
- Using emacsclient -t as $EDITOR from within Emacs, Nikolai Weibull, 2013/09/04
- Re: Using emacsclient -t as $EDITOR from within Emacs,
Suvayu Ali <=
- 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
- Re: Using emacsclient -t as $EDITOR from within Emacs, Nikolai Weibull, 2013/09/06