unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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

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).