[Top][All Lists]

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

mm-with-unibyte-current-buffer broken in Emacs trunk

From: Sascha Wilde
Subject: mm-with-unibyte-current-buffer broken in Emacs trunk
Date: Tue, 11 May 2010 12:25:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Hi *,

with an current build of GNU Emacs from bzr I can not forward
(gnus-summary-mail-forward) mail any more.

The problem boils down to message-forward-make-body-mml calling
mm-with-unibyte-current-buffer which in turn tries to set the read only
variable enable-multibyte-characters.

According to this comment in mm-with-unibyte-current-buffer:

  ;; FIXME: (default-value 'enable-multibyte-characters) is read-only
  ;; so let-binding it is wrong.  The right fix is to not use this
  ;; macro at all any more, since it's been ill-defined from the start.

the problem is known, but I'd say not being able to forward messages
(and there might be other serious problems, too) is an regression, so
this _really_ needs fixing.

FWIW: simply removing the call to mm-with-unibyte-current-buffer from
message-forward-make-body-mml worked for me -- but I suspect there are
corner cases where this would cause problems.

Sascha Wilde : xedit? Das sieht zwar wie vi aus als könne es nix, aber im
             : Gegensatz zu vi kann es wirklich nix und nix ist noch geschönt!
             : (Michael Core in dafc)

reply via email to

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