emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rmail failure


From: Romain Francoise
Subject: Re: Rmail failure
Date: Wed, 19 Apr 2006 10:04:40 +0200

address@hidden (Brendan Halpin) writes:

> rmail fails to get new mail, with the following error:
> rmail-get-new-mail: Wrong type argument: char-or-string-p, nil

It's due to this change:

2006-04-09  Richard Stallman  <address@hidden>

        * mail/rmail.el (rmail-mime-charset-pattern): Ignore format and delsp
        specs while looking for charset.

The groups inside the expression were changed, but the code that uses
these groups wasn't, and it fails here in `rmail-convert-to-babyl-format':

       (let ((mime-charset
              (if (and rmail-decode-mime-charset
                       (save-excursion
                         (goto-char start)
                         (search-forward "\n\n" nil t)
                         (let ((case-fold-search t))
                           (re-search-backward
                            rmail-mime-charset-pattern
                            start t))))
                  (intern (downcase (match-string 1))))))
                                    ^^^^^^^^^^^^^^^^

As a temporary workaround, set `rmail-decode-mime-charset' to nil.

-- 
Romain Francoise <address@hidden> | The sea! the sea! the open
it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the
                                        | ever free! --Bryan W. Procter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]