Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

rmail encoding bug (?) on case-fold-search

2 views
Skip to first unread message

Emanuel Berg

unread,
May 21, 2013, 8:03:42 PM5/21/13
to
There is some strange behaviour in rmail. I use GNU Emacs 23.4.1.

With this in .emacs

(set-default 'case-fold-search nil) ; nil is case sensitive

in an rmail message, instead of the "text buttons" like this

[1:multipart/alternative Hide]
[1/1:text/plain Hide]
[2:image/jpeg Show Save:20130519_152458.jpg (1MB)]

I get

--bcaec51b206d1adb2204dd3f4a8c
Content-Type: multipart/alternative; boundary=bcaec51b206d1adb1e04dd3f4a8a

--bcaec51b206d1adb1e04dd3f4a8a
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

For `(set-default 'case-fold-search t)' this doesn't happen.

I tested on `emacs -q', then `M-x load-file' on a file with

(require 'rmail)
(setq rmail-confirm-expunge nil)
(setq large-file-warning-threshold nil)
(setenv "MAILHOST" " ... ")
(setq rmail-primary-inbox-list '("po: ... "))
(setq rmail-preserve-inbox nil)
(setq rmail-pop-password-required t)
(setq rmail-display-summary t)
(setq rmail-summary-line-count-flag nil)
(set-default 'case-fold-search t) ; nil here and break

and then `M-x rmail'.

--
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573
0 new messages