From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: initial-frame-alist Date: Thu, 5 Feb 2009 06:46:05 -0800 (PST) Message-ID: <200902051446.n15Ek525004594@rodan.ics.uci.edu> References: <87prhxazz9.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1233845672 26177 80.91.229.12 (5 Feb 2009 14:54:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Feb 2009 14:54:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 05 15:55:46 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 1LV5de-0000a5-Fg for ged-emacs-devel@m.gmane.org; Thu, 05 Feb 2009 15:55:34 +0100 Original-Received: from localhost ([127.0.0.1]:35385 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LV5cL-0003NQ-G7 for ged-emacs-devel@m.gmane.org; Thu, 05 Feb 2009 09:54:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LV5Uv-0007xg-At for emacs-devel@gnu.org; Thu, 05 Feb 2009 09:46:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LV5Ur-0007vW-5d for emacs-devel@gnu.org; Thu, 05 Feb 2009 09:46:32 -0500 Original-Received: from [199.232.76.173] (port=54299 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LV5Uq-0007vR-Sn for emacs-devel@gnu.org; Thu, 05 Feb 2009 09:46:28 -0500 Original-Received: from barrelv2.ics.uci.edu ([128.195.1.114]:53068) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1LV5Up-00082Z-ON for emacs-devel@gnu.org; Thu, 05 Feb 2009 09:46:28 -0500 Original-Received: from rodan.ics.uci.edu (rodan.ics.uci.edu [128.195.6.9]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n15Ek5o1007260; Thu, 5 Feb 2009 06:46:05 -0800 (PST) Original-Received: (from dann@localhost) by rodan.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n15Ek525004594; Thu, 5 Feb 2009 06:46:05 -0800 (PST) In-Reply-To: <87prhxazz9.fsf@escher.local.home> (Stephen Berman's message of "Thu, 05 Feb 2009 12:24:10 +0100") Original-Lines: 46 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n15Ek5o1007260 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@rodan.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:108790 Archived-At: Stephen Berman writes: > It appears that setting initial-frame-alist has no effect if Emacs is > started with --daemon; is this intended? Here's a case in point: > > Let ~/.emacs consist of this sexp: > > (setq initial-frame-alist > (append initial-frame-alist '((width . 85) (height . 58)))) > > Then do this: > > $ emacs --daemon > $ emacsclient -c > > The resulting frame has default width and height, not those specified in > ~/.emacs. If instead I start Emacs like this: > > $ emacs > > then the resulting frame does width 85 and height 58. > > I note that after starting Emacs like this: > > $ emacs -nw -f server-start > > and then in another xterm typing: > > $ emacsclient -c > > the resulting frame has default width and height, not those specified in > ~/.emacs. But this would be expected if the initial frame is the one in > the xterm. Whereas with --daemon, the apparent initial frame is the one > produced by emacsclient -c. It's not, the initial frame is a special frame that cannot be displayed. Again: emacs --daemon is equivalent to emacs -nw -f server-start If you try more, you can probably find even more variations of this same basic issue... > So is this a bug or expected behavior? If the latter, shouldn't it > be documented? (I hope it's relatively easily fixed bug, since I > would like to have setting initial-frame-alist take effect if Emacs > is started with --daemon.) Patches are welcome!