Vinicius Jose Latorre <address@hidden> writes:
Christian Schlauer wrote:
[...]
I'm still using Emacs 22.1 -- I'll test it "soon" ;-)
Ok, please, let me know the results of your tests.
I updated my EMACS_22_BASE checkout and did
emacs -q --no-site-file
C-u M-x ps-print-buffer-with-faces RET C-g
M-x set-variable RET ps-default-bg RET frame-parameter RET
The last line is necessary in Emacs 22.1.50 as `ps-default-bg' is nil
now by default (as you wrote):
PS: I fixed the problems below and also set ps-default-fg and
ps-default-bg to nil, so the default colors are black for foreground
and white for background.
Then I repeated the test sequences mentioned in my original posting.
Everything works as expected: the background of the PS files is white
_unless_ I set `ps-default-bg' to `frame-parameter' _and_
`ps-print-color-p' is t (the default). Thank you!
,----[ C-h v ps-print-color-p RET ]
| ps-print-color-p is a variable defined in `ps-print.el'.
| Its value is t
|
|
| Documentation:
| *Specify how buffer's text color is printed.
|
| Valid values are:
|
| nil Do not print colors.
|
| t Print colors.
|
| black-white Print colors on black/white printer.
| See also `ps-black-white-faces'.
|
| Any other value is treated as t.
|
| You can customize this variable.
`----