* Background color in terminal
@ 2007-05-08 18:48 Leo
2007-05-08 19:00 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Leo @ 2007-05-08 18:48 UTC (permalink / raw)
To: help-gnu-emacs
Hi there,
It seems Emacs is assuming background types (dark or light) according to
terminal types.
Now I have one terminal screen-256color. Emacs thinks it is dark
background when it is actually light background. How can I correct this?
Thank you in advance.
Regards,
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Background color in terminal
2007-05-08 18:48 Background color in terminal Leo
@ 2007-05-08 19:00 ` Eli Zaretskii
2007-05-09 0:22 ` Leo
0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2007-05-08 19:00 UTC (permalink / raw)
To: help-gnu-emacs
> From: Leo <sdl.web@gmail.com>
> Date: Tue, 08 May 2007 19:48:29 +0100
>
> It seems Emacs is assuming background types (dark or light) according to
> terminal types.
Only on character (i.e. text-mode) terminals, since there's no
standard API to query them for their default background color.
> Now I have one terminal screen-256color. Emacs thinks it is dark
> background when it is actually light background. How can I correct this?
I think you want to customize the variable frame-background-mode,
which see.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Background color in terminal
2007-05-08 19:00 ` Eli Zaretskii
@ 2007-05-09 0:22 ` Leo
2007-05-09 3:11 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Leo @ 2007-05-09 0:22 UTC (permalink / raw)
To: help-gnu-emacs; +Cc: help-gnu-emacs
Dear Eli,
----- Eli Zaretskii (2007-05-08) wrote:-----
>> From: Leo <sdl.web@gmail.com>
>> Date: Tue, 08 May 2007 19:48:29 +0100
>>
>> It seems Emacs is assuming background types (dark or light) according
>> to terminal types.
>
> Only on character (i.e. text-mode) terminals, since there's no
> standard API to query them for their default background color.
>
>> Now I have one terminal screen-256color. Emacs thinks it is dark
>> background when it is actually light background. How can I correct
>> this?
>
> I think you want to customize the variable frame-background-mode,
> which see.
Can I make Emacs automatically examine the brightness?
regards,
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Background color in terminal
2007-05-09 0:22 ` Leo
@ 2007-05-09 3:11 ` Eli Zaretskii
0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2007-05-09 3:11 UTC (permalink / raw)
To: help-gnu-emacs
> From: Leo <sdl.web@gmail.com>
> Date: Wed, 09 May 2007 01:22:39 +0100
> Cc: help-gnu-emacs@gnu.org
>
> >> From: Leo <sdl.web@gmail.com>
> >> Date: Tue, 08 May 2007 19:48:29 +0100
> >>
> >> It seems Emacs is assuming background types (dark or light) according
> >> to terminal types.
> >
> > Only on character (i.e. text-mode) terminals, since there's no
> > standard API to query them for their default background color.
> >
> >> Now I have one terminal screen-256color. Emacs thinks it is dark
> >> background when it is actually light background. How can I correct
> >> this?
> >
> > I think you want to customize the variable frame-background-mode,
> > which see.
>
> Can I make Emacs automatically examine the brightness?
Like I said above: we don't know about any standard API to do that on
a tty. If you do, please tell Emacs developers about such an API.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-05-09 3:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-08 18:48 Background color in terminal Leo
2007-05-08 19:00 ` Eli Zaretskii
2007-05-09 0:22 ` Leo
2007-05-09 3:11 ` Eli Zaretskii
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).