From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: --daemon vs. server-start Date: Sat, 24 Jan 2009 00:33:25 +0100 Message-ID: <87bptx38e2.fsf@escher.local.home> References: <873afcz2gi.fsf@escher.local.home> <200901232039.n0NKd6Zl017140@rodan.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1232753636 14225 80.91.229.12 (23 Jan 2009 23:33:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Jan 2009 23:33:56 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 24 00:35:08 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LQVYH-0000oh-QC for ged-emacs-devel@m.gmane.org; Sat, 24 Jan 2009 00:35:06 +0100 Original-Received: from localhost ([127.0.0.1]:38682 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQVX0-0000Zm-3w for ged-emacs-devel@m.gmane.org; Fri, 23 Jan 2009 18:33:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQVWu-0000UI-7L for emacs-devel@gnu.org; Fri, 23 Jan 2009 18:33:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQVWt-0000RU-9N for emacs-devel@gnu.org; Fri, 23 Jan 2009 18:33:39 -0500 Original-Received: from [199.232.76.173] (port=50205 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQVWt-0000RF-26 for emacs-devel@gnu.org; Fri, 23 Jan 2009 18:33:39 -0500 Original-Received: from main.gmane.org ([80.91.229.2]:50117 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LQVWs-0007De-Mo for emacs-devel@gnu.org; Fri, 23 Jan 2009 18:33:38 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LQVWm-0003xO-Qa for emacs-devel@gnu.org; Fri, 23 Jan 2009 23:33:32 +0000 Original-Received: from i59f578bf.versanet.de ([89.245.120.191]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Jan 2009 23:33:32 +0000 Original-Received: from stephen.berman by i59f578bf.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Jan 2009 23:33:32 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: i59f578bf.versanet.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:108171 Archived-At: On Fri, 23 Jan 2009 12:39:06 -0800 (PST) Dan Nicolaescu 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? > 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? 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\")))" 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. Steve Berman