From: Charles Magid <cmmagid@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: emacsclient Mac OS X 'No socket or alternate editor' error
Date: Fri, 30 Nov 2012 08:01:30 -0800 (PST) [thread overview]
Message-ID: <693154ba-7aa1-493e-81e2-44520176484b@googlegroups.com> (raw)
Emacsclient Mac OS X 'No socket or alternate editor' error
How it was invoked and what gets returned:
$ /usr/local/bin/emacsclient ~/pgadmin.log
/usr/local/bin/emacsclient: can't find socket; have you started the server?
To start the server in Emacs, type "M-x server-start".
/usr/local/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)
Upstream errors I thought I solved but perhaps not:
M-x server-start
Getting errors like
(error "The directory `/var/folders/b3/9k90h2ln2ns__vznkc0642vc3m01mw/T//emacs121636508' is unsafe")
So I verified it used the same file repeatedly then did a
$ chmod 700 emacs121636508
After than M-x server-start returned without errors
To see if it was fixed in a later version I just reinstalled emacs with
$ brew install emacs --cocoa --use-git-head --HEAD
$ mv /usr/local/Cellar/emacs/HEAD/Emacs.app /Applications/
That didnt fix it
As an experiment yesterday I redefined
(defun server-ensure-safe-dir (dir) t)
and it worked.
But today the same trick did not work so I did the chmod 700 and that seemed to work, but failed when I went to start emacsclient.
Thank you in advance for taking the time to look at this issue.
reply other threads:[~2012-11-30 16:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=693154ba-7aa1-493e-81e2-44520176484b@googlegroups.com \
--to=cmmagid@gmail.com \
--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.
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.