From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: Nikolai Weibull <now@disu.se>
Cc: Emacs Users <help-gnu-emacs@gnu.org>
Subject: Re: Using emacsclient -t as $EDITOR from within Emacs
Date: Thu, 5 Sep 2013 09:33:22 +0200 [thread overview]
Message-ID: <20130905073322.GG19491@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <CADdV=MsT41_q7orMWRMK01qVYwbXsTE+gqbHn4M9KL+6uY6aqg@mail.gmail.com>
On Thu, Sep 05, 2013 at 08:36:24AM +0200, Nikolai Weibull wrote:
> 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.
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?
--
Suvayu
Open source is the future. It sets us free.
next prev parent reply other threads:[~2013-09-05 7:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-04 20:42 Using emacsclient -t as $EDITOR from within Emacs Nikolai Weibull
2013-09-05 0:26 ` Suvayu Ali
2013-09-05 6:36 ` Nikolai Weibull
2013-09-05 7:33 ` Suvayu Ali [this message]
[not found] <mailman.1318.1378327378.10748.help-gnu-emacs@gnu.org>
2013-09-05 23:36 ` Felix Dietrich
2013-09-06 6:02 ` Nikolai Weibull
2013-09-06 7:10 ` Suvayu Ali
2013-09-06 7:59 ` Yuri Khan
2013-09-06 8:57 ` Suvayu Ali
2013-09-06 9:08 ` Nikolai Weibull
2013-09-06 9:40 ` Suvayu Ali
2013-09-06 9:46 ` Nikolai Weibull
2013-09-06 10:05 ` Suvayu Ali
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130905073322.GG19491@kuru.dyndns-at-home.com \
--to=fatkasuvayu+linux@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=now@disu.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.