unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: stromme@math.uib.no (Stein Arild Strømme)
To: help-gnu-emacs@gnu.org
Subject: Re: printing with dark background and faces
Date: Wed, 09 May 2007 14:58:19 +0200	[thread overview]
Message-ID: <jxuy7jy17dg.fsf@math.uib.no> (raw)
In-Reply-To: 1178698459.177238.95520@y80g2000hsf.googlegroups.com

[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

  reply	other threads:[~2007-05-09 12:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.411.1178668435.32220.help-gnu-emacs@gnu.org>
2007-05-09  7:05 ` printing with dark background and faces Stein Arild Strømme
2007-05-09  8:14   ` Nordlöw
2007-05-09 12:58     ` Stein Arild Strømme [this message]
2007-05-09 15:55       ` Allan Gottlieb
2007-05-09 14:08     ` Peter Dyballa
2007-05-09 19:12   ` Eli Zaretskii
2007-05-24  1:31     ` Allan Gottlieb
2007-05-08 21:28 Allan Gottlieb
2007-05-09  8:41 ` Bauke Jan Douma

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jxuy7jy17dg.fsf@math.uib.no \
    --to=stromme@math.uib.no \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).