Gnus development mailing list
 help / color / mirror / Atom feed
* [patch] rcf2047.el Dies if it ets "nil" argument
@ 2000-06-03 13:56 Jari Aalto+mail.emacs
  0 siblings, 0 replies; 3+ messages in thread
From: Jari Aalto+mail.emacs @ 2000-06-03 13:56 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch] rcf2047.el Dies if it ets "nil" argument
       [not found] <wksnuuc1h9.fsf@>
  2000-06-06  4:46 ` Shenghuo ZHU
@ 2000-06-06  7:07 ` Hrvoje Niksic
  1 sibling, 0 replies; 3+ messages in thread
From: Hrvoje Niksic @ 2000-06-06  7:07 UTC (permalink / raw)


posting-list@MailAndNews.com (Jari Aalto+mail.emacs) writes:

>     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.

This patch is clearly wrong.  If you wish to fix things, you should
check why "nil" gets passed to rfc2047-decode-region.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch] rcf2047.el Dies if it ets "nil" argument
       [not found] <wksnuuc1h9.fsf@>
@ 2000-06-06  4:46 ` Shenghuo ZHU
  2000-06-06  7:07 ` Hrvoje Niksic
  1 sibling, 0 replies; 3+ messages in thread
From: Shenghuo ZHU @ 2000-06-06  4:46 UTC (permalink / raw)


posting-list@MailAndNews.com (Jari Aalto+mail.emacs) writes:

>     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.

Some of your settings must be wrong. It could be in the parameters of
some groups, or gnus-group-charset-alist.

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

If mail-parse-charset is "nil", some settings must be wrong.

Shenghuo



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-06-06  7:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-03 13:56 [patch] rcf2047.el Dies if it ets "nil" argument Jari Aalto+mail.emacs
     [not found] <wksnuuc1h9.fsf@>
2000-06-06  4:46 ` Shenghuo ZHU
2000-06-06  7:07 ` Hrvoje Niksic

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