all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ps-print and ps-print-color-p == nil
@ 2007-11-04 21:41 Peter De Wachter
  2007-11-06 23:52 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Peter De Wachter @ 2007-11-04 21:41 UTC (permalink / raw)
  To: bug-gnu-emacs

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ps-print and ps-print-color-p == nil
  2007-11-04 21:41 ps-print and ps-print-color-p == nil Peter De Wachter
@ 2007-11-06 23:52 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2007-11-06 23:52 UTC (permalink / raw)
  To: Peter De Wachter; +Cc: bug-gnu-emacs

"Peter De Wachter" wrote:

> 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

Thanks; this will be fixed in Emacs 22.2.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-06 23:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-04 21:41 ps-print and ps-print-color-p == nil Peter De Wachter
2007-11-06 23:52 ` Glenn Morris

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.