[Top][All Lists]

[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 09:33:22 +0200
User-agent: Mutt/1.5.21 (2012-12-30)

On Thu, Sep 05, 2013 at 08:36:24AM +0200, Nikolai Weibull wrote:
> On Thu, Sep 5, 2013 at 2:26 AM, Suvayu Ali <address@hidden> 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.

In that case, I don't think it is possible to invoke an emacsclient
frame when it is already occupied.  I'm not sure what you are trying to
achieve though.  Wouldn't just C-x C-f, `find-file', work?


Open source is the future. It sets us free.

reply via email to

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