From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: stromme@math.uib.no (Stein Arild =?iso-8859-1?Q?Str=F8mme?=) Newsgroups: gmane.emacs.help Subject: Re: printing with dark background and faces Date: Wed, 09 May 2007 14:58:19 +0200 Organization: Universitetet i Bergen, Matematisk institutt Message-ID: References: <1178698459.177238.95520@y80g2000hsf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1178717616 29022 80.91.229.12 (9 May 2007 13:33:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 May 2007 13:33:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 09 15:33:32 2007 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.50) id 1HlmIE-0006c4-3B for geh-help-gnu-emacs@m.gmane.org; Wed, 09 May 2007 15:33:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HlmPQ-0007fK-3u for geh-help-gnu-emacs@m.gmane.org; Wed, 09 May 2007 09:40:48 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!news.tiscali.de!uio.no!nntp.uib.no!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 44 Original-NNTP-Posting-Host: mi061052.klientdrift.uib.no Original-X-Trace: toralf.uib.no 1178715499 82524 129.177.61.52 (9 May 2007 12:58:19 GMT) Original-X-Complaints-To: abuse@uib.no Original-NNTP-Posting-Date: 9 May 2007 12:58:19 GMT User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:udEhOnIO2dZ5e4FejMXQa4J7pR4= Original-Xref: shelby.stanford.edu gnu.emacs.help:148240 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:43830 Archived-At: [Nordlöw] | On 9 Maj, 09:05, stro...@math.uib.no (Stein Arild Strømme) wrote: | > [Allan Gottlieb] | > | > | I use a dark (actually black) background and like it, except for a | > | problem with printing. Although I mainly encounter the problem with | > | gnus, I believe it is an emacs, rather than qnus, question so I am | > | asking it here. | > | | > | The function in question is ps-print-buffer-with faces, which works | > | just as expected and produces a hard copy that resembles the screen. | > | | > | The trouble is that white on black, which I like on the screen, is | > | quite bad on paper (and uses a lot of ink). I know about | > | ps-print-without-faces, but sometimes the color is useful. | > | | > | What I would like is to have the print look the way my screen would | > | look were I using a light background. Any suggestions? | > | > (setq ps-print-color-p nil) | | I have also wondered about this problem for quite some time. If | believe the above statement strips away all colors which I think is | not what Allan wants. You are right of course, I did not pay close enough attention. But "the way my screen would look were I using a light background" is hardly a well-defined notion, either. | If I do want to use the light-background coloring when printing, | should I then temporarily set the frame background to white, print and | then switch back? If so how do I dynamically change the background of | a window or frame from dark to light (white) and make the font-locking | follow correctly as had I restarted emacs with a light background? Look at color-theme.el for a quick way to change all colors. SA -- Stein Arild Strømme +47 55584825, +47 95801887 Universitetet i Bergen Fax: +47 55589672 Matematisk institutt, UiB http://math.uib.no/stromme/ Johs Brunsg 12, N-5008 BERGEN stromme@math.uib.no