[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PATCH: make initial frame set background-mode and face colors correc
From: |
Matt McClure |
Subject: |
Re: PATCH: make initial frame set background-mode and face colors correctly |
Date: |
21 Jun 2001 22:10:39 -0400 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
On Thu Jun 21 2001, 05:12, Eli Zaretskii <eliz@is.elta.co.il> wrote:
> On Thu Jun 21 2001, 00:18, Matt McClure <mlm@aya.yale.edu> wrote:
>
> > Forgive me if there is a better patch out there to do this, but I
> > couldn't find one when I searched for the answer to this annoyance.
> > You may have noticed that the initial frame doesn't set the
> > background-mode parameter correctly based on the background-color
> > parameter.
> >
> > This patch fixes that bad behavior.
> >
> > It seems, however, that frame.el must be compiled into the emacs
> > binary, so simply applying the patch to your frame.el and
> > recompiling frame.elc isn't enough to make the change take effect.
> > Instead you'll have to (the hard way) recompile your emacs with the
> > patch, or (the easy way) put a patched frame.el in your load-path
> > and do
> >
> > (load-library "frame")
> >
> > in your .emacs.
> >
> > Setting the background color in your .Xdefaults is a great
> > workaround that doesn't require this patch, but that unfortunately
> > won't work on Windows.
>
> If you want your patch to be considered for inclusion in Emacs, please
> post the description of the problem and the suggested changes to
> gnu.emacs.bug, where it will be reviewed by the Emacs maintainers.
Well, I don't want my first patch (posted to comp.emacs) to be
considered because I discovered it's just plain wrong. However, the
patch attached to this message seems to solve the problem, and I believe
it's correct.
frame.el.diff
Description: make initial frame set background-mode and face colors correctly
--
Matt
http://www.faradic.net/~mmcclure/
"I don't believe in rivalries. I don't believe in curses. Wake
up the damn Bambino, maybe I'll drill him in the (behind)."
-Pedro Martinez