all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: Changing foreground/background colors in all frames
Date: Wed, 21 Jun 2006 13:15:01 -0700	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICMEGNDHAA.drew.adams@oracle.com> (raw)
In-Reply-To: <44999C53.2070706@news.nobbz.de>

    > (defun set-frame-value-all (key val)        ;; change frame attribute
    >     (aput 'initial-frame-alist key val)     ;; for ALL frames
    >     (aput 'default-frame-alist key val)
    >     (modify-frame-parameters (selected-frame) (list (cons key val))))
    
    Doesn't help here: Symbol's function definition is void: aput
    
See my message today replying to subject "Save the font setting" - it applies to all frame parameters, not just the font. Just get some frame to be the way you want all frames to be, then use `set-frame-alist-parameter-from-frame' or 'set-all-frame-alist-parameters-from-frame'. After that, use Customize to save the alists you updated (e.g. `default-frame-alist' and `initial-frame-alist').

If you don't want to do that, just customize those variables directly. What's good about the `set*' commands is that you need not know anything about how frame parameters are represented. See this doc: http://www.emacswiki.org/cgi-bin/wiki/CustomizingAndSaving#SavingFrameParameters.

  reply	other threads:[~2006-06-21 20:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-21 15:33 Changing foreground/background colors in all frames Swidan, Firas
2006-06-21 17:24 ` Gilbert Harman
2006-06-21 18:45   ` Swidan, Firas
2006-06-21 17:38 ` Ehud Karni
2006-06-21 19:21 ` Peter Dyballa
     [not found] ` <mailman.3128.1150911529.9609.help-gnu-emacs@gnu.org>
2006-06-21 19:21   ` Norbert Melzer
2006-06-21 20:15     ` Drew Adams [this message]
     [not found] <mailman.3123.1150909180.9609.help-gnu-emacs@gnu.org>
2006-06-21 22:36 ` Tim X

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

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

  git send-email \
    --in-reply-to=DNEMKBNJBGPAOPIJOOICMEGNDHAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.