Gnus development mailing list
 help / color / mirror / Atom feed
From: posting-list@MailAndNews.com (Jari Aalto+mail.emacs)
Subject: [patch] rcf2047.el Dies if it ets "nil" argument
Date: 03 Jun 2000 16:56:18 +0300	[thread overview]
Message-ID: <25776.5299910263$1042201966@news.gmane.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 459 bytes --]


    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  <jari.aalto@poboxes.com>

        * 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))


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: rfc2047.el.diff --]
[-- Type: text/x-patch, Size: 647 bytes --]

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

             reply	other threads:[~2000-06-03 13:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-03 13:56 Jari Aalto+mail.emacs [this message]
     [not found] <wksnuuc1h9.fsf@>
2000-06-06  4:46 ` Shenghuo ZHU
2000-06-06  7:07 ` Hrvoje Niksic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='25776.5299910263$1042201966@news.gmane.org' \
    --to=posting-list@mailandnews.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).