Re: ps-print-buffer-with-faces doesn't use selected frame's background

2007-01-22 Thread Leo
On 2007-01-22, Richard Stallman said: I just tested it. With ps-use-face-background set to t, it seems to print correctly. Should that be the default setting of ps-use-face-background? Since I print to .ps file I don't mind setting it to t. But for others using the REAL printer, that

Re: ps-print-buffer-with-faces doesn't use selected frame's background

2007-01-21 Thread Vinicius Jose Latorre
Richard Stallman wrote: If the ~/.emacs file have: (setq initial-frame-alist (append '((background-color DarkSlateGray)) initial-frame-alist)) (setq default-frame-alist (append '((background-color DarkSlateGray))

Re: ps-print-buffer-with-faces doesn't use selected frame's background

2007-01-21 Thread Leo
On 2007-01-21, Vinicius Jose Latorre said: Richard Stallman wrote: If the ~/.emacs file have: (setq initial-frame-alist (append '((background-color DarkSlateGray)) initial-frame-alist)) (setq default-frame-alist (append

Re: ps-print-buffer-with-faces doesn't use selected frame's background

2007-01-21 Thread Richard Stallman
I just tested it. With ps-use-face-background set to t, it seems to print correctly. Should that be the default setting of ps-use-face-background? ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org

Re: ps-print-buffer-with-faces doesn't use selected frame's background

2007-01-19 Thread Richard Stallman
If the ~/.emacs file have: (setq initial-frame-alist (append '((background-color DarkSlateGray)) initial-frame-alist)) (setq default-frame-alist (append '((background-color DarkSlateGray))

Re: ps-print-buffer-with-faces doesn't use selected frame's background

2007-01-18 Thread Richard Stallman
Well, the ps-print commands have a comment: ;;;###autoload just before the command definition. Yes. So when you run one of these commands, it will load ps-print. However, if you type C-h v ps-default-bg before that, it will not see that the variable even exists. Humm, trying

Re: ps-print-buffer-with-faces doesn't use selected frame's background

2007-01-17 Thread Vinicius Jose Latorre
Richard Stallman wrote: 4. start new Emacs session 5. type: C-h v ps-default-bg RET == #ff (white) That is quite strange, because when I do emacs -Q and C-h v ps-default-bg RET it says that variable isn't defined. I wonder, have you done something to cause ps-print to be

Re: ps-print-buffer-with-faces doesn't use selected frame's background

2007-01-15 Thread Vinicius Jose Latorre
Richard Stallman wrote: Well, I don't know why, but when the initialization code for ps-default-bg and ps-default-fg include frame-parameter, What is the precise test case that you tried? 1. set in the ~/.emacs file: (setq initial-frame-alist (append '((background-color

Re: ps-print-buffer-with-faces doesn't use selected frame's background

2007-01-12 Thread Richard Stallman
I made some tests and it is not possible to use frame-parameter in the ps-default-fg and ps-default-bg initialization, because, during Emacs initilization, ps-print is loaded before the frame parameters are set. 1. Why is ps-print loaded before the frame parameters are set? In what

Re: ps-print-buffer-with-faces doesn't use selected frame's background

2007-01-12 Thread Richard Stallman
Well, I don't know why, but when the initialization code for ps-default-bg and ps-default-fg include frame-parameter, What is the precise test case that you tried? If the variables have a value (let's say, 'frame-parameter), the value of them is calculated when any ps-print

Re: ps-print-buffer-with-faces doesn't use selected frame's background

2007-01-11 Thread Vinicius Jose Latorre
Hi Leo, I made some tests and it is not possible to use frame-parameter in the ps-default-fg and ps-default-bg initialization, because, during Emacs initilization, ps-print is loaded before the frame parameters are set. The settings: (setq ps-zebra-stripes nil

Re: ps-print-buffer-with-faces doesn't use selected frame's background

2007-01-11 Thread Leo
* Vinicius Jose Latorre (2007-01-11 11:07 -0200) said: ^ I made some tests and it is not possible to use frame-parameter in the ps-default-fg and ps-default-bg initialization, because, during Emacs initilization, ps-print is loaded before the frame parameters are set.

Re: ps-print-buffer-with-faces doesn't use selected frame's background

2007-01-11 Thread Richard Stallman
I made some tests and it is not possible to use frame-parameter in the ps-default-fg and ps-default-bg initialization, because, during Emacs initilization, ps-print is loaded before the frame parameters are set. 1. Why is ps-print loaded before the frame parameters are set? In what

Re: ps-print-buffer-with-faces doesn't use selected frame's background

2007-01-11 Thread Vinicius Jose Latorre
Richard Stallman wrote: I made some tests and it is not possible to use frame-parameter in the ps-default-fg and ps-default-bg initialization, because, during Emacs initilization, ps-print is loaded before the frame parameters are set. 1. Why is ps-print loaded before the frame

Re: ps-print-buffer-with-faces doesn't use selected frame's background

2007-01-10 Thread Leo
* Vinicius Jose Latorre (2007-01-10 03:01 -0200) said: ^ Hi Leo, Thanks for the Emacs image. Welcome! [...] Thank you for the answer. However output from ps-print does not look good generally in a dark background? Is this a known problem? Ok, using the

Re: ps-print-buffer-with-faces doesn't use selected frame's background (was: ps-print-buffer-with-faces in dark background)

2007-01-09 Thread Vinicius Jose Latorre
Hi Eli, Hi Leo, Eli Zaretskii wrote: From: Leo [EMAIL PROTECTED] Date: Sat, 06 Jan 2007 17:29:34 + * Eli Zaretskii (2007-01-06 12:59 +0200) said: ^ `ps-print-buffer-with-faces' will print a dark background buffer into a .ps file with white background. This makes the

Re: ps-print-buffer-with-faces doesn't use selected frame's background (was: ps-print-buffer-with-faces in dark background)

2007-01-09 Thread Leo
Hi Vinicius, * Vinicius Jose Latorre (2007-01-08 23:21 -0200) said: ^ Hi Eli, Hi Leo, Eli Zaretskii wrote: From: Leo [EMAIL PROTECTED] Date: Sat, 06 Jan 2007 17:29:34 + * Eli Zaretskii (2007-01-06 12:59 +0200) said: ^

Re: ps-print-buffer-with-faces doesn't use selected frame's background

2007-01-09 Thread Vinicius Jose Latorre
Hi Leo, Could you send me an image showing how it looks in Emacs? Also, please, do the following steps: 1. switch to *scratch* buffer. 2. do: M-: (insert (ps-setup)) RET 3. save in a file and send me back. Thanks, Vinicius Leo wrote: Hi Vinicius, * Vinicius Jose Latorre (2007-01-08

Re: ps-print-buffer-with-faces doesn't use selected frame's background

2007-01-09 Thread Vinicius Jose Latorre
Hi Leo, Thanks for the Emacs image. Leo wrote: Hi Vinicius, * Vinicius Jose Latorre (2007-01-08 23:21 -0200) said: ^ Hi Eli, Hi Leo, Eli Zaretskii wrote: From: Leo [EMAIL PROTECTED] Date: Sat, 06 Jan 2007 17:29:34 + * Eli Zaretskii (2007-01-06 12:59 +0200)

Re: ps-print-buffer-with-faces doesn't use selected frame's background (was: ps-print-buffer-with-faces in dark background)

2007-01-06 Thread Eli Zaretskii
From: Leo [EMAIL PROTECTED] Date: Sat, 06 Jan 2007 17:29:34 + * Eli Zaretskii (2007-01-06 12:59 +0200) said: ^ `ps-print-buffer-with-faces' will print a dark background buffer into a .ps file with white background. This makes the text difficult to read. This is a