unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Using emacsclient -t as $EDITOR from within Emacs
@ 2013-09-04 20:42 Nikolai Weibull
  2013-09-05  0:26 ` Suvayu Ali
  0 siblings, 1 reply; 13+ messages in thread
From: Nikolai Weibull @ 2013-09-04 20:42 UTC (permalink / raw)
  To: Emacs Users

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.



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-09-06 10:05 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1318.1378327378.10748.help-gnu-emacs@gnu.org>
2013-09-05 23:36 ` Using emacsclient -t as $EDITOR from within Emacs 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
2013-09-04 20:42 Nikolai Weibull
2013-09-05  0:26 ` Suvayu Ali
2013-09-05  6:36   ` Nikolai Weibull
2013-09-05  7:33     ` Suvayu Ali

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).