From: Scott Blachowicz <scott@statsci.com>
Cc: ding@ifi.uio.no, campo@sunthpi3.difi.unipi.it,
elf@mailhost.ee.ryerson.ca (Luis Fernandes)
Subject: Re: default colors (dark background)
Date: Mon, 06 Nov 1995 09:20:19 -0800 [thread overview]
Message-ID: <m0tCVDX-000r3yC@main.statsci.com> (raw)
In-Reply-To: Your message of "Fri, 03 Nov 1995 18:15:17 -0600." <199511040015.SAA01979@galil.austnsc.tandem.com.>
Sten Drescher <dreschs@mpd.tandem.com> wrote:
> This lets me change colors to suit my mood. What can I put in
> the defuns to change gnus colors appropriately? (And, in a non-gnus
> emacs question, how can I set one of the color schemes and the font as
> the default for all frames, not just the first one?)
I'm not sure if this is complete, up-to-date or "proper" (I believe it is
definitely specific to GNU Emacs 19, not XEmacs), but I've got this
function that I put together a while ago:
(defun sab:modify-all-frames (alist)
;; Modify existing frames
(mapcar (lambda (f)
(modify-frame-parameters f alist))
(frame-list))
;; Set defaults for new frames
(mapcar (lambda (f)
(let ((old (assoc (car f) default-frame-alist)))
(setq default-frame-alist
(append
(if old
(delete old default-frame-alist)
default-frame-alist)
(list f)))
)
)
alist
)
)
and I call it like this:
(sab:modify-all-frames
'((foreground-color . "DarkSlateBlue")
(background-color . "grey90")
)
)
Scott Blachowicz Ph: 206/283-8802x240 StatSci, a div of MathSoft, Inc.
1700 Westlake Ave N #500
scott@statsci.com Seattle, WA USA 98109
Scott.Blachowicz@seaslug.org
prev parent reply other threads:[~1995-11-06 17:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <9510311257.AA07216@sunthpi3.sunthpi>
[not found] ` <9510311354.AA26702@gemini.ryerson.ca>
1995-11-04 0:15 ` Sten Drescher
[not found] ` <199511040015.SAA01979@galil.austnsc.tandem.com.>
1995-11-04 18:15 ` Luis Fernandes
1995-11-04 20:07 ` Per Abrahamsen
1995-11-06 17:20 ` Scott Blachowicz [this message]
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=m0tCVDX-000r3yC@main.statsci.com \
--to=scott@statsci.com \
--cc=campo@sunthpi3.difi.unipi.it \
--cc=ding@ifi.uio.no \
--cc=elf@mailhost.ee.ryerson.ca \
/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.
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 NNTP newsgroup(s).