help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copying Regions and terminal mode theme


From: Harry Putnam
Subject: Re: Copying Regions and terminal mode theme
Date: Mon, 29 Mar 2010 18:41:35 -0500
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: "Paulo J. Matos" <pocmatos@gmail.com>
>> Date: Mon, 29 Mar 2010 09:25:37 +0100
>> 
>> When I open emacs in the GUI, if I don't set a theme it comes with a
>> white background etc (default theme). However, if I open it in a
>> terminal it comes with a black background and quite awesome colours.
>> How can I set the black background and the colour scheme also for gui
>> use?
>
> Try
>
>    emacs -bg black

Also, another way to experiment with background colors:

In  a running GUI emacs you can evaluate code in the minibuffer with
`Alt-shift + :'  Which will give you an `eval' prompt in the
minibuffer. 

There you can type 
   (set-background-color "somecolor") <ENTER>

(including the parenthesis)

to change the background color.

Replace "somecolor" with different colors, to see the effect.  But
beware that if you set the background to a color close to the same as
the current foreground (the current font face) then you will have a
hard time seeing what you are typing.

Usually you can blind type another color to revert to something better
by `Alt-Shift + :' then use the up arrow to bring back your previous
evaluated command, often if you highlight the area where you know the
color was typed you will be able to see the double quotes surrounding
the color you used and can type something else there.

But if that isn't enough then just kill emacs and restart... your old
defaults will come back.

So don't try this with anything loaded in emacs that you can't just
kill to get back to your defaults.

You can make emacs display all the colors available so you have the
names at hand by 
     M-x list-colors-display <ENTER>

Of course you can experiment with the foreground color in a similar
way

  (set-foreground-color "somecolor") <ENTER>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]