Subject: bug#5108: 23.1; ps-print-buffer infinite loop on image-mode

From: Lars Magne Ingebrigtsen <[email-masked]>
Date: Sun, 18 Sep 2011 11:46:19 +0200

Kevin Ryde <[email-masked]> writes:

> A ps-print-buffer on some image files in image-mode goes into an
> infinite loop.  For example "cut.xpm" in the current emacs cvs,
>
>     (progn
>       (switch-to-buffer "x")
>       (erase-buffer)
>       (insert-file-contents (concat data-directory "images/cut.xpm"))
>       (image-mode)
>       (ps-print-buffer "/tmp/foo.ps"))
>
> shows message
>
>     Formatting...  0%
>
> and then goes away apparently forever.

I can confirm that this bug is still present in Emacs 24.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/