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: Emacs geometry Date: Wed, 26 Jul 2006 02:38:21 -0400 Message-ID: References: <44C69619.6060304@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1153895918 13514 80.91.229.2 (26 Jul 2006 06:38:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Jul 2006 06:38:38 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 26 08:38:37 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G5d2S-00007Z-L2 for ged-emacs-devel@m.gmane.org; Wed, 26 Jul 2006 08:38:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G5d2S-0002vK-65 for ged-emacs-devel@m.gmane.org; Wed, 26 Jul 2006 02:38:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G5d2F-0002vF-T7 for emacs-devel@gnu.org; Wed, 26 Jul 2006 02:38:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G5d2E-0002v1-Uc for emacs-devel@gnu.org; Wed, 26 Jul 2006 02:38:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G5d2E-0002ux-PQ for emacs-devel@gnu.org; Wed, 26 Jul 2006 02:38:22 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G5d3i-0006CE-K0 for emacs-devel@gnu.org; Wed, 26 Jul 2006 02:39:54 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.34) id 1G5d2D-0004Zp-Sa; Wed, 26 Jul 2006 02:38:22 -0400 Original-To: Sridhar Boovaraghavan In-reply-to: (message from Sridhar Boovaraghavan on Wed, 26 Jul 2006 04:57:05 +0000 (UTC)) 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:57651 Archived-At: > From: Sridhar Boovaraghavan > Date: Wed, 26 Jul 2006 04:57:05 +0000 (UTC) > > 3. If the user has repositioned the emacs window before exiting, then I may be > persuaded to see it coming back to that position when restarted given no other > settings like +0+0 or a defined Left/Top. Even if so, what if he had two frames > open while exiting - do we keep the position of the frame that had the focus as > where emacs would come up - maybe there are other similar questions that need to > be discussed. You see, this is only the tip of the iceberg; there are other related issues that need to be discussed, decided, implemented, tested, rewritten according to users' bug/misfeatures reports, tested again, etc. For example: what do we do under "emacs -Q"? do we honor the previous recorded values or ignore them? how about "emacs -Q -D"? Etc., etc. Finally, Emacs doesn't behave like that on other platforms (AFAIK), i.e. it doesn't come up where you positioned it the last time, so this would be a deviation from the common behavior principle. This is why I think now is not the time to implement such a feature. > 4. If the user specifies HxW+X+Y in Emacs.Geometry, how about populating > default-frame-alist with those values (given that he doesn't specify another > value for it through his .emacs or .custom)? H and W _do_ get into default-frame-alist, as the `height' and `width' frame paramaters; if this doesn't work for you, please report that as a bug. X and Y are only put into the initial-frame-alist, because the idea is that these two geometry parameters are meant only for the initial frame. (The fact that the Windows port of Emacs currently ignores X and Y is a bug that should be fixed: we did obey them in version 21.4.)