unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* color schemes
@ 2009-02-06 11:32 lowly coder
  2009-02-06 21:04 ` Peter Dyballa
  0 siblings, 1 reply; 3+ messages in thread
From: lowly coder @ 2009-02-06 11:32 UTC (permalink / raw)
  To: Help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 213 bytes --]

I'm running a term with:
background = black
foreground = green

this works in most apps, like bash, irssi, etc ...; but emacs seems to
entirely ignore it. is there anyway i can get emacs to support this?

thanks!

[-- Attachment #2: Type: text/html, Size: 240 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: color schemes
       [not found] <mailman.35.1233938301.31690.help-gnu-emacs@gnu.org>
@ 2009-02-06 19:29 ` David Golden
  0 siblings, 0 replies; 3+ messages in thread
From: David Golden @ 2009-02-06 19:29 UTC (permalink / raw)
  To: help-gnu-emacs

lowly coder wrote:

> I'm running a term with:
> background = black
> foreground = green
> 
> this works in most apps, like bash, irssi, etc ...; but emacs seems to
> entirely ignore it. is there anyway i can get emacs to support this?
> 

Setting emacs' default face background and foreground color should
work at the text terminal as well as the bitmap gui.

So, in emacs:

M-x customize-face RET
default RET

- navigate to the foreground and background fields and
enter the colors you want. It will recognise the words black and green.

Also, if you uncheck both foreground and background's [X] checkmarks
(hit enter on them), so the checkmarks look like [ ] and the fields
show "*", it might just pick up your terminal default foreground and
background, but it might be more robust to use the named colors you
want.

(aside: you might want to look into switching on 256-color mode in your
text terminal if it supports it and it isn't on - emacs and several
other text-terminal interface capable apps will use a 256 color
terminal for more possible colors, which makes e.g. syntax highlighting
rather more usable.)




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: color schemes
  2009-02-06 11:32 lowly coder
@ 2009-02-06 21:04 ` Peter Dyballa
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2009-02-06 21:04 UTC (permalink / raw)
  To: lowly coder; +Cc: Help-gnu-emacs


Am 06.02.2009 um 12:32 schrieb lowly coder:

> is there anyway i can get emacs to support this?

Inside a terminal emulation GNU Emacs should use the colours set for  
foreground and background (automatic mode). Besides, its colours are  
restricted to those defined by ANSI. The function list-colors-display  
will show them. Besides, in no-window mode, i.e., in some terminal  
emulation, you don't have much more than a choice of darker or  
lighter background and then rather automatically set face values for  
text in the foreground.

Check the customisation browser or the documentation!

--
Greetings

   Pete

Clovis' Consideration of an Atmospheric Anomaly:
         The perversity of nature is nowhere better demonstrated
         than by the fact that, when exposed to the same atmosphere,
         bread becomes hard while crackers become soft.







^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-02-06 21:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.35.1233938301.31690.help-gnu-emacs@gnu.org>
2009-02-06 19:29 ` color schemes David Golden
2009-02-06 11:32 lowly coder
2009-02-06 21:04 ` Peter Dyballa

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).