all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Spurious error message?
@ 2014-09-08  6:42 Rusi
  2014-09-09  2:46 ` Michael Heerdegen
       [not found] ` <mailman.8494.1410230804.1147.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Rusi @ 2014-09-08  6:42 UTC (permalink / raw)
  To: help-gnu-emacs

emacsclient is supposed to 'jump into' an already emacs.

What if there is no emacs running?  I get:

$ emacsclient foo.txt 
emacsclient: can't find socket; have you started the server?
To start the server in Emacs, type "M-x server-start".
emacsclient: No socket or alternate editor.  Please use:

	--socket-name
	--server-file      (or environment variable EMACS_SERVER_FILE)
	--alternate-editor (or environment variable ALTERNATE_EDITOR)

Ok so far so good. So I use the --alternate-editor

$ emacsclient --alternate-editor emacs foo.txt
emacsclient: can't find socket; have you started the server?
To start the server in Emacs, type "M-x server-start".

After printng which, it starts ok, editing the file!!

IOW I find the error message spurious.

Am I missing something?


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

end of thread, other threads:[~2014-09-09  7:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-08  6:42 Spurious error message? Rusi
2014-09-09  2:46 ` Michael Heerdegen
     [not found] ` <mailman.8494.1410230804.1147.help-gnu-emacs@gnu.org>
2014-09-09  2:57   ` Rusi
2014-09-09  4:51     ` Michael Heerdegen
2014-09-09  7:08     ` Thorsten Jolitz

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.