unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Should customizing default-frame-alist change existing frames?
@ 2002-03-01  8:15 Per Abrahamsen
  2002-03-01 10:33 ` Juanma Barranquero
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Per Abrahamsen @ 2002-03-01  8:15 UTC (permalink / raw)
  Cc: Daniel Ortmann

[-- Attachment #1: Type: text/plain, Size: 739 bytes --]

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?


[-- Attachment #2: Type: message/rfc822, Size: 1410 bytes --]

From: "Daniel Ortmann" <dortmann@lsil.com>
To: <rms@gnu.org>
Subject: emacs customize / frame color setting [almost] bug
Date: Thu, 28 Feb 2002 10:53:51 -0600

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 <enter>
- default-frame-alist <enter>
- 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!

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2002-03-08  9:08 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-01  8:15 Should customizing default-frame-alist change existing frames? Per Abrahamsen
2002-03-01 10:33 ` Juanma Barranquero
2002-03-01 18:33   ` Stefan Monnier
2002-03-04  9:18     ` Juanma Barranquero
2002-03-04 21:29       ` Kim F. Storm
2002-03-01 10:57 ` Eli Zaretskii
2002-03-01 11:20 ` Kim F. Storm
2002-03-02 19:50 ` Richard Stallman
2002-03-05  8:42 ` Per Abrahamsen
2002-03-05 21:58   ` Richard Stallman
2002-03-06 11:15     ` Per Abrahamsen
2002-03-08  9:08       ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).