unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* ps-print fg and bg colors
@ 2002-10-23 19:23 md5i
  0 siblings, 0 replies; only message in thread
From: md5i @ 2002-10-23 19:23 UTC (permalink / 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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-23 19:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-23 19:23 ps-print fg and bg colors md5i

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