From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Yes, please allow pre-configuration of first frame [was: Blink Cursor mode is off by default] Date: Sat, 16 Jun 2018 13:20:21 -0400 Message-ID: References: <838t7lqnf0.fsf@gnu.org> <83zi01p6th.fsf@gnu.org> <13a2189b89d06be494cbc21561713d5d.squirrel@dancol.org> <83o9ggpwfs.fsf@gnu.org> <98930BC3-F62C-4BFF-8B06-8CFB65E8D243@gnu.org> <5659356aea4cdccd07e28e441c1ae98b.squirrel@dancol.org> <871sd8kugv.fsf_-_@moondust.localdomain> <5cc07aef-9c8b-4a5b-8cdb-3d003bed7151@dancol.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1529169547 27076 195.159.176.226 (16 Jun 2018 17:19:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 16 Jun 2018 17:19:07 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 16 19:19:03 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fUEqs-0006uz-PX for ged-emacs-devel@m.gmane.org; Sat, 16 Jun 2018 19:19:02 +0200 Original-Received: from localhost ([::1]:52273 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUEsz-0003zH-U3 for ged-emacs-devel@m.gmane.org; Sat, 16 Jun 2018 13:21:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUEsI-0003yv-Dy for emacs-devel@gnu.org; Sat, 16 Jun 2018 13:20:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUEsF-0002VU-AZ for emacs-devel@gnu.org; Sat, 16 Jun 2018 13:20:30 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:41000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUEsF-0002U9-3C for emacs-devel@gnu.org; Sat, 16 Jun 2018 13:20:27 -0400 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w5GHKp5m010814; Sat, 16 Jun 2018 13:20:51 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 20C62652FF; Sat, 16 Jun 2018 13:20:21 -0400 (EDT) In-Reply-To: <5cc07aef-9c8b-4a5b-8cdb-3d003bed7151@dancol.org> (Daniel Colascione's message of "Sat, 16 Jun 2018 07:37:07 -0700") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6309=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6309> : inlines <6702> : streams <1789868> : uri <2659247> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:226381 Archived-At: >>> It doesn't sound right, though, that a fix for this should >>> involve the user having to mess around with intiialisation >>> order etc. -- it should "just work". >>> >>> It seems that this might be a worthwhile project for "someone" >>> to work on? (Perhaps they could fix the problem of not being >>> able to un-apply themes at the same time?) >> >> I don't really understand what you suggest doing: the .emacs file is >> read *after* creating the first frame, so there's no way to avoid >> "flashing" without breaking some .emacs files. > > The file could just run against a dummy frame that happens to look like the > GUI frame we'll eventually create. To reduce the breakage, the frame had batter be as real as possible (e.g. plain normal frame, just `invisible`), but still: what will happen when the .emacs code ends up prompting the user in the minibuffer? It will inevitably introduce changes which in some cases are undesirable, Stefan