From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "JJ" Newsgroups: gmane.emacs.bugs Subject: bug#5981: 24.0.50; Attempt to set a constant symbol: enable-multibyte-characters Date: Sat, 24 Apr 2010 19:26:38 +0200 Message-ID: <871ve47odt.fsf@sabayon.i-did-not-set--mail-host-address--so-tickle-me> References: <83hbn65x2v.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1272129944 25390 80.91.229.12 (24 Apr 2010 17:25:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 24 Apr 2010 17:25:44 +0000 (UTC) Cc: 5981@debbugs.gnu.org To: bug-gnu-emacs@gnus.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 24 19:25:42 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O5j6n-0006E2-KO for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Apr 2010 19:25:37 +0200 Original-Received: from localhost ([127.0.0.1]:50566 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5j6n-0007ew-0z for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Apr 2010 13:25:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O5j6h-0007ek-1b for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2010 13:25:31 -0400 Original-Received: from [140.186.70.92] (port=57842 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5j6f-0007ec-0U for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2010 13:25:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O5j6d-0002Ou-Lh for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2010 13:25:28 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59727) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5j6d-0002On-I4 for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2010 13:25:27 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1O5j6E-0000qI-3K; Sat, 24 Apr 2010 13:25:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <83hbn65x2v.fsf@gnu.org> Resent-From: "JJ" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Apr 2010 17:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5981 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5981-submit@debbugs.gnu.org id=B5981.12721298763229 (code B ref 5981); Sat, 24 Apr 2010 17:25:02 +0000 Original-Received: (at 5981) by debbugs.gnu.org; 24 Apr 2010 17:24:36 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5j5n-0000q2-TN for submit@debbugs.gnu.org; Sat, 24 Apr 2010 13:24:36 -0400 Original-Received: from deleuze.hcoop.net ([69.90.123.67]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5j5m-0000px-NI for 5981@debbugs.gnu.org; Sat, 24 Apr 2010 13:24:35 -0400 Original-Received: from 183.44.broadband13.iol.cz ([90.180.44.183] helo=sabayon) by deleuze.hcoop.net with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1O5j5k-00082t-3L; Sat, 24 Apr 2010 13:24:32 -0400 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAAAFz UkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlQ TFRFICAA+/sADQ0ABSNsvQAAAAN0Uk5TxfxF062L2wAAAAFiS0dEAmYLfGQAAAAJcEhZcwAACxMA AAsTAQCanBgAAAAJdnBBZwAAADAAAAAwAM7ujFcAAAFtSURBVCjPTdJBa4MwFAfwtCCsPa2wjG13 Yfgp7KgwPKnkH6qnbqBsfop1rJeedmh2rqBD36fci9q1OQR/ycsjeT6BjAg8ImogUBLVjA2vCU1E R9h9MsLOLWDXGlFSB8NhpKlj2E87yk7YXOVeP0o+JjgKRA+0HaGI9pzEokFC9MuJdY/wEl6PnUXF R7r8iarEIqFFvt7+tDZBO60j56P+ojmDPBPtNt9BSa3g03KzmWWuxZu9aHyfNc8MnypIcciaNVUi YQTTm8RE/Dg1bRDMHb1TJAXmjJWrKlVzQVYOXAS4gq0OpHL4nV4wYSijHfgoqx5yBYQiPAaMKH4H Xm+vXTD8uxmC4iBzi3CSYskpg35nkSKW6QCkMSdhD9DgAkcDYoZEYXpEyuAljgdkfLelL4awBDnU JEIPjVxCrUeYUPI9B8BoqT7NiFx3HDsiVXRGBg/FCdqUxjuB//BvdwbRBQpuj3/ooTXE2B09/gAh 4+Oa4HCiggAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxMC0wMy0xNFQxNjoyNzo1Mi0xMDowMDmkF1EA AAAldEVYdGRhdGU6bW9kaWZ5ADIwMTAtMDMtMTRUMTY6Mjc6NTItMTA6MDBI+a/tAAAAAElFTkSu QmCC User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 24 Apr 2010 13:25:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36474 Archived-At: --=-=-= >This bug persists for me with the current 100012 bzr Emacs >trunk. Problems arise in Gnus. >When trying to `S o m' forward a mail, it reports: >Attempt to set a constant symbol: enable-multibyte-characters Here is a patch to fix this error on the latest GNU Emacs bzr trunk: --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=mm-util.el-multibyte.patch --- trunk/lisp/gnus/mm-util.el 2010-04-24 18:49:21.189375459 +0200 +++ trunk-patched/lisp/gnus/mm-util.el 2010-04-24 18:50:30.610376339 +0200 @@ -1248,13 +1248,15 @@ (let ((,multibyte enable-multibyte-characters) (,buffer (current-buffer))) (unwind-protect - (letf (((default-value 'enable-multibyte-characters) nil)) + (letf () (set-buffer-multibyte nil) ,@forms) (set-buffer ,buffer) (set-buffer-multibyte ,multibyte))) - (letf (((default-value 'enable-multibyte-characters) nil)) - ,@forms)))) + (letf () + (set-buffer-multibyte nil) + ,@forms + (set-buffer-multibyte ,multibyte))))) (put 'mm-with-unibyte-current-buffer 'lisp-indent-function 0) (put 'mm-with-unibyte-current-buffer 'edebug-form-spec '(body)) --=-=-= -- JJ --=-=-=--