[Top][All Lists]
[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: |
Richard Stallman |
Subject: |
Re: ps-print-buffer-with-faces doesn't use selected frame's background |
Date: |
Thu, 18 Jan 2007 12:27:05 -0500 |
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 the initialization above, I can see that ps-print is loaded
before .emacs file is loaded. So, the background is white when ps-print
is loaded and, only during .emacs loading, the background is changed.
I suspected as much. What causes that?
What does the backtrace say?
> > If the variables have a value (let's say, 'frame-parameter),
the value
> > of them is calculated when any ps-print command is activated.
And it's
> > used frame-parameter function to get the color value.
> >
>
> With your explanation, I now understand that idea, and I think it is a
> good one.
>
Ok, could I implement it now in Emacs 22 before the release?
Yes. But please also investigate what causes ps-print to be loaded
early.
- Re: ps-print-buffer-with-faces doesn't use selected frame's background, (continued)
- Re: ps-print-buffer-with-faces doesn't use selected frame's background, Vinicius Jose Latorre, 2007/01/10
- Re: ps-print-buffer-with-faces doesn't use selected frame's background, Leo, 2007/01/10
- Re: ps-print-buffer-with-faces doesn't use selected frame's background, Vinicius Jose Latorre, 2007/01/11
- Re: ps-print-buffer-with-faces doesn't use selected frame's background, Leo, 2007/01/11
- Re: ps-print-buffer-with-faces doesn't use selected frame's background, Richard Stallman, 2007/01/11
- Re: ps-print-buffer-with-faces doesn't use selected frame's background, Vinicius Jose Latorre, 2007/01/11
- Re: ps-print-buffer-with-faces doesn't use selected frame's background, Richard Stallman, 2007/01/12
- Re: ps-print-buffer-with-faces doesn't use selected frame's background, Vinicius Jose Latorre, 2007/01/15
- Re: ps-print-buffer-with-faces doesn't use selected frame's background, Richard Stallman, 2007/01/16
- Re: ps-print-buffer-with-faces doesn't use selected frame's background, Vinicius Jose Latorre, 2007/01/17
- Re: ps-print-buffer-with-faces doesn't use selected frame's background,
Richard Stallman <=
- Re: ps-print-buffer-with-faces doesn't use selected frame's background, Vinicius Jose Latorre, 2007/01/18
- Re: ps-print-buffer-with-faces doesn't use selected frame's background, Richard Stallman, 2007/01/19
- Re: ps-print-buffer-with-faces doesn't use selected frame's background, Vinicius Jose Latorre, 2007/01/21
- Re: ps-print-buffer-with-faces doesn't use selected frame's background, Leo, 2007/01/21
- Re: ps-print-buffer-with-faces doesn't use selected frame's background, Richard Stallman, 2007/01/22
- Re: ps-print-buffer-with-faces doesn't use selected frame's background, Leo, 2007/01/22
- Re: ps-print-buffer-with-faces doesn't use selected frame's background, Richard Stallman, 2007/01/12