From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#4624: marked as done (23.1.50; rmail-edit may add incorrect content-type header) Date: Tue, 06 Oct 2009 02:45:04 +0000 Message-ID: References: <20091003145521.27A06288A0AB@xen12.math.uni-bielefeld.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1254797104-27569-0" X-Trace: ger.gmane.org 1254797267 18231 80.91.229.12 (6 Oct 2009 02:47:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Oct 2009 02:47:47 +0000 (UTC) To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 06 04:47:38 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mv05S-00015u-Dt for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Oct 2009 04:47:38 +0200 Original-Received: from localhost ([127.0.0.1]:34809 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mv05S-0004rs-2h for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Oct 2009 22:47:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mv05A-0004hC-2d for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2009 22:47:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mv055-0004dL-BW for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2009 22:47:19 -0400 Original-Received: from [199.232.76.173] (port=55730 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mv055-0004dI-4s for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2009 22:47:15 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:38134) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mv050-0002MT-Q3; Mon, 05 Oct 2009 22:47:11 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n962l839028163; Mon, 5 Oct 2009 19:47:08 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n962j4fE027627; Mon, 5 Oct 2009 19:45:04 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 4624 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31712 Archived-At: This is a multi-part message in MIME format... ------------=_1254797104-27569-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Mon, 05 Oct 2009 22:37:33 -0400 with message-id and subject line Re: bug#4624: 23.1.50; rmail-edit may add incorrect conten= t-type header has caused the Emacs bug report #4624, regarding 23.1.50; rmail-edit may add incorrect content-type header to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 4624: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4624 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1254797104-27569-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 3 Oct 2009 14:55:26 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.8 required=4.0 tests=AWL,FOURLA,IMPRONONCABLE_1, MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n93EtOQh003773 for ; Sat, 3 Oct 2009 07:55:25 -0700 Received: from mx10.gnu.org ([199.232.76.166]:35350) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Mu616-0001tN-7H for emacs-pretest-bug@gnu.org; Sat, 03 Oct 2009 10:55:24 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Mu614-00025r-Tw for emacs-pretest-bug@gnu.org; Sat, 03 Oct 2009 10:55:24 -0400 Received: from xen16.math.uni-bielefeld.de ([129.70.14.14]:57836) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mu614-00025f-H8 for emacs-pretest-bug@gnu.org; Sat, 03 Oct 2009 10:55:22 -0400 Received: from xen12.math.uni-bielefeld.de (xen12.math.uni-bielefeld.de [129.70.14.133]) by xen16.math.uni-bielefeld.de (Postfix) with ESMTP id 2E1AA30072BE; Sat, 3 Oct 2009 16:55:21 +0200 (CEST) Received: by xen12.math.uni-bielefeld.de (Postfix, from userid 3710) id 27A06288A0AB; Sat, 3 Oct 2009 16:55:21 +0200 (CEST) To: emacs-pretest-bug@gnu.org Subject: 23.1.50; rmail-edit may add incorrect content-type header From: Markus Rost Message-Id: <20091003145521.27A06288A0AB@xen12.math.uni-bielefeld.de> Date: Sat, 3 Oct 2009 16:55:21 +0200 (CEST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) In rmail look at a message (from an mbox file) with content-type multipart, e. g., with headers like Content-Type: multipart/alternative; boundary="bbbbbbbbbbb" Edit that message within rmail as usual with rmail-edit-current-message and rmail-cease-edit. After saving, the message has an *additional* header like Content-type: text/plain; charset=us-ascii This is bad, since mail readers may not handle the message correctly as multipart anymore. The reason is that rmail-cease-edit uses rmail-mime-charset-pattern to identify content-type headers, but rmail-mime-charset-pattern will match by default only text/plain. I am not sure how to fix this. Ideally rmail-cease-edit should walk through all the parts of a message when handling the coding, but that looks very complicated. Maybe for now rmail-cease-edit should handle the coding only if there is no content-type header or if the content-type is matched by rmail-mime-charset-pattern, leaving the other cases to the responsibilty of the user. In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.16.1) of 2009-10-02 on laptop Windowing system distributor `The X.Org Foundation', version 11.0.10600000 configured using `configure '--prefix=/home/rost/local/cvs'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t ------------=_1254797104-27569-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4624-done) by emacsbugs.donarmstrong.com; 6 Oct 2009 02:37:36 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-7.5 required=4.0 tests=AWL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n962bZVW026837 for <4624-done@emacsbugs.donarmstrong.com>; Mon, 5 Oct 2009 19:37:36 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Muzvh-0001z4-Bd; Mon, 05 Oct 2009 22:37:33 -0400 From: Glenn Morris To: 4624-done@emacsbugs.donarmstrong.com Subject: Re: bug#4624: 23.1.50; rmail-edit may add incorrect content-type header References: <20091003145521.27A06288A0AB@xen12.math.uni-bielefeld.de> X-Spook: Israel Mena Mafia bootleg Tony Blair terrorist X-Ran: (+[+ZgJtM.DBMbF-^>2s+T)>II`n1vc%;\j:.K9k6Q"&rh"x0j(psL'pM4ba8.9V]DFzRH X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 05 Oct 2009 22:37:33 -0400 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Markus Rost wrote: > Maybe for now rmail-cease-edit should handle the coding only if > there is no content-type header or if the content-type is matched by > rmail-mime-charset-pattern, leaving the other cases to the > responsibilty of the user. I made it do this. Thanks for the report. ------------=_1254797104-27569-0--