From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Setting initial frame's parameters before its creation Date: Fri, 01 Mar 2013 09:24:09 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1362147856 23132 80.91.229.3 (1 Mar 2013 14:24:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Mar 2013 14:24:16 +0000 (UTC) Cc: emacs-devel@gnu.org To: Leo Liu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 01 15:24:38 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UBQt3-000096-1A for ged-emacs-devel@m.gmane.org; Fri, 01 Mar 2013 15:24:37 +0100 Original-Received: from localhost ([::1]:55313 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBQsh-0007Ij-Mq for ged-emacs-devel@m.gmane.org; Fri, 01 Mar 2013 09:24:15 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52371) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBQsd-0007AK-NA for emacs-devel@gnu.org; Fri, 01 Mar 2013 09:24:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UBQsc-0005dE-Lj for emacs-devel@gnu.org; Fri, 01 Mar 2013 09:24:11 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:13966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBQsc-0005cu-IR for emacs-devel@gnu.org; Fri, 01 Mar 2013 09:24:10 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFpaTU/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAsOJhIUGA0kiB4GwS2RCgOIYZwZgV6DFQ X-IPAS-Result: Av4EABK/CFFFpaTU/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAsOJhIUGA0kiB4GwS2RCgOIYZwZgV6DFQ X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="2772142" Original-Received: from 69-165-164-212.dsl.teksavvy.com (HELO pastel.home) ([69.165.164.212]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 01 Mar 2013 09:24:08 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 6B2A26A69F; Fri, 1 Mar 2013 09:24:09 -0500 (EST) In-Reply-To: (Leo Liu's message of "Fri, 01 Mar 2013 13:14:11 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:157467 Archived-At: >> I have a local patch which causes Emacs (in GUI sessions) to read the >> .emacs because creating the "initial" frame. You could use something >> like that, but it requires recompiling Emacs. > Yes I am interested. BTW, do you plan to add it to trunk at some point? I wrote it more as an experiment than anything else. If there's enough demand I can try and clean it up, but the main problem is that to use it, you'd need to provide a command-line argument (since just flat out changing the Emacs behavior would break many users's .emacs). >> Another option might be to use an emacs daemon, since in this case as >> well the .emacs file is read before setting up any GUI frame. > OK, I'll think about this as well. Thank you. Stefan