emacs-devel
[Top][All Lists]
Advanced

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

Re: Gnus Problems with latest Emacs Snapshot


From: Katsumi Yamaoka
Subject: Re: Gnus Problems with latest Emacs Snapshot
Date: Tue, 08 Apr 2008 11:55:35 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>>>>> Gijs Hillenius wrote:

> I find emacs-cvs could (..) also have caused errors in x-face (does
> not work out of the box anymore). But that is minor.

It's due to this change in the Emacs trunk:

2008-04-05  Stefan Monnier  <address@hidden>
[...]
        * gnus-fun.el (gnus-display-x-face-in-from): Remove unnecessary use of
        default-enable-multibyte-characters.

I think it is the right thing but it causes the `uncompface' function,
which `gnus-display-x-face-in-from' calls, to generate a multibyte
temp buffer and to break binary data that the external icontopbm
program generates.  I've fixed it in the Emacs trunk so as to make
that temp buffer unibyte as follows:

*** compface.el~        Tue Jan  8 21:51:25 2008
--- compface.el Tue Apr  8 02:53:53 2008
***************
*** 33,38 ****
--- 33,39 ----
  GNU/Linux system these might be in packages with names like `compface'
  or `faces-xface' and `netpbm' or `libgr-progs', for instance."
    (with-temp-buffer
+     (unless (featurep 'xemacs) (set-buffer-multibyte nil))
      (insert face)
      (let ((coding-system-for-read 'raw-text)
          ;; At least "icontopbm" doesn't work with Windows because




reply via email to

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