bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ps-print and ps-print-color-p == nil


From: Peter De Wachter
Subject: ps-print and ps-print-color-p == nil
Date: Sun, 04 Nov 2007 22:41:25 +0100
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.7 Emacs/22.1 (x86_64-pc-linux-gnu) MULE/5.0 (SAKAKI)

I have emacs configured to use a blue background:
(set-face-attribute 'default nil :background "#0000AA" :foreground "#EAEAEA")

I have set ps-print-color-p to nil, in the expectation that
ps-print-buffer-with-faces would print black-on-white (the
documentation says "do not print colors"). Instead, it seems to use
the colors of the default face and prints come out white-on-dark-gray
(I don't have a color printer).

I was able to work around this by setting ps-default-fg and
ps-default-bg, but according to the documentation these variables
aren't used when ps-print-color-p is nil. So that's a related bug.


In GNU Emacs 22.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.12.1)
 of 2007-11-03 on excelsior, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10400000
configured using `configure  '--build=x86_64-linux-gnu' 
'--host=x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' 
'--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' 
'--mandir=/usr/share/man' '--with-pop=yes' 
'--enable-locallisppath=/etc/emacs22:/etc/emacs:/usr/local/share/emacs/22.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.1/leim'
 '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 
'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN 
-g -O2''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nl_BE.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  partial-completion-mode: t
  show-paren-mode: t
  delete-selection-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<down> <down> <down> <down> <next> <down> C-s C-s C-s 
C-s C-s C-s C-s C-s <home> C-s b a c k g r o u n d 
C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s 
C-s <home> C-s C-s C-s C-s C-s C-s C-s C-s <home> C-s 
C-s <home> <down-mouse-4> <mouse-4> <down-mouse-4> 
<mouse-4> C-s C-s C-s M-: p s - d e f a u l t - b g 
<return> <down-mouse-5> <mouse-5> <down-mouse-5> <mouse-5> 
<down-mouse-5> <mouse-5> C-x b C-g M-x c u s t o m 
i z e - g r o u p <tab> <return> p s - e d i <backspace> 
<backspace> <backspace> p r i n t - c o l o r <return> 
<help-echo> <down-mouse-1> <down-mouse-1> <down-mouse-1> 
<help-echo> <help-echo> <help-echo> <help-echo> <down-mouse-1> 
<mouse-1> <down-mouse-1> <mouse-1> M-x <up> <up> <up> 
<up> <return> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <down-mouse-1> <mouse-1> <help-echo> <down-mouse-5> 
<mouse-5> <down-mouse-5> <mouse-5> <help-echo> <down-mouse-1> 
<mouse-1> <down-mouse-4> <mouse-4> <down-mouse-4> <mouse-4> 
<help-echo> <down-mouse-1> <mouse-1> <help-echo> <down-mouse-5> 
<mouse-5> <down-mouse-5> <mouse-5> C-x b <return> C-s 
p s - d e a f a <backspace> <backspace> <backspace> 
f a u l t - b g C-s C-s C-s C-s C-s <down-mouse-4> 
<mouse-4> <down-mouse-1> <mouse-1> C-s C-s C-s C-s 
C-s C-s C-s C-s C-s C-s C-s C-s <C-home> C-h v p s 
- <backspace> <backspace> C-g M-: M-( l i s t - SPC 
p s <backspace> <backspace> <backspace> <backspace> 
SPC p s - p r i n t - c o l o r - p SPC C-g s-: M-: 
<up> C-k e <backspace> e m <backspace> <backspace> 
( e m a C-g M-x v e r s i o n <return> <down> <up> 
M-x r e p o r t - b u f <backspace> g <return> <backspace> 
<backspace> <backspace> <backspace> <tab> <return>

Recent messages:
Quit
To install your edits, invoke [State] and choose the Set operation [3 times]
Wrote /home/pdewacht/.emacs [4 times]
Formatting...done
Printing...done
Mark saved where search started [2 times]
Mark set
Quit [3 times]
GNU Emacs 22.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.12.1) of 2007-11-03 on 
excelsior, modified by Debian
Loading emacsbug...done




reply via email to

[Prev in Thread] Current Thread [Next in Thread]