From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/52171 Path: main.gmane.org!not-for-mail From: Romain FRANCOISE Newsgroups: gmane.emacs.gnus.general Subject: Re: rfc2047 patch broke Gnus on XEmacsc Date: Sat, 03 May 2003 11:57:37 +0200 Organization: orebokech dot com Sender: ding-owner@lists.math.uh.edu Message-ID: <87u1ccnyi6.fsf@orebokech.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1051955853 28374 80.91.224.249 (3 May 2003 09:57:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 3 May 2003 09:57:33 +0000 (UTC) Cc: Dave Love Original-X-From: ding-owner+M714@lists.math.uh.edu Sat May 03 11:57:31 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Btlr-0007NU-00 for ; Sat, 03 May 2003 11:57:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19Btmi-0005dD-00; Sat, 03 May 2003 04:58:24 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19BtmZ-0005d5-00 for ding@lists.math.uh.edu; Sat, 03 May 2003 04:58:15 -0500 Original-Received: (qmail 86777 invoked by alias); 3 May 2003 09:58:15 -0000 Original-Received: (qmail 86772 invoked from network); 3 May 2003 09:58:14 -0000 Original-Received: from cismrelais.univ-lyon1.fr (134.214.101.250) by sclp3.sclp.com with SMTP; 3 May 2003 09:58:14 -0000 Original-Received: from cismrelais (localhost [127.0.0.1]) by cismrelais.univ-lyon1.fr (Postfix) with ESMTP id E65CCB615A; Sat, 3 May 2003 11:57:47 +0200 (CEST) Original-Received: from yeast (J446-b.resj.insa-lyon.fr [134.214.166.176]) by cismrelais.univ-lyon1.fr (Postfix) with ESMTP id 611ACB612F; Sat, 3 May 2003 11:57:47 +0200 (CEST) Original-Received: from swift (swift [192.168.1.6]) by yeast (Postfix) with ESMTP id 6AC2F131F9; Sat, 3 May 2003 11:57:21 +0200 (CEST) Original-Received: by swift (Postfix, from userid 1000) id 88E8417E21; Sat, 3 May 2003 11:57:37 +0200 (CEST) Original-To: ding@gnus.org Mail-Copies-To: nobody In-Reply-To: (Andreas Jaeger's message of "Sat, 03 May 2003 10:57:20 +0200") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux) X-Virus-Scanned: by AMaViS snapshot-20020222 Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:52171 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:52171 There's also a problem with `rfc2047-fold-field' which is undefined, this patch seems to fix it. Index: lisp/rfc2047.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/rfc2047.el,v retrieving revision 6.42 diff -u -r6.42 rfc2047.el --- lisp/rfc2047.el 2 May 2003 23:25:17 -0000 6.42 +++ lisp/rfc2047.el 3 May 2003 09:53:52 -0000 @@ -472,8 +472,15 @@ (unless (eobp) (forward-char 1)))))) -(defun rfc2047-unfold-field () +(defun rfc2047-fold-field () "Fold the current line." + (save-excursion + (save-restriction + (rfc2047-narrow-to-field) + (rfc2047-fold-region (point-min) (point-max))))) + +(defun rfc2047-unfold-field () + "Unfold the current line." (save-excursion (save-restriction (rfc2047-narrow-to-field) and also a call to a -mule4 function not changed in mm-encode: Index: lisp/mm-encode.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/mm-encode.el,v retrieving revision 6.14 diff -u -r6.14 mm-encode.el --- lisp/mm-encode.el 8 Feb 2003 21:20:53 -0000 6.14 +++ lisp/mm-encode.el 3 May 2003 09:56:04 -0000 @@ -95,7 +95,7 @@ (defun mm-encode-content-transfer-encoding (encoding &optional type) (cond ((eq encoding 'quoted-printable) - (mm-with-unibyte-current-buffer-mule4 + (mm-with-unibyte-current-buffer (quoted-printable-encode-region (point-min) (point-max) t))) ((eq encoding 'base64) (when (equal type "text/plain") I'm wondering if Dave's changes really apply as "bugfixes only", they seem pretty intrusive... -- Romain FRANCOISE | With your feet in the air and it's a miracle -- http://orebokech.com/ | your head on the ground.