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

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

Re: Using emacsclient -t as $EDITOR from within Emacs


From: Nikolai Weibull
Subject: Re: Using emacsclient -t as $EDITOR from within Emacs
Date: Thu, 5 Sep 2013 08:36:24 +0200

On Thu, Sep 5, 2013 at 2:26 AM, Suvayu Ali <fatkasuvayu+linux@gmail.com> wrote:
> 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?

I’m in a text terminal.  I realize now that I didn’t say so in my
description above.  Sorry about that.



reply via email to

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