From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Evil Boris Newsgroups: gmane.emacs.devel Subject: Re: automatic MIME decoding in rmail Date: Fri, 05 May 2006 20:05:27 -0400 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1146873967 19479 80.91.229.2 (6 May 2006 00:06:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 6 May 2006 00:06:07 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 06 02:06:06 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FcAJA-0005QK-5Y for ged-emacs-devel@m.gmane.org; Sat, 06 May 2006 02:06:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FcAJ9-00054d-P0 for ged-emacs-devel@m.gmane.org; Fri, 05 May 2006 20:06:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FcAIx-00053L-6l for emacs-devel@gnu.org; Fri, 05 May 2006 20:05:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FcAIu-0004yO-Pz for emacs-devel@gnu.org; Fri, 05 May 2006 20:05:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FcAIu-0004y6-KC for emacs-devel@gnu.org; Fri, 05 May 2006 20:05:48 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FcAJA-0002lN-Rc for emacs-devel@gnu.org; Fri, 05 May 2006 20:06:05 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FcAIh-0005NL-Op for emacs-devel@gnu.org; Sat, 06 May 2006 02:05:35 +0200 Original-Received: from 128.238.34.212 ([128.238.34.212]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 May 2006 02:05:35 +0200 Original-Received: from evilborisnet by 128.238.34.212 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 May 2006 02:05:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 33 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 128.238.34.212 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:/2aWWAnZ1+xPeGhSJ8rAXJE2Aoo= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:53991 Archived-At: Richard Stallman writes: > I will make it handle delsp also. Thanks. Today, however, having updated from CVS, I had very strange things happen. To make a long story short, I got caught by loaddefs.el not regenerating properly (not sure if it was something I did or the "cvs update" followed by "make" followed by "recompile" followed by "make" is insufficient...; I was stuck with new version of rmail.el, but old version of rmail-mime-charset-pattern---this broke terribly, see below). Once I fixed that, I see that ========== rmail-mime-charset-pattern is a variable defined in `rmail.el'. Its value is "^content-type:[ ]*text/plain;\\(?:[ \n]*\\(format\\|delsp\\)=\"?[-a-z0-9]+\\ "?;\\)*[ \n]*charset=\"?\\([^ \n\";]+\\)\"?" ========== Which I thought was good. But then I see =========== revision 1.425 date: 2006-04-19 09:55:40 +0000; author: rfrancoise; state: Exp; lines: +2 -2 (rmail-convert-to-babyl-format): Use second group from `rmail-mime-charset-pattern'. =========== which sounded odd, until I realized that there is a ":?" missing in front of "format\\|". So perhaps one should change the regexp and put (match-string 1) back in? --Boris