From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.help Subject: Re: Copying Regions and terminal mode theme Date: Mon, 29 Mar 2010 18:41:35 -0500 Organization: Still searching... Message-ID: <87pr2mhf0w.fsf@newsguy.com> References: <11b141711003290125ia661ed9ndb983347a00ed821@mail.gmail.com> <83wrwv1omf.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1269906190 2746 80.91.229.12 (29 Mar 2010 23:43:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 29 Mar 2010 23:43:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 30 01:43:06 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NwObj-0002q0-Mo for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Mar 2010 01:42:59 +0200 Original-Received: from localhost ([127.0.0.1]:57957 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwObj-0000SC-6a for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Mar 2010 19:42:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NwOag-00006e-QD for help-gnu-emacs@gnu.org; Mon, 29 Mar 2010 19:41:54 -0400 Original-Received: from [140.186.70.92] (port=33571 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwOae-00005Y-A7 for help-gnu-emacs@gnu.org; Mon, 29 Mar 2010 19:41:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NwOab-0002Ws-WD for help-gnu-emacs@gnu.org; Mon, 29 Mar 2010 19:41:52 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:36486) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwOab-0002WY-Ge for help-gnu-emacs@gnu.org; Mon, 29 Mar 2010 19:41:49 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NwOaZ-0002Sm-4m for help-gnu-emacs@gnu.org; Tue, 30 Mar 2010 01:41:47 +0200 Original-Received: from c-98-215-178-110.hsd1.in.comcast.net ([98.215.178.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Mar 2010 01:41:47 +0200 Original-Received: from reader by c-98-215-178-110.hsd1.in.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Mar 2010 01:41:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 53 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-98-215-178-110.hsd1.in.comcast.net User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:Rgls0XfEI/unRUorm0EVubWznp4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72541 Archived-At: Eli Zaretskii writes: >> From: "Paulo J. Matos" >> 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") (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 Of course you can experiment with the foreground color in a similar way (set-foreground-color "somecolor")