all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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
[parent not found: <mailman.1318.1378327378.10748.help-gnu-emacs@gnu.org>]

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 --
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
     [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

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.