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: initial-frame-alist Date: Thu, 05 Feb 2009 12:24:10 +0100 Message-ID: <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 1233833159 15152 80.91.229.12 (5 Feb 2009 11:25:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Feb 2009 11:25:59 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 05 12:27:14 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 1LV2Nu-0001qF-VD for ged-emacs-devel@m.gmane.org; Thu, 05 Feb 2009 12:27:09 +0100 Original-Received: from localhost ([127.0.0.1]:57875 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LV2Mb-00076F-3A for ged-emacs-devel@m.gmane.org; Thu, 05 Feb 2009 06:25:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LV2LZ-0006kO-8Q for emacs-devel@gnu.org; Thu, 05 Feb 2009 06:24:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LV2LV-0006j6-9J for emacs-devel@gnu.org; Thu, 05 Feb 2009 06:24:40 -0500 Original-Received: from [199.232.76.173] (port=59279 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LV2LV-0006iz-4a for emacs-devel@gnu.org; Thu, 05 Feb 2009 06:24:37 -0500 Original-Received: from main.gmane.org ([80.91.229.2]:46986 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 1LV2LT-0002iZ-N0 for emacs-devel@gnu.org; Thu, 05 Feb 2009 06:24:36 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LV2LD-00009Z-AF for emacs-devel@gnu.org; Thu, 05 Feb 2009 11:24:19 +0000 Original-Received: from i59f55934.versanet.de ([89.245.89.52]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Feb 2009 11:24:19 +0000 Original-Received: from stephen.berman by i59f55934.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Feb 2009 11:24:19 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: i59f55934.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:108783 Archived-At: 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. 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.) Steve Berman