GNU bug report logs - #18431
24.3; emacsclient spurious error message

Previous Next

Package: emacs;

Reported by: Rustom Mody <rustompmody <at> gmail.com>

Date: Tue, 9 Sep 2014 11:49:03 UTC

Severity: wishlist

Tags: fixed

Found in version 24.3

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Rustom Mody <rustompmody <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 18431 <at> debbugs.gnu.org
Subject: bug#18431: 24.3; emacsclient spurious error message
Date: Tue, 9 Sep 2014 21:31:15 +0530
On Tue, Sep 9, 2014 at 9:20 PM, Glenn Morris <rgm <at> gnu.org> wrote:
> Rustom Mody wrote:
>
>> Error (warning) message as follows is given:
>>
>> emacsclient: can't find socket; have you started the server?
>> To start the server in Emacs, type "M-x server-start".
>>
>> After printing which, it starts ok, editing the file!!
>
> It it is letting you know that it tried to contact an existing Emacs
> instance but failed, and it shares the message text with the non
> --alternate-editor case. Yes, the message could be special-cased for
> --alternate-editor, but it doesn't seem like a big deal.

Sure its minor.
Nevertheless its a bogus error message.
Also as you say the messages are shared; they are not the same:

Without alternate
$ emacsclient foo
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)

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


In any case thanks for working on emacs and yeah its not a big deal!
Rusi




This bug report was last modified 4 years and 278 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.