Hi Leo,
I've just installed a new ps-print version in CVS Emacs 22 and 23.
Now if the foreground or background color is unspecified, the default
color is used, that is, black for foreground and white for background.
Thanks for your report,
Vinicius
Vinicius Jose Latorre wrote:
Hi Leo,
I've just compiled Emacs 23:
GNU Emacs 23.0.0.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2007-05-13 on debian-hillux
And I've done:
1. emacs-23 -nw -Q
2. M-x ps-print-buffer-with-faces RET
`ps-default-fg' and `ps-default-bg' have the same color.
Text won't appear on page. Please, check these variables.
3. M-: (ps-frame-parameter nil 'foreground-color) RET
==> "unspecified-bg"
3. M-: (ps-frame-parameter nil 'background-color) RET
==> "unspecified-fg"
If I tried with "emacs-23 -nw", it works, that is, foreground and
background color are set properly.
I tested also with Emacs 22 with the same results.
It seems this is a problem with initial frame properties setting when
Emacs is activated in xterm.
Could someone who knows this better checks the initial frame color
property in this situation and see if there is a way to set initial
frame color to a valid color?
Thanks,
Vinicius
Leo wrote:
----- Vinicius Jose Latorre (2007-05-13) wrote:-----
Leo wrote:
To reproduce:
1. Start emacs in xterm with "emacs -nw"
2. M-x ps-print-buffer-with-faces
GNU Emacs 23.0.0.21 (i686-pc-linux-gnu, X toolkit) of 2007-05-13
,----[ error ]
| Debugger entered--Lisp error: (error "`ps-default-fg' and
`ps-default-bg' have the same color.
| Text won't appear on page. Please, check these variables.")
| signal(error ("`ps-default-fg' and `ps-default-bg' have the
same color.\nText won't appear on page. Please, check these
variables."))
| error("`ps-default-fg' and `ps-default-bg' have the same
color.\nText won't appear on page. Please, check these variables.")
| ps-begin-job(ps-generate-postscript-with-faces)
| ps-generate(#<buffer *posting on gmane.emacs.pretest.bugs*> 669
892 ps-generate-postscript-with-faces)
| ps-spool-with-faces(669 892 nil)
| ps-print-with-faces(669 892 nil)
| ps-print-buffer-with-faces(nil)
| call-interactively(ps-print-buffer-with-faces)
| execute-extended-command(nil)
| call-interactively(execute-extended-command)
`----
Please, do the following steps:
1. emacs -nw
2. M-: (insert (ps-setup)) RET
3. C-x C-s settings.txt RET
4. send me back settings.txt file.
Thanks,
Vinicius
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug