all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: rmail encoding bug (?) on case-fold-search
Date: Wed, 22 May 2013 02:03:42 +0200	[thread overview]
Message-ID: <87r4gzlw2p.fsf@VLAN-3434.student.uu.se> (raw)

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


                 reply	other threads:[~2013-05-22  0:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87r4gzlw2p.fsf@VLAN-3434.student.uu.se \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.