[EMAIL PROTECTED] (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  <[EMAIL PROTECTED]>

        * 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 <[EMAIL PROTECTED]> | The sea! the sea! the open
it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the
                                        | ever free! --Bryan W. Procter


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to