From: "Peter De Wachter" <pdewacht@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: ps-print and ps-print-color-p == nil
Date: Sun, 04 Nov 2007 22:41:25 +0100 [thread overview]
Message-ID: <877ikxlmd6.wl%pdewacht@gmail.com> (raw)
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
next reply other threads:[~2007-11-04 21:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-04 21:41 Peter De Wachter [this message]
2007-11-06 23:52 ` ps-print and ps-print-color-p == nil Glenn Morris
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877ikxlmd6.wl%pdewacht@gmail.com \
--to=pdewacht@gmail.com \
--cc=bug-gnu-emacs@gnu.org \
/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 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.