all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Background color in emacs
@ 2006-01-16 12:54 Stefan Bienert
  2006-01-16 20:37 ` Peter Dyballa
  0 siblings, 1 reply; 8+ messages in thread
From: Stefan Bienert @ 2006-01-16 12:54 UTC (permalink / raw)


Hello,

I'm trying to get emacs in X to the same look as in the console. I mean with a black background. But if I use set-background-color, the black font in emacs does not turn into white?
Any help? 

-- 
greetings,

Stefan
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193

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

* Re: Background color in emacs
       [not found] <mailman.1291.1137424773.26925.help-gnu-emacs@gnu.org>
@ 2006-01-16 14:38 ` Bastien
  2006-01-16 15:54 ` Mathias Dahl
  1 sibling, 0 replies; 8+ messages in thread
From: Bastien @ 2006-01-16 14:38 UTC (permalink / raw)


Stefan Bienert <stefanbienert@web.de> writes:

> Hello,
>
> I'm trying to get emacs in X to the same look as in the console. I
> mean with a black background. But if I use set-background-color, the
> black font in emacs does not turn into white?  Any help?

Another way to it is to use color-theme and color-theme-dark-laptop.

http://www.emacswiki.org/cgi-bin/wiki?ColorTheme

(require 'color-theme nil t)
(color-theme-dark-laptop)

-- 
Bastien

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

* Re: Background color in emacs
       [not found] <mailman.1291.1137424773.26925.help-gnu-emacs@gnu.org>
  2006-01-16 14:38 ` Bastien
@ 2006-01-16 15:54 ` Mathias Dahl
  1 sibling, 0 replies; 8+ messages in thread
From: Mathias Dahl @ 2006-01-16 15:54 UTC (permalink / raw)


Stefan Bienert <stefanbienert@web.de> writes:


> I'm trying to get emacs in X to the same look as in the console. I
> mean with a black background. But if I use set-background-color, the
> black font in emacs does not turn into white?

You also need to set the foreground color, for example:

 M-x set-foreground-color RET green RET

There is something called `color-theme' that you might want to check
out. It helps you do all that, and more:

http://www.emacswiki.org/cgi-bin/wiki?ColorTheme

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

* Re: Background color in emacs
  2006-01-16 12:54 Background color in emacs Stefan Bienert
@ 2006-01-16 20:37 ` Peter Dyballa
  0 siblings, 0 replies; 8+ messages in thread
From: Peter Dyballa @ 2006-01-16 20:37 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 16.01.2006 um 13:54 schrieb Stefan Bienert:

> I mean with a black background. But if I use set-background-color,  
> the black font in emacs does not turn into white?

You could try something this:

         (setq initial-frame-alist '(
                 (border-color     . "#4e3832")
                 (mouse-color      . "midnightblue")
                 (foreground-color . "pink")
                 (background-color . "black")
                 (font . "-*-*-medium-r-normal--10-*-*-*-*-*-fontset- 
hiraginomin")
                 (top . 10) (left . 650) (width . 89) (height . 60)))
         (setq default-frame-alist '(
                 (background-color . "ghost white")
                 (foreground-color . "grey10")
                 (vertical-scroll-bars . left)
                 (font . "-*-*-medium-r-normal--12-*-*-*-*-*-fontset- 
hiraginokaku")
                 (cursor-color . "purple")
                 (cursor-type . box)


--
Mit friedvollen Grüßen

   Pete

The box said "Use Windows 95 or better," so I got a Macintosh

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

* Re: Background color in emacs
@ 2006-01-17  8:33 Stefan Bienert
  2006-01-17 17:35 ` Edward O'Connor
  0 siblings, 1 reply; 8+ messages in thread
From: Stefan Bienert @ 2006-01-17  8:33 UTC (permalink / raw)


Hello,

now I've downloaded color-theme 6.5.5 and put the following into my .emacs:

(add-to-list 'load-path "~/elisp")
    (require 'color-theme)

Now I get the following error on startup:

An error has occurred while loading `/home/sbienert/.emacs':

Wrong type argument: keymapp, nil

To ensure normal operation, you should investigate the cause
of the error in your initialization file and remove it.  Start
Emacs with the `--debug-init' option to view a complete error
backtrace
Loading mwheel...done
setq: Symbol's function definition is void: color-theme-filter

What now? Is color-theme really worth fighting?

greetings,

Stefan

> 
> Another way to it is to use color-theme and color-theme-dark-laptop.
> 
> http://www.emacswiki.org/cgi-bin/wiki?ColorTheme
> 
> (require 'color-theme nil t)
> (color-theme-dark-laptop)
> 
> -- 
> Bastien
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

-- 
mit freundlichen Gruessen

Stefan Bienert

The box said,
                     -----------------------------
                     |Requires Windows 98|
                     |         or better.          |
                     -----------------------------

                     SO I INSTALLED LINUX.
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193

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

* Re: Background color in emacs
       [not found] <mailman.1416.1137486956.26925.help-gnu-emacs@gnu.org>
@ 2006-01-17 16:28 ` Chris McMahan
  0 siblings, 0 replies; 8+ messages in thread
From: Chris McMahan @ 2006-01-17 16:28 UTC (permalink / raw)


This is taken from 
http://www.emacswiki.org/cgi-bin/wiki/ColorThemeQuestions
linked in from http://www.emacswiki.org/cgi-bin/wiki?ColorTheme

------------------------------
Problems with GnuEmacs 21.4.1

Everything works fine, if I start with load-library color-theme in
the input line. If I try to load from .emacs file I get an error:

Wrong type argument: keymapp, nil

[…]

setq: Symbol's function definition is void: color-theme-filter

Same for me!!! Sob… Emilio Luque

The answer is simple, I made a change in the code (pretty small
change btw) to make color-theme working with emacs-devel. To switch
back this change, just change all occurences of easy-add-menu to
have "tools" instead of "Tools". That should do the trick. I have
opened a bug report on Gna!
(https://gna.org/bugs/?func=detailitem&item_id=5059).
------------------------------

- Chris

Stefan Bienert <stefanbienert@web.de> writes:

> Hello,
>
> now I've downloaded color-theme 6.5.5 and put the following into my .emacs:
>
> (add-to-list 'load-path "~/elisp")
>     (require 'color-theme)
>
> Now I get the following error on startup:
>
> An error has occurred while loading `/home/sbienert/.emacs':
>
> Wrong type argument: keymapp, nil
>
> To ensure normal operation, you should investigate the cause
> of the error in your initialization file and remove it.  Start
> Emacs with the `--debug-init' option to view a complete error
> backtrace
> Loading mwheel...done
> setq: Symbol's function definition is void: color-theme-filter
>
> What now? Is color-theme really worth fighting?
>
> greetings,
>
> Stefan
>
>> 
>> Another way to it is to use color-theme and color-theme-dark-laptop.
>> 
>> http://www.emacswiki.org/cgi-bin/wiki?ColorTheme
>> 
>> (require 'color-theme nil t)
>> (color-theme-dark-laptop)
>> 
>> -- 
>> Bastien
>> _______________________________________________
>> help-gnu-emacs mailing list
>> help-gnu-emacs@gnu.org
>> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
> -- 
> mit freundlichen Gruessen
>
> Stefan Bienert
>
> The box said,
>                      -----------------------------
>                      |Requires Windows 98|
>                      |         or better.          |
>                      -----------------------------
>
>                      SO I INSTALLED LINUX.
> ______________________________________________________________
> Verschicken Sie romantische, coole und witzige Bilder per SMS!
> Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
>
>
>

-- 
     (.   .)
  =ooO=(_)=Ooo=====================================
  Chris McMahan | first_initiallastname@one.dot.net
  =================================================

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

* Re: Background color in emacs
  2006-01-17  8:33 Stefan Bienert
@ 2006-01-17 17:35 ` Edward O'Connor
  0 siblings, 0 replies; 8+ messages in thread
From: Edward O'Connor @ 2006-01-17 17:35 UTC (permalink / raw)


> now I've downloaded color-theme 6.5.5 and put the following into my
> .emacs:
>
> (add-to-list 'load-path "~/elisp")
> (require 'color-theme)
>
> Now I get the following error on startup:
>
> An error has occurred while loading `/home/sbienert/.emacs':
>
> Wrong type argument: keymapp, nil

Comment out these four lines (they're around line 588 in my copy of
color-theme.el):

(require 'easymenu)
(easy-menu-add-item nil '("Tools") "--")
(easy-menu-add-item  nil '("Tools")
  ["Color Themes" color-theme-select t])


Ted

-- 
Edward O'Connor
hober0@gmail.com

Ense petit placidam sub libertate quietem.

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

* Re: Background color in emacs
@ 2006-01-17 20:18 Stefan Bienert
  0 siblings, 0 replies; 8+ messages in thread
From: Stefan Bienert @ 2006-01-17 20:18 UTC (permalink / raw)


Thanks a lot!

it is sufficient to just change ¨Tools¨ into ¨tools¨ in these lines!

> > now I've downloaded color-theme 6.5.5 and put the following into my
> > .emacs:

> Comment out these four lines (they're around line 588 in my copy of
> color-theme.el):
> 
> (require 'easymenu)
> (easy-menu-add-item nil '("Tools") "--")
> (easy-menu-add-item  nil '("Tools")
>   ["Color Themes" color-theme-select t])
> 



-- 
mit freundlichen Gruessen

Stefan Bienert

The box said,
                     -----------------------------
                     |Requires Windows 98|
                     |         or better.          |
                     -----------------------------

                     SO I INSTALLED LINUX.
__________________________________________________________________________
Erweitern Sie FreeMail zu einem noch leistungsstarkeren E-Mail-Postfach!		
Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131

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

end of thread, other threads:[~2006-01-17 20:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-16 12:54 Background color in emacs Stefan Bienert
2006-01-16 20:37 ` Peter Dyballa
     [not found] <mailman.1291.1137424773.26925.help-gnu-emacs@gnu.org>
2006-01-16 14:38 ` Bastien
2006-01-16 15:54 ` Mathias Dahl
  -- strict thread matches above, loose matches on Subject: below --
2006-01-17  8:33 Stefan Bienert
2006-01-17 17:35 ` Edward O'Connor
     [not found] <mailman.1416.1137486956.26925.help-gnu-emacs@gnu.org>
2006-01-17 16:28 ` Chris McMahan
2006-01-17 20:18 Stefan Bienert

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.