From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: color customisation and multiple windows
Date: Sun, 15 Apr 2007 14:07:17 +1000 [thread overview]
Message-ID: <87y7kuuvpm.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: 1176561098.360806.85690@y5g2000hsa.googlegroups.com
arildna@gmail.com writes:
> On Apr 14, 1:49 pm, Eli Zaretskii <e...@gnu.org> wrote:
>> > From: aril...@gmail.com
>> > Date: 14 Apr 2007 03:25:26 -0700
>>
>> > A friend spent quite some time on doing a color customization which I
>> > am quite happy with (though if anyone has tips for other color schemes
>> > that they think would work better, feel free to comment). The problem
>> > is that when I create a new window with C-x-5-2, the background color
>> > for some reason changes from black to white, making a lot of the text
>> > almost unreadable.
>>
>> This happens because you used incorrect customizations:
>>
>> > (set-foreground-color "DarkGoldenrod1")
>> > (set-background-color "black")
>>
>> These apply only to the initial frame. When you create other frames
>> with `C-x 5 2', their colors and faces use the default values. See
>> the documentation of these two functions (accessible with `C-h f').
>>
>> Instead, use something like this:
>>
>> (add-to-list 'default-frame-alist '(foreground-color . "DarkGoldenrod1"))
>>
>> and similarly for the background color.
>>
>> This is explained in the Emacs user manual, in the node named
>> "Creating Frames". I suggest to take a few minutes and read tfhat.
>
> Thanks a million, that worked like a charm.
>
> And I apologise for not having found the node in the manual; it did
> indeed explain it quite straightforwardly.
>
You might also want to check out the color-themes.el package. It provides a lot
of different themes and you can switch between them 'on the fly'. It also shows
a way of defining a new theme and including it etc.
Tim
--
tcross (at) rapttech dot com dot au
next prev parent reply other threads:[~2007-04-15 4:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-14 10:25 color customisation and multiple windows arildna
2007-04-14 11:49 ` Eli Zaretskii
[not found] ` <mailman.2068.1176551643.7795.help-gnu-emacs@gnu.org>
2007-04-14 14:31 ` arildna
2007-04-15 4:07 ` Tim X [this message]
2007-04-14 19:58 ` Karl Hegbloom
2007-04-15 20:12 ` Matthew Flaschen
2007-04-15 21:45 ` sven.bretfeld
2007-04-15 22:09 ` sven.bretfeld
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=87y7kuuvpm.fsf@lion.rapttech.com.au \
--to=timx@nospam.dev.null \
--cc=help-gnu-emacs@gnu.org \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).