From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Per Abrahamsen Newsgroups: gmane.emacs.devel Subject: Should customizing default-frame-alist change existing frames? Date: Fri, 01 Mar 2002 09:15:39 +0100 Organization: The Church of Emacs Message-ID: NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: quimby2.netfonds.no 1014970969 8338 195.204.10.66 (1 Mar 2002 08:22:49 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 1 Mar 2002 08:22:49 GMT Cc: "Daniel Ortmann" Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16giJU-0002AO-00 for ; Fri, 01 Mar 2002 09:22:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16giEs-0000xs-00; Fri, 01 Mar 2002 03:18:02 -0500 Original-Received: from sheridan.dina.kvl.dk ([130.225.40.227]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16giCb-0000sS-00 for ; Fri, 01 Mar 2002 03:15:41 -0500 Original-Received: from ssv2.dina.kvl.dk (ssv2.dina.kvl.dk [130.225.40.226]) by sheridan.dina.kvl.dk (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id JAA03873; Fri, 1 Mar 2002 09:15:39 +0100 Original-Received: from abraham by ssv2.dina.kvl.dk with local (Exim 3.12 #1 (Debian)) id 16giCZ-0000zD-00; Fri, 01 Mar 2002 09:15:39 +0100 Original-To: emacs-devel@gnu.org X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM|8MBp/ Original-Lines: 66 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i686-pc-linux-gnu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1668 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1668 --=-=-= RMS asked me to look at this, but did not say what to do. I can see two solutions: 1. Change the doc string to say that existing frames will not be affected by setting default-frame-alist, only new ones. 2. Add a :set method that applies the frame parameters to all existing frames. I think #2 could be dangerous, especially if there are any "special purpose" (like ediff of speedbar) frames around. One could try to be smart about it, by only changing the current frame, or only changing the frame is there is only one, or only changing the frames which were not marked as "special", or whose frame parameters were close to the old value. However, such partial appliances might be even more confusing. What do you think? --=-=-= Content-Type: message/rfc822 Content-Disposition: inline From: "Daniel Ortmann" To: Subject: emacs customize / frame color setting [almost] bug Date: Thu, 28 Feb 2002 10:53:51 -0600 X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 MIME-Version: 1.0 Hello, (I would use send-pr, except the company firewall won't let my GNU machine [Linux] roam free. Down with corrals! I'll work on reconfiguring the sendmail.cf so I can get through properly.:-) Problem: This is really a problem with user expectation, but it is surprising enough that something should be done ... The default frame colors are getting set from within the customize buffer, but the changes are not immediately visible (since the "defaults" are applied when a new frame initializes). Steps to repeat: - M-x customize-apropos - default-frame-alist - Insert (or change) the background color to something different (such as gray20, etc) - Click "Save for Current Session" The result is that the color does not change as I expected it would. I have to start up a new frame so the default colors take effect. Perhaps the correct response is "Yup, that's how it is", but it leaves users [such as me] confused [at least for a while]. The version of emacs is: GNU Emacs 21.2.50.1 (i686-linux-gnu, X toolkit, Xaw3d scroll bars) of 2002-01-16 on rmauctor.lsil.com Thanks! --=-=-=-- _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel