all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [pdewacht@gmail.com: ps-print and ps-print-color-p == nil]
@ 2007-11-06  2:15 Richard Stallman
  2007-11-06 23:52 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Stallman @ 2007-11-06  2:15 UTC (permalink / raw)
  To: emacs-devel

Is this a real bug?  And is it fixed?  ISTR a change was made
in this a area month ago.  Did it fix this?

------- Start of forwarded message -------
X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY 
	autolearn=failed version=3.1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:date:message-id:from:to:subject:user-agent:mime-version:content-type;
	bh=z01/ku8r3GU71V+jzgAjzBNh4psh3KVY8b2VKbN6Z2g=;
	b=WrGytuqTNcFxknA++cmLhinjBqnV/g0prECGU9O/ZmsGhWVKPN0E/nD/pLjlw1dodveCR0Xz842l/dZHrnKTBh3/8aH72z+Oi3YJfmEHwNGaUNueOzKO31/b5jQZLSB5bpa1TsV74RvOLJMIGNLgLGZ/+nK+CGswNQwZZ7Fyg14=
Date: Sun, 04 Nov 2007 22:41:25 +0100
From: "Peter De Wachter" <pdewacht@gmail.com>
To: bug-gnu-emacs@gnu.org
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Subject: ps-print and ps-print-color-p == nil

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
------- End of forwarded message -------

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

* Re: [pdewacht@gmail.com: ps-print and ps-print-color-p == nil]
  2007-11-06  2:15 [pdewacht@gmail.com: ps-print and ps-print-color-p == nil] Richard Stallman
@ 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: rms; +Cc: emacs-devel

Richard Stallman wrote:

> Is this a real bug?  And is it fixed?  ISTR a change was made
> in this a area month ago.  Did it fix this?

Yes (to all 3 questions).

> From: "Peter De Wachter" <pdewacht@gmail.com>
> Subject: ps-print and ps-print-color-p == nil
> To: bug-gnu-emacs@gnu.org
> Date: Sun, 04 Nov 2007 22:41:25 +0100

^ 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-06  2:15 [pdewacht@gmail.com: ps-print and ps-print-color-p == nil] Richard Stallman
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.