unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Per Abrahamsen <abraham@dina.kvl.dk>
Cc: "Daniel Ortmann" <dortmann@lsil.com>
Subject: Should customizing default-frame-alist change existing frames?
Date: Fri, 01 Mar 2002 09:15:39 +0100	[thread overview]
Message-ID: <rjr8n4g0us.fsf@ssv2.dina.kvl.dk> (raw)

[-- 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!

             reply	other threads:[~2002-03-01  8:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-01  8:15 Per Abrahamsen [this message]
2002-03-01 10:33 ` Should customizing default-frame-alist change existing frames? 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=rjr8n4g0us.fsf@ssv2.dina.kvl.dk \
    --to=abraham@dina.kvl.dk \
    --cc=dortmann@lsil.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).