From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Annoying (frameset bug?): desktop-mode and maxmized frame Date: Mon, 11 Nov 2013 18:46:28 +0200 Message-ID: <83d2m63mzf.fsf@gnu.org> References: <87ob5srgmz.fsf@gmail.com> <87zjpcpe9h.fsf@gmail.com> <87mwlcp33l.fsf@gmail.com> <87txfjcr3p.fsf@gmail.com> <8738n3447s.fsf@gmail.com> <87y54vc57s.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1384188409 25845 80.91.229.3 (11 Nov 2013 16:46:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Nov 2013 16:46:49 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org To: Jambunathan K Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 11 17:46:53 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 1VfudW-0002zs-6w for ged-emacs-devel@m.gmane.org; Mon, 11 Nov 2013 17:46:50 +0100 Original-Received: from localhost ([::1]:38213 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfudV-00072J-PE for ged-emacs-devel@m.gmane.org; Mon, 11 Nov 2013 11:46:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfudN-00071l-Q6 for emacs-devel@gnu.org; Mon, 11 Nov 2013 11:46:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VfudH-0003Vp-VX for emacs-devel@gnu.org; Mon, 11 Nov 2013 11:46:41 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:54943) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfudH-0003VZ-N2 for emacs-devel@gnu.org; Mon, 11 Nov 2013 11:46:35 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MW300A00YEGLR00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Mon, 11 Nov 2013 18:46:33 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MW300ASWYLLJW50@a-mtaout23.012.net.il>; Mon, 11 Nov 2013 18:46:33 +0200 (IST) In-reply-to: <87y54vc57s.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 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:165174 Archived-At: > From: Jambunathan K > Date: Mon, 11 Nov 2013 21:15:27 +0530 > Cc: Emacs developers > > I don't understand (or claim to understand) the technicalities. Looks > like there is a *very* tight coupling between the various entities when > in fact they should be loosely associated. May be NOT relying on > existing infrastructure would give more flexibility. This is not about infrastructure. This is about the fact that starting Emacs while bringing .emacs into effect is somewhat akin bootstrapping: you cannot have some customizations take effect until the objects they customize are created. Frames are one of those objects, but there are others. This complication is one reason why we have the abomination known as 'initial-frame-alist'. If you look at startup.el, you will see that it sometimes performs the same initializations more than once, for the same reason: user customizations might have changed things half way through the startup. So this is a general problem. IIRC, a lot of research went at the time into finding the best place for restoring frames. Of course, if you have concrete proposals that work, let's hear them.