unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: MacOs emacsclient does not start
Date: Tue, 11 Jul 2023 18:42:49 +0300	[thread overview]
Message-ID: <83o7ki78ue.fsf@gnu.org> (raw)
In-Reply-To: <87a5w238kn.fsf@mat.ucm.es> (message from Uwe Brauer on Tue, 11 Jul 2023 15:02:16 +0200)

> From: Uwe Brauer <oub@mat.ucm.es>
> Date: Tue, 11 Jul 2023 15:02:16 +0200
> 
> I just tried 
> git revert e96d3c71bdc
> 
> And I obtained
> hint: Waiting for your editor to close the file...
> /Applications/Emacs29.app/Contents/MacOS/bin/emacsclient: can't find
> socket; have you started the server?
> 
> /Applications/Emacs29.app/Contents/MacOS/bin/emacsclient: To start the
> server in Emacs, type "M-x server-start".
> 
> /Applications/Emacs29.app/Contents/MacOS/bin/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)
> 
> error: There was a problem with the editor
> '/Applications/Emacs29.app/Contents/MacOS/bin/emacsclient'.
> 
> Please supply the message using either -m or -F option.
> 
> Indeed in my .login
> I have (tcsh)
> 
> setenv EDITOR /Applications/Emacs29.app/Contents/MacOS/bin/emacsclient
> 
> 
> But I don't understand what's wrong with this setting. In Linux I have
> 
> setenv EDITOR /opt/emacs29/bin/emacsclient
> 
> And it works fine, I tried to add some parameters to emacsclient in the
> above line  but I obtained to many parameters when running source ~/.login
> 
> 
> Any idea?

Looks like emacsclient on macOS cannot start the daemon, if there's no
Emacs server already running?



  reply	other threads:[~2023-07-11 15:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-11 13:02 MacOs emacsclient does not start Uwe Brauer
2023-07-11 15:42 ` Eli Zaretskii [this message]
2023-07-11 18:17   ` Uwe Brauer
2023-07-11 18:51     ` Eli Zaretskii
2023-07-11 20:19       ` Uwe Brauer
2023-07-12  2:28         ` Eli Zaretskii
2023-07-12  2:48         ` Po Lu
2023-07-12  7:02           ` Uwe Brauer
2023-07-12 12:37             ` [SOLVED] (was: MacOs emacsclient does not start) Uwe Brauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83o7ki78ue.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).