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

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

#ifdefs not properly faced in printouts


From: Mats for emacs-devel
Subject: #ifdefs not properly faced in printouts
Date: Tue, 14 Jun 2005 20:05:03 +0200

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I think ps-spool-buffer-with-faces, which almost always does a superb
job, fails at giving "#ifdef" with friends in c-files a proper
colour. They get coloured in the buffer, but not in the printout.

I really do not consider this a bug, but I think it would be an
enhancement if the couloring was changed.

I use this simple file:
---8<----
/* bug.c: This will show that ifdefs are not coloured while using
   ps-spool-buffer-with-faces */

#ifdef foo
int bar;
#endif
---8<----

Emacs is started just before the sequence starts.
M-x global-font-lock-mode
C-x C-f bug.c
M-x ps-spool-buffer-with-faces

Now save the buffer *PostScript* as bug.ps and compare the printout to
the buffer.

Anyway, thanks a lot for your work. Emacs is great.
Regards,
Mats


In GNU Emacs 22.0.50.2 (i386-mingw-nt5.1.2600)
 of 2005-04-17 on LAPTOP
Distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: SVE
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: C

Minor modes in effect:
  tool-bar-mode: t
  encoded-kbd-mode: t
  mouse-wheel-mode: t
  tooltip-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t
  next-error-follow-minor-mode:  Fol
  abbrev-mode: t

Recent input:
M-x g l o b a l SPC f <tab> <return> C-x C-f C-a C-k 
c : / b u g . c <return> M-x p s SPC s p <tab> b <tab> 
SPC <tab> <return> <lwindow> M-x r e p o r t SPC e 
<tab> <return>

Recent messages:
Loading font-lock...done
Loading jit-lock...done
Loading cc-mode...done
Loading ps-print...done
Formatting...  0%
Loading ps-mule...done
Loading composite...done
Collecting face information...
Formatting...done
Loading emacsbug...done




reply via email to

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