From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31329 Path: main.gmane.org!not-for-mail From: posting-list@MailAndNews.com (Jari Aalto+mail.emacs) Newsgroups: gmane.emacs.gnus.general Subject: [patch] rcf2047.el Dies if it ets "nil" argument Date: 03 Jun 2000 16:56:18 +0300 Sender: owner-ding@hpc.uh.edu Message-ID: <25776.5299910263$1042201966@news.gmane.org> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1035167753 13368 80.91.224.250 (21 Oct 2002 02:35:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:35:53 +0000 (UTC) Keywords: nil,jari Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by mailhost.sclp.com (Postfix) with ESMTP id 1560BD051E for ; Tue, 6 Jun 2000 00:31:04 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.3/8.9.3) with ESMTP id XAC12067; Mon, 5 Jun 2000 23:30:40 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 05 Jun 2000 23:29:57 -0500 (CDT) Original-Received: from epithumia.math.uh.edu (IDENT:root@epithumia.math.uh.edu [129.7.128.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id XAA04490 for ; Mon, 5 Jun 2000 23:29:51 -0500 (CDT) Original-Received: (from tibbs@localhost) by epithumia.math.uh.edu (8.9.3/8.9.3) id XAA19181 for ding@hpc.uh.edu; Mon, 5 Jun 2000 23:30:19 -0500 Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id DAA17607 for ; Mon, 5 Jun 2000 03:34:11 -0500 (CDT) Original-Received: from pefletti.saunalahti.fi (mail.sci.fi [195.74.0.53]) by mailhost.sclp.com (Postfix) with ESMTP id 33315D051E for ; Mon, 5 Jun 2000 04:34:36 -0400 (EDT) Original-Received: from poboxes.com (MCCC.hdyn.saunalahti.fi [195.197.40.100]) by pefletti.saunalahti.fi (8.9.1/8.9.1) with ESMTP id LAA11296 for ; Mon, 5 Jun 2000 11:34:26 +0300 (EET DST) Original-To: Gnus mailing list X-Sender-Info: Emacs tiny tools: http://poboxes.com/jari.aalto/emacs-elisp.html http://home.eu.org/~jari/homepage.html PGP 2.6.x keyid 47141D35 http://www.pgpi.net/ User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.4 (i386-*-windows98.1998) Original-Lines: 43 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:31329 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31329 --=-=-= For me Gnus has always dies because rfc2047-decode-region receives argement "nil" (with quotes). I have no idea why and at least this keeps it happy. Jari 2000-06-01 Thu Jari Aalto * rfc2047.el (rfc2047-decode-region): For some reason the parameter passed to this function was string 'nil'. Keep it plain nil. (if (equal mail-parse-charset "nil") (setq mail-parse-charset nil)) --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=rfc2047.el.diff Prereq: 1.1.1.4 Index: rfc2047.el =================================================================== RCS file: g:/data/version-control/cvsroot/lisp/gnus/lisp/rfc2047.el,v retrieving revision 1.1.1.4 retrieving revision 1.1.1.4.2.1 diff -u -IId: -u -r1.1.1.4 -r1.1.1.4.2.1 --- rfc2047.el 2000/04/23 06:29:55 1.1.1.4 +++ rfc2047.el 2000/04/24 09:17:03 1.1.1.4.2.1 @@ -314,6 +314,8 @@ (defun rfc2047-decode-region (start end) "Decode MIME-encoded words in region between START and END." (interactive "r") + (if (equal mail-parse-charset "nil") + (setq mail-parse-charset nil)) (let ((case-fold-search t) b e) (save-excursion --=-=-=--