all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Harry Putnam <reader@newsguy.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Copying Regions and terminal mode theme
Date: Mon, 29 Mar 2010 18:41:35 -0500	[thread overview]
Message-ID: <87pr2mhf0w.fsf@newsguy.com> (raw)
In-Reply-To: 83wrwv1omf.fsf@gnu.org

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>





      parent reply	other threads:[~2010-03-29 23:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-29  8:25 Copying Regions and terminal mode theme Paulo J. Matos
2010-03-29  8:39 ` Alberto Luaces
2010-03-29 21:10   ` Paulo J. Matos
2010-03-29  9:08 ` Eli Zaretskii
2010-03-29 21:11   ` Paulo J. Matos
2010-03-29 21:18     ` Drew Adams
2010-03-29 23:41   ` Harry Putnam [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pr2mhf0w.fsf@newsguy.com \
    --to=reader@newsguy.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.