From: Dan Nicolaescu <dann@ics.uci.edu>
To: Stephen Berman <stephen.berman@gmx.net>
Cc: emacs-devel@gnu.org
Subject: Re: --daemon vs. server-start
Date: Fri, 23 Jan 2009 16:44:16 -0800 (PST) [thread overview]
Message-ID: <200901240044.n0O0iGqF018302@rodan.ics.uci.edu> (raw)
In-Reply-To: <87bptx38e2.fsf@escher.local.home> (Stephen Berman's message of "Sat, 24 Jan 2009 00:33:25 +0100")
Stephen Berman <stephen.berman@gmx.net> writes:
> On Fri, 23 Jan 2009 12:39:06 -0800 (PST) Dan Nicolaescu <dann@ics.uci.edu> wrote:
>
> > You seem to assume that "emacs" and "emacs --daemon" are doing the same
> > thing, they are not,
> > emacs --daemon
> > is similar to
> > emacs -nw -f server-start
>
> Thanks for the clarification. Obviously, I did not understand this from
> the documentation (Emacs manual, NEWS). Did I overlook it? If so,
> would you please give me a pointer, and if not, could this please be
> documented?
No idea if this is documented, and I personally think it's not worth
bothering, but probably the docs people would welcome patches.
> > so emacs --daemon it will ignore all the X11 related options.
>
> Is this fundamental to starting Emacs without an initial frame, or
> an artifact of the current implementation? In other words, could
> --daemon be implemented in a way that allows passing X11 options?
It probably could, no idea how hard it would be. Just needs someone
that cares about this to sit down and do it.
> One thing that
> makes me think this should be possible is the fact that I can "pass" X11
> options that are exposed to Lisp; e.g., when I invoke Emacs like this:
>
> emacs -Q --daemon --eval "(setq default-frame-alist '((font-backend . \"xft\") (font . \"Dejavu Sans-10\")))"
This is not passing X11 options, this directly setting internal data
structures, you can do anything that way.
>
> and then invoke `emacsclient -c', the frame that appears has the font
> Dejavu Sans-10 with antialiasing. In contrast, as I observed in my OP,
> with this invocation:
>
> emacs -Q --daemon -xrm "Emacs.FontBackend: xft" -fn "Dejavu Sans-10"
>
> the frame that appears upon `emacsclient -c' has neither antialiasing
> nor this font. What I don't understand is why the former invocation
> "works" and the latter doesn't. (I accept that that's the way it is, I
> just don't see why.) I'd be interested in and grateful for an
> explanation.
Again, starting
emacs -Q --daemon
is similar to starting
emacs -Q -nw -f server-start
add your options at the end and compare the effect.
next prev parent reply other threads:[~2009-01-24 0:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-21 23:03 --daemon vs. server-start Stephen Berman
2009-01-23 20:39 ` Dan Nicolaescu
2009-01-23 23:33 ` Stephen Berman
2009-01-24 0:44 ` Dan Nicolaescu [this message]
2009-01-24 14:30 ` Stephen Berman
2009-01-24 18:22 ` Dan Nicolaescu
2009-01-24 20:53 ` Stephen Berman
2009-01-25 7:29 ` Giorgos Keramidas
2009-01-25 7:56 ` mail
-- strict thread matches above, loose matches on Subject: below --
2009-01-24 20:49 Stefan Monnier
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=200901240044.n0O0iGqF018302@rodan.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=emacs-devel@gnu.org \
--cc=stephen.berman@gmx.net \
/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.