From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Harry Putnam <reader@newsguy.com>
Cc: emacs-devel@gnu.org
Subject: Re: server-start and server-name doesn't seem to work
Date: Fri, 16 Oct 2009 22:12:29 -0400 [thread overview]
Message-ID: <jwv8wfa3h6a.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <874opygau8.fsf@newsguy.com> (Harry Putnam's message of "Fri, 16 Oct 2009 18:47:43 -0500")
> From what I see... server-name is not available as a variable *until*
> you do `server-start'. At least in a freshly started emacs the cmd
> M-x set-variable <RET> server-name <RET> shows `no match'
You don't need to M-x server-start, but you do need to load server.el
before you can use set-variable on that var.
So either do
M-x load-library RET server RET
M-x set-variable RET server-name RET "foo" RET
M-x server-mode RET
or do
M-: (setq server-name "foo") RET
M-x server-mode RET
I prefer this latter one, personally.
> But no matter how I go at it... it appears not to work if I name the
> server.
> at least `emacsclient -s name -c' fails.
I can only say that it works for me.
Stefan
next prev parent reply other threads:[~2009-10-17 2:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-16 18:07 server-start and server-name doesn't seem to work Harry Putnam
2009-10-16 18:25 ` Óscar Fuentes
2009-10-16 18:49 ` Harry Putnam
2009-10-16 20:34 ` Stefan Monnier
2009-10-16 23:47 ` Harry Putnam
2009-10-17 2:12 ` Stefan Monnier [this message]
2009-10-17 5:41 ` Harry Putnam
2009-10-17 2:32 ` Juanma Barranquero
2009-10-17 5:44 ` Harry Putnam
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=jwv8wfa3h6a.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=reader@newsguy.com \
/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.