emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Leo
Subject: Re: ps-print-buffer-with-faces doesn't use selected frame's background
Date: Sun, 21 Jan 2007 14:38:00 +0000
User-agent: No Gnus v0.6, Emacs/22.0.92.8 (2007-01-20), Fedora 6 gnu/linux

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 '((background-color "DarkSlateGray"))
>>                                        default-frame-alist))
>>      (require 'printing) ; or (require 'ps-print)
>>
>>     then ps-print is loaded before initial-frame-alist has any
>> effect, so,     ps-default-bg is set to white.
>>
>> Yes, that is the cause.  There is no way it can examine a frame
>> parameter before there is a frame.  So your other approach would seem
>> to be needed.
>>   
>
> Ok, I've just updated Emacs 22 CVS.

I just tested it. With ps-use-face-background set to t, it seems to
print correctly.

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]