unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: md5i@cs.cmu.edu
Subject: ps-print fg and bg colors
Date: Wed, 23 Oct 2002 15:23:39 -0400	[thread overview]
Message-ID: <v1thefdez7o.fsf@miyazima.lti.cs.cmu.edu> (raw)

With this changelog entry:

2002-09-11  Vinicius Jose Latorre  <vinicius@cpqd.com.br>

	* ps-print.el: Adjust ps-print-color-p, ps-default-fg and
	ps-default-bg setting.
	(ps-print-version): New version number (6.5.7).
	(ps-mark-active-p): New fun.
	(ps-print-preprint-region): Adjust code.


the folowing change was made:

@@ -2890,7 +2913,8 @@
 		 (const :tag "Print Black/White Color" black-white))
   :group 'ps-print-color)
 
-(defcustom ps-default-fg '(0.0 0.0 0.0)
+(defcustom ps-default-fg (or (ps-face-foreground-name 'default)
+			     '(0.0 0.0 0.0)) ; black
   "*RGB values of the default foreground color.  Defaults to black."
   :type '(choice :menu-tag "Default Foreground Gray/Color"
 		 :tag "Default Foreground Gray/Color"
@@ -2902,7 +2926,8 @@
 		       (number :tag "Blue")))
   :group 'ps-print-color)
 
-(defcustom ps-default-bg '(1.0 1.0 1.0)
+(defcustom ps-default-bg (or (ps-face-background-name 'default)
+			     '(1.0 1.0 1.0)) ; white
   "*RGB values of the default background color.  Defaults to white."
   :type '(choice :menu-tag "Default Background Gray/Color"
 		 :tag "Default Background Gray/Color"


Unfortunately, this is probably the wrong default for people like me
who use a dark background and light foreground.  Maybe forground and
background should be reversed when the frame's background-mode is
`dark'?

-- 
Michael Welsh Duggan
(md5i@cs.cmu.edu)

                 reply	other threads:[~2002-10-23 19:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=v1thefdez7o.fsf@miyazima.lti.cs.cmu.edu \
    --to=md5i@cs.cmu.edu \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).