From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 16 07:20:06 2011 Received: (at submit) by debbugs.gnu.org; 16 Oct 2011 11:20:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFOlA-0000yy-Tv for submit@debbugs.gnu.org; Sun, 16 Oct 2011 07:20:05 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFOl6-0000yN-ID for submit@debbugs.gnu.org; Sun, 16 Oct 2011 07:20:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RFOkH-0000KI-33 for submit@debbugs.gnu.org; Sun, 16 Oct 2011 07:19:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:53440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFOkH-0000KE-1V for submit@debbugs.gnu.org; Sun, 16 Oct 2011 07:19:09 -0400 Received: from eggs.gnu.org ([140.186.70.92]:56686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFOkF-0008GX-ET for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2011 07:19:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RFOkD-0000K4-T5 for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2011 07:19:07 -0400 Received: from fencepost.gnu.org ([140.186.70.10]:38405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFOkD-0000K0-Py for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2011 07:19:05 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RFOkD-00008X-0P for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2011 07:19:05 -0400 Date: Sun, 16 Oct 2011 07:19:05 -0400 Message-Id: Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: bug-gnu-emacs@gnu.org Subject: 24.0.50; rmail-forward makes attachment that doesn't read right X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: rms@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': When I use the f command in Rmail, it generates a message like this: ====================================================================== From: Richard Stallman To: rms Subject: [muthu@member.fsf.org: Re: Who are the organizers of this event] bcc: rms-outgoing@gnu.org Reply-to: rms@gnu.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" --text follows this line-- --=-=-= Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_20,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Message-ID: In-Reply-To: Date: Tue, 11 Oct 2011 12:41:21 +0530 (IST) Subject: Re: Who are the organizers of this event From: "Muthu" To: rms@gnu.org Content-Type: text/plain;charset=iso-8859-1 > Can you send me the email addresses of the organizers? > hackmed-info@mit.edu --=-=-= Content-Type: text/plain -- Dr Richard Stallman --=-=-=-- ====================================================================== I have a friend who reads mail using IceDove 2.0.0.24, and these mime parts appear empty. Is there anything wrong with these mime parts? Or is it a bug in that version of IceDove? If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /home/rms/emacs-bzr/trunk/etc/DEBUG. In GNU Emacs 24.0.50.6 (mips64el-unknown-linux-gnu, GTK+ Version 2.12.12) of 2011-10-14 on theobromine2 configured using `configure 'CFLAGS=-g -O1'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil 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 Major mode: Mail Minor modes in effect: shell-dirtrack-mode: t gpm-mouse-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: p p p n p p p p C-x b o u t g TAB RET g C-x b C-g C-x b C-g C-x d ESC DEL e m a c s - s r c / ESC DEL DEL - b z r / t r u n k / l i s p / m a i l RET C-s s e n d m a i l C-n C-n C-n C-n C-n C-n C-u C-p C-p C-p e C-v C-s p a r t C-n C-n C-s C-s C-s C-s C-a ESC v ESC < C-s m i m e C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-s C-s C-n C-n C-s C-s C-v C-s C-s ESC < C-s m a i l - e n c o d e - m m l C-s C-n C-s C-s C-s C-s C-a C-x C-f r m a i l / DEL . e l RET C-s C-s C-s C-s C-a C-u C-v C-u C-v ESC < C-s # p a r t C-s C-s C-a ESC < C-s p a r t C-s C-s C-s C-s C-s C-s C-s DEL C-s C-s C-s C-s C-s C-s C-g C-g C-u C-@ C-u C-@ C-u C-@ C-u C-v C-u C-v C-u C-u C-p C-u C-n C-n C-n C-n C-e C-n C-e C-h f C-g C-h v RET C-x o C-n C-n C-e C-p TAB C-u C-p C-p C-p C-p C-p TAB RET C-x 1 ESC f ESC f C-h v RET C-x o C-n C-n C-e C-h f RET C-n TAB RET C-x 1 ESC f C-f C-@ ESC C-f ESC w C-x 4 m ESC x r e p o r t SPC e m a s SPC DEL c s SPC b u g RET Recent messages: Mark set Mark saved where search started [3 times] Mark set Mark saved where search started Mark set Quit [2 times] mouse-2, RET: describe this variable mouse-2, RET: find variable's definition mouse-2, RET: find function's definition Mark set Load-path shadows: None found. Features: (wid-edit descr-text ind-util jka-compr etags cc-mode byte-opt bytecomp byte-compile cconv macroexp cc-langs cl cc-fonts cc-guess cc-bytecomp cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs find-func pp help-fns vc-bzr parse-time vc-cvs mule-util cal-move cal-menu calendar cal-loaddefs ispell tmm electric dired-aux epa-mail epa derived epg epg-config rmailout shell pcomplete grep compile comint ring qp quail novice sgml-mode dabbrev multi-isearch mail-extr newcomment help-mode view shadow mailalias emacsbug rmailmm message sendmail format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231 rmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils dired regexp-opt t-mouse time-date battery paren cus-start cus-load tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use free telephony http://directory.fsf.org/category/tel/ From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 16 08:55:23 2011 Received: (at 9766) by debbugs.gnu.org; 16 Oct 2011 12:55:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFQFP-0003sL-62 for submit@debbugs.gnu.org; Sun, 16 Oct 2011 08:55:23 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFQFL-0003sC-87 for 9766@debbugs.gnu.org; Sun, 16 Oct 2011 08:55:20 -0400 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RFQET-0004nL-MK; Sun, 16 Oct 2011 08:54:25 -0400 Date: Sun, 16 Oct 2011 08:54:25 -0400 Message-Id: From: Eli Zaretskii To: rms@gnu.org In-reply-to: (message from Richard Stallman on Sun, 16 Oct 2011 07:19:05 -0400) Subject: Re: bug#9766: 24.0.50; rmail-forward makes attachment that doesn't read right References: X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 9766 Cc: 9766@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) merge 9766 9521 stop > Date: Sun, 16 Oct 2011 07:19:05 -0400 > From: Richard Stallman > Reply-To: rms@gnu.org > > When I use the f command in Rmail, it generates a message like this: > [...] > I have a friend who reads mail using IceDove 2.0.0.24, and these mime > parts appear empty. > > Is there anything wrong with these mime parts? > Or is it a bug in that version of IceDove? It's a missing feature in rmail-forward, see bug #9521 (now merged with this one) and a short conversation that started here: http://lists.gnu.org/archive/html/bug-gnu-emacs/2011-09/msg00691.html You can disable the MIME-attachment style of forwarding by setting rmail-enable-mime-composing to nil, in which case Rmail will generate an inline plain-text forwarded message, but I don't remember if that fixes this particular problem. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 16 14:37:31 2011 Received: (at control) by debbugs.gnu.org; 16 Oct 2011 18:37:31 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFVaV-0003Gi-2W for submit@debbugs.gnu.org; Sun, 16 Oct 2011 14:37:31 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFVaS-0003Gb-Tk for control@debbugs.gnu.org; Sun, 16 Oct 2011 14:37:29 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RFVZh-0003cw-OD for control@debbugs.gnu.org; Sun, 16 Oct 2011 14:36:41 -0400 Date: Sun, 16 Oct 2011 14:36:41 -0400 Message-Id: Subject: control message for bug 9766 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) merge 9521 9766 From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 16 14:44:11 2011 Received: (at 9766) by debbugs.gnu.org; 16 Oct 2011 18:44:11 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFVgw-0003T8-T5 for submit@debbugs.gnu.org; Sun, 16 Oct 2011 14:44:11 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFVgu-0003Sx-Ag for 9766@debbugs.gnu.org; Sun, 16 Oct 2011 14:44:09 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RFVg2-00009n-A7; Sun, 16 Oct 2011 20:43:14 +0200 From: Lars Magne Ingebrigtsen To: rms@gnu.org Subject: Re: bug#9766: 24.0.50; rmail-forward makes attachment that doesn't read right In-Reply-To: (Richard Stallman's message of "Sun, 16 Oct 2011 07:19:05 -0400") Date: Sun, 16 Oct 2011 20:43:06 +0200 Message-ID: References: User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEUAAACowMcnGheLiXgB AQEMBghwWkhMNysDAgPeHnT3AAACZUlEQVQ4jW2TTW+jMBCGR5Wb9EospdeKhNJr5F24Wlk2+MiS OOHYQAVXQlrYY1VBy8/uGOeDZHckQPjRO69nxgYA8A4xTwxqqMD3CLgGhCtAmcEUmRkUAfFqJNzj 85RVhYMoto17zMQ5LhLCuZ9ROaE/5cQyt6ODBQABVNCUsVET2sVOKTCXjo+EGsyNTesx2447IJSJ EAhokpmWuXe2LmD6zhrICoFrm6Zs1u6OKgV4pPsME6Nav1VW1GRbDYB0DwKzHLHYaps9PS6ruEmY TMdpkVpy31MgYNTe0UpuLDkZQy/8hFZlgRaN/HPfB8MdzQrTelqOoh74XTI2o4Ulo8pwmzP4St+4 z+hjmkXyMftYHj2GGbZ/sKMTJ27M1JQnUHrKfEb3LH7apPHHUtdhJw62lbHtuEyf2jCzQlQQIOXf ZRgv7eliRx3mpGZZVSUqyOfUSzbZ0s6xJTpmhoEed29wm4bxxH71K1zETRuJw1DhBzB4sGM7fB3m MqpFLVoMCWADLL4qtzQRqJ1wNUzRAn9BsKjcT/R4Ps0ZAeDf58BrWxEcAKJagRhgveBd+c+Y6KxY A/wqdF9ynIs6fQL99coDHBT6lKl9XczjGbrzqtaba+CdFKse+IHm+uz9k4p4h8ovgP8COo1uyTkG ORYn2g5dmA9e+4r3voLoXV17YHf5XR9w8I5ANVccK7+NAillBHebnATgrU4tUW2uOd5ePyf4rusu F/RuwTCfB3AbiGbVir55OMy/Arh5J/NVNw9UqKuGSRZTTN68E+HVVy2ZYvKo/s88HvRXAXkNBFf3 HoUXIDgrom8XetcG3KLXjQAAAABJRU5ErkJggg== X-Now-Playing: Minimal Compact's _The Figure One Cuts_: "Inner Station" MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1RFVg2-00009n-A7 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1319395395.04536@hBXOCyCNEZ9XtcxVij7BHg X-Spam-Status: No X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 9766 Cc: 9766@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Richard Stallman writes: > Is there anything wrong with these mime parts? > Or is it a bug in that version of IceDove? The message looks valid to me, but some other mail programs have little support for message/rfc822 parts, so it's often better to forward messages using a non-MIME method. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 16 17:41:03 2011 Received: (at 9766) by debbugs.gnu.org; 16 Oct 2011 21:41:03 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFYS7-0008Dy-48 for submit@debbugs.gnu.org; Sun, 16 Oct 2011 17:41:03 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFYS5-0008Dg-Ka for 9766@debbugs.gnu.org; Sun, 16 Oct 2011 17:41:02 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RFYRI-0003tp-Uj; Sun, 16 Oct 2011 17:40:13 -0400 Date: Sun, 16 Oct 2011 17:40:12 -0400 Message-Id: Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: Eli Zaretskii In-reply-to: (message from Eli Zaretskii on Sun, 16 Oct 2011 08:54:25 -0400) Subject: Re: bug#9766: 24.0.50; rmail-forward makes attachment that doesn't read right References: X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 9766 Cc: 9766@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: rms@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) It's a missing feature in rmail-forward, see bug #9521 (now merged with this one) and a short conversation that started here: http://lists.gnu.org/archive/html/bug-gnu-emacs/2011-09/msg00691.html It is hard for me to read a thread of mail. Can you show me the text that describes what is missing? Maybe I can write it. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use free telephony http://directory.fsf.org/category/tel/ From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 17 01:06:49 2011 Received: (at 9766) by debbugs.gnu.org; 17 Oct 2011 05:06:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFfPV-0001tr-63 for submit@debbugs.gnu.org; Mon, 17 Oct 2011 01:06:49 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFfPS-0001tj-Cj for 9766@debbugs.gnu.org; Mon, 17 Oct 2011 01:06:47 -0400 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RFfOX-0002RG-Ii; Mon, 17 Oct 2011 01:05:49 -0400 Date: Mon, 17 Oct 2011 01:05:49 -0400 Message-Id: From: Eli Zaretskii To: rms@gnu.org In-reply-to: (message from Richard Stallman on Sun, 16 Oct 2011 17:40:12 -0400) Subject: Re: bug#9766: 24.0.50; rmail-forward makes attachment that doesn't read right References: X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 9766 Cc: 9766@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) > Date: Sun, 16 Oct 2011 17:40:12 -0400 > From: Richard Stallman > CC: 9766@debbugs.gnu.org > > It's a missing feature in rmail-forward, see bug #9521 (now merged > with this one) and a short conversation that started here: > > http://lists.gnu.org/archive/html/bug-gnu-emacs/2011-09/msg00691.html > > It is hard for me to read a thread of mail. > Can you show me the text that describes what is missing? > Maybe I can write it. Here: > > From: Kenichi Handa > > Cc: address@hidden, address@hidden > > Date: Fri, 16 Sep 2011 12:41:37 +0900 > > > > rmail-forward still has a problem when a message has an > > attachment file. > Yes, I know. But that's a different bug. It happens because > rmail-forward simply copies the text from the buffer where the > forwarded message is displayed, which is not TRT when the message > has > attachments, because rmail-mime reformats it for display and adds > buttons. Actually that copying is done by rmail-insert-mime-resent-message (rmail-insert-mime-resent-message-function is set to it when rmailmm.el is loaded), and that function was changed by RMS as this. 2011-06-22 Richard Stallman * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely to Rmail even if not started by a special Rmail command. * mail/rmailmm.el (rmail-insert-mime-forwarded-message): Copy the buffer currently showing just one message. I don't know what it was going to fix. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 17 09:15:38 2011 Received: (at 9766) by debbugs.gnu.org; 17 Oct 2011 13:15:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFn2Y-0008C1-Fk for submit@debbugs.gnu.org; Mon, 17 Oct 2011 09:15:38 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFn2W-0008Bt-6X for 9766@debbugs.gnu.org; Mon, 17 Oct 2011 09:15:37 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RFn1g-00030A-AA; Mon, 17 Oct 2011 09:14:44 -0400 Date: Mon, 17 Oct 2011 09:14:44 -0400 Message-Id: Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: Eli Zaretskii In-reply-to: (message from Eli Zaretskii on Mon, 17 Oct 2011 01:05:49 -0400) Subject: Re: bug#9766: 24.0.50; rmail-forward makes attachment that doesn't read right References: X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 9766 Cc: 9766@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: rms@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) Actually that copying is done by rmail-insert-mime-resent-message (rmail-insert-mime-resent-message-function is set to it when rmailmm.el is loaded), and that function was changed by RMS as this. My change was to forward the message as displayed, rather than the raw text of the message. I think my change eliminated the old bug. Anyway, there is still a bug. Some different bug. Can someone tell me what is wrong with the output that is generated now? If I know what output would be correct, I can fix this bug. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use free telephony http://directory.fsf.org/category/tel/ From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 17 10:08:56 2011 Received: (at 9766) by debbugs.gnu.org; 17 Oct 2011 14:08:56 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFns8-00019L-5O for submit@debbugs.gnu.org; Mon, 17 Oct 2011 10:08:56 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFns5-00019C-Ib for 9766@debbugs.gnu.org; Mon, 17 Oct 2011 10:08:54 -0400 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RFnr9-0006UU-MT; Mon, 17 Oct 2011 10:07:55 -0400 Date: Mon, 17 Oct 2011 10:07:55 -0400 Message-Id: From: Eli Zaretskii To: rms@gnu.org In-reply-to: (message from Richard Stallman on Mon, 17 Oct 2011 09:14:44 -0400) Subject: Re: bug#9766: 24.0.50; rmail-forward makes attachment that doesn't read right References: X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 9766 Cc: 9766@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) > Date: Mon, 17 Oct 2011 09:14:44 -0400 > From: Richard Stallman > CC: 9766@debbugs.gnu.org > > Actually that copying is done by > rmail-insert-mime-resent-message > (rmail-insert-mime-resent-message-function is set to it when > rmailmm.el is loaded), and that function was changed by RMS > as this. > > My change was to forward the message as displayed, rather than the raw > text of the message. Was it for the MIME version of forwarding or for the inline version? The problem we have now is only with the MIME version. > Anyway, there is still a bug. Some different bug. Can someone tell > me what is wrong with the output that is generated now? If I know > what output would be correct, I can fix this bug. I think what needs to be done is to copy into the buffer where mail is composed the message in the original form, not in the form we put into the rmail-view-buffer. For the definitive answer, I suggest to start Emacs with the default value of mail-user-agent, start Rmail, forward (to yourself) a message with attachments, and then look at hoe message.el did it. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 17 17:43:26 2011 Received: (at 9766) by debbugs.gnu.org; 17 Oct 2011 21:43:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFuxy-00066S-5V for submit@debbugs.gnu.org; Mon, 17 Oct 2011 17:43:26 -0400 Received: from fencepost.gnu.org ([140.186.70.10] ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFuxt-00066F-Lz for 9766@debbugs.gnu.org; Mon, 17 Oct 2011 17:43:23 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RFux1-0000vC-FO; Mon, 17 Oct 2011 17:42:27 -0400 Date: Mon, 17 Oct 2011 17:42:27 -0400 Message-Id: Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: Eli Zaretskii In-reply-to: (message from Eli Zaretskii on Mon, 17 Oct 2011 10:07:55 -0400) Subject: Re: bug#9766: 24.0.50; rmail-forward makes attachment that doesn't read right References: X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 9766 Cc: 9766@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: rms@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) > My change was to forward the message as displayed, rather than the raw > text of the message. Was it for the MIME version of forwarding or for the inline version? For the MIME version. I think what needs to be done is to copy into the buffer where mail is composed the message in the original form, not in the form we put into the rmail-view-buffer. No. That had the bug (the one reported before), and it also is an ugly pain in the neck. Anyway, if you want to forward the raw form, all you have to do is type v. That works, too. For the definitive answer, I suggest to start Emacs with the default value of mail-user-agent, start Rmail, forward (to yourself) a message with attachments, and then look at hoe message.el did it. But that is not conclusive. What we need is a person who knows MIME well enough to look at the generated text, and tell us if it has an error. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use free telephony http://directory.fsf.org/category/tel/ From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 17 21:02:08 2011 Received: (at 9766) by debbugs.gnu.org; 18 Oct 2011 01:02:08 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFy4F-0002CQ-K8 for submit@debbugs.gnu.org; Mon, 17 Oct 2011 21:02:08 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFy43-0002Bk-Mg; Mon, 17 Oct 2011 21:02:05 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnEHAP/OnE5MCqLO/2dsb2JhbABDmXWOYoEGgW4BAQQBViMFCws0EhQYDYg2twmICAShKYRF X-IronPort-AV: E=Sophos;i="4.69,362,1315195200"; d="scan'208";a="142554115" Received: from 76-10-162-206.dsl.teksavvy.com (HELO pastel.home) ([76.10.162.206]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 17 Oct 2011 21:00:55 -0400 Received: by pastel.home (Postfix, from userid 20848) id 93D285920F; Mon, 17 Oct 2011 21:00:55 -0400 (EDT) From: Stefan Monnier To: rms@gnu.org Subject: Re: bug#9766: 24.0.50; rmail-forward makes attachment that doesn't read right Message-ID: References: Date: Mon, 17 Oct 2011 21:00:55 -0400 In-Reply-To: (Richard Stallman's message of "Mon, 17 Oct 2011 17:42:27 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 9766 Cc: Eli Zaretskii , 9766@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) > For the MIME version. > I think what needs to be done is to copy into the buffer where mail is > composed the message in the original form, not in the form we put into > the rmail-view-buffer. > No. That had the bug (the one reported before), I'm not sure which bug this refers to. But a MIME forward should contain an "original form" email message. You can strip some of the headers if you want, but it should contain non-decoded content. > and it also is an ugly pain in the neck. Do you say that because it makes the underlying encoded message visible? If so, it's a presentation problem: the content of the sent message should be "ugly" but there's no reason it should ever be displayed in this ugly form. > Anyway, if you want to forward the raw form, all you have to do is > type v. That works, too. Not using Rmail myself, I don't know what `v' runs. > For the definitive answer, I suggest to start Emacs with the default > value of mail-user-agent, start Rmail, forward (to yourself) a message > with attachments, and then look at hoe message.el did it. > But that is not conclusive. What we need is a person who knows MIME > well enough to look at the generated text, and tell us if it has an error. I haven't touched MIME in a while, but back when I was hacking on the PGP support for ExMH, I was reasonably up-to-date in MIME. To me the message you showed looked OK except for the "--text follows this line--" which should be an empty line, but I think this is just the "in buffer" text and that line is turned into an empty line when you send the message. Other than that it also seems to lack another part: it has a first part of type message/rfc822 and a second one of type text/plain, but you'll usually want to add a first part of type text/plain where you can put some text of your own making. Stefan PS: Reminds me that I think this "--text follows this line--" should be changed: instead of actual real text in the buffer, it should be an overlay's after-string covering the empty line. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 17 23:48:33 2011 Received: (at 9766) by debbugs.gnu.org; 18 Oct 2011 03:48:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RG0fJ-0007NA-Ce for submit@debbugs.gnu.org; Mon, 17 Oct 2011 23:48:33 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RG0fH-0007Mx-Jb for 9766@debbugs.gnu.org; Mon, 17 Oct 2011 23:48:31 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LT800500T2YUJ00@a-mtaout22.012.net.il> for 9766@debbugs.gnu.org; Tue, 18 Oct 2011 05:47:31 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.212.197]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LT80054ET76DVC0@a-mtaout22.012.net.il>; Tue, 18 Oct 2011 05:47:31 +0200 (IST) Date: Tue, 18 Oct 2011 05:47:31 +0200 From: Eli Zaretskii Subject: Re: bug#9766: 24.0.50; rmail-forward makes attachment that doesn't read right In-reply-to: X-012-Sender: halo1@inter.net.il To: rms@gnu.org Message-id: <83vcrnufjg.fsf@gnu.org> References: X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 9766 Cc: 9766@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) > Date: Mon, 17 Oct 2011 17:42:27 -0400 > From: Richard Stallman > CC: 9766@debbugs.gnu.org > > For the definitive answer, I suggest to start Emacs with the default > value of mail-user-agent, start Rmail, forward (to yourself) a message > with attachments, and then look at hoe message.el did it. > > But that is not conclusive. Why not? Last time I tried it, the result was correctly displayed by Rmail. > What we need is a person who knows MIME > well enough to look at the generated text, and tell us if it has an error. We have Lars and we have Rainer. I wouldn't worry about that. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 17 23:54:35 2011 Received: (at 9766) by debbugs.gnu.org; 18 Oct 2011 03:54:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RG0l9-0007VY-6i for submit@debbugs.gnu.org; Mon, 17 Oct 2011 23:54:35 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RG0l6-0007VH-K6 for 9766@debbugs.gnu.org; Mon, 17 Oct 2011 23:54:33 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LT800900SR44U00@a-mtaout21.012.net.il> for 9766@debbugs.gnu.org; Tue, 18 Oct 2011 05:53:32 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.212.197]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LT8009HOTH72K30@a-mtaout21.012.net.il>; Tue, 18 Oct 2011 05:53:32 +0200 (IST) Date: Tue, 18 Oct 2011 05:53:32 +0200 From: Eli Zaretskii Subject: Re: bug#9766: 24.0.50; rmail-forward makes attachment that doesn't read right In-reply-to: X-012-Sender: halo1@inter.net.il To: rms@gnu.org Message-id: <83ty77uf9f.fsf@gnu.org> References: X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 9766 Cc: 9766@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) > Date: Mon, 17 Oct 2011 17:42:27 -0400 > From: Richard Stallman > CC: 9766@debbugs.gnu.org > > Anyway, if you want to forward the raw form, all you have to do is > type v. I thought so, but last time I tried, it didn't work well (the result was unreadable in another mailer). I will try again. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 17 23:55:36 2011 Received: (at 9766) by debbugs.gnu.org; 18 Oct 2011 03:55:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RG0m8-0007X7-JK for submit@debbugs.gnu.org; Mon, 17 Oct 2011 23:55:36 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RG0m6-0007Ws-Pj for 9766@debbugs.gnu.org; Mon, 17 Oct 2011 23:55:35 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LT800500TDRVH00@a-mtaout22.012.net.il> for 9766@debbugs.gnu.org; Tue, 18 Oct 2011 05:54:34 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.212.197]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LT80053STIWSK30@a-mtaout22.012.net.il>; Tue, 18 Oct 2011 05:54:33 +0200 (IST) Date: Tue, 18 Oct 2011 05:54:32 +0200 From: Eli Zaretskii Subject: Re: bug#9766: 24.0.50; rmail-forward makes attachment that doesn't read right In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83sjmruf7r.fsf@gnu.org> References: X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 9766 Cc: rms@gnu.org, 9766@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) > From: Stefan Monnier > Cc: Eli Zaretskii , 9766@debbugs.gnu.org > Date: Mon, 17 Oct 2011 21:00:55 -0400 > > > Anyway, if you want to forward the raw form, all you have to do is > > type v. That works, too. > > Not using Rmail myself, I don't know what `v' runs. `v' shows the raw message as it came in the mbox file. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 18 06:29:53 2011 Received: (at 9766) by debbugs.gnu.org; 18 Oct 2011 10:29:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RG6vd-0000YJ-Ho for submit@debbugs.gnu.org; Tue, 18 Oct 2011 06:29:51 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RG6vY-0000Y7-47 for 9766@debbugs.gnu.org; Tue, 18 Oct 2011 06:29:48 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RG6uR-0006xN-MT; Tue, 18 Oct 2011 12:28:35 +0200 From: Lars Magne Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#9766: 24.0.50; rmail-forward makes attachment that doesn't read right In-Reply-To: <83vcrnufjg.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 18 Oct 2011 05:47:31 +0200") Date: Tue, 18 Oct 2011 12:28:32 +0200 Message-ID: References: <83vcrnufjg.fsf@gnu.org> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEUAAACowMcnGheLiXgB AQEMBghwWkhMNysDAgPeHnT3AAACZUlEQVQ4jW2TTW+jMBCGR5Wb9EospdeKhNJr5F24Wlk2+MiS OOHYQAVXQlrYY1VBy8/uGOeDZHckQPjRO69nxgYA8A4xTwxqqMD3CLgGhCtAmcEUmRkUAfFqJNzj 85RVhYMoto17zMQ5LhLCuZ9ROaE/5cQyt6ODBQABVNCUsVET2sVOKTCXjo+EGsyNTesx2447IJSJ EAhokpmWuXe2LmD6zhrICoFrm6Zs1u6OKgV4pPsME6Nav1VW1GRbDYB0DwKzHLHYaps9PS6ruEmY TMdpkVpy31MgYNTe0UpuLDkZQy/8hFZlgRaN/HPfB8MdzQrTelqOoh74XTI2o4Ulo8pwmzP4St+4 z+hjmkXyMftYHj2GGbZ/sKMTJ27M1JQnUHrKfEb3LH7apPHHUtdhJw62lbHtuEyf2jCzQlQQIOXf ZRgv7eliRx3mpGZZVSUqyOfUSzbZ0s6xJTpmhoEed29wm4bxxH71K1zETRuJw1DhBzB4sGM7fB3m MqpFLVoMCWADLL4qtzQRqJ1wNUzRAn9BsKjcT/R4Ps0ZAeDf58BrWxEcAKJagRhgveBd+c+Y6KxY A/wqdF9ynIs6fQL99coDHBT6lKl9XczjGbrzqtaba+CdFKse+IHm+uz9k4p4h8ovgP8COo1uyTkG ORYn2g5dmA9e+4r3voLoXV17YHf5XR9w8I5ANVccK7+NAillBHebnATgrU4tUW2uOd5ePyf4rusu F/RuwTCfB3AbiGbVir55OMy/Arh5J/NVNw9UqKuGSRZTTN68E+HVVy2ZYvKo/s88HvRXAXkNBFf3 HoUXIDgrom8XetcG3KLXjQAAAABJRU5ErkJggg== X-Now-Playing: Minimal Compact's _The Figure One Cuts_: "Night Light" MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1RG6uR-0006xN-MT X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1319538515.90871@nCpQfBM/mNM14KeSRx4BxA X-Spam-Status: No X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 9766 Cc: rms@gnu.org, 9766@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Eli Zaretskii writes: > We have Lars and we have Rainer. I wouldn't worry about that. Actually, I'm not 100% sure that it was valid MIME. The structure was basically --------------------- Headers: Bla bla --delimiter line .. --end-- --------------------- Reading RFC2046, the CRLF preceding the delimiter line is part of the delimiter line. But at the same time, the blank line after the headers is the thing that delimits the headers from the body, which means that the same blank line has two different overlapping meanings, which may make some very strict parsers misbehave. Adding an additional blank line before the delimiter line should fix this and make this unambiguously valid MIME. Unless I'm missing something in RFC2046. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 18 06:57:51 2011 Received: (at 9766) by debbugs.gnu.org; 18 Oct 2011 10:57:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RG7Mk-0001De-EU for submit@debbugs.gnu.org; Tue, 18 Oct 2011 06:57:50 -0400 Received: from fencepost.gnu.org ([140.186.70.10] ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RG7Mi-0001DX-KZ for 9766@debbugs.gnu.org; Tue, 18 Oct 2011 06:57:49 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RG7Lm-00073c-JO; Tue, 18 Oct 2011 06:56:50 -0400 Date: Tue, 18 Oct 2011 06:56:50 -0400 Message-Id: Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: Eli Zaretskii In-reply-to: <83vcrnufjg.fsf@gnu.org> (message from Eli Zaretskii on Tue, 18 Oct 2011 05:47:31 +0200) Subject: Re: bug#9766: 24.0.50; rmail-forward makes attachment that doesn't read right References: <83vcrnufjg.fsf@gnu.org> X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 9766 Cc: 9766@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: rms@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) > For the definitive answer, I suggest to start Emacs with the default > value of mail-user-agent, start Rmail, forward (to yourself) a message > with attachments, and then look at hoe message.el did it. > > But that is not conclusive. Why not? Last time I tried it, the result was correctly displayed by Rmail. If the message displays badly in mail reader A, debugging that might lead to some problem in how the message was written. But if the message displays with no problem in mail reader A, that doesn't tell us much about what it is about the message that causes mail reader B to display it badly. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use free telephony http://directory.fsf.org/category/tel/ From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 18 09:02:28 2011 Received: (at 9766) by debbugs.gnu.org; 18 Oct 2011 13:02:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RG9JL-0004nI-NZ for submit@debbugs.gnu.org; Tue, 18 Oct 2011 09:02:27 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RG9JI-0004n1-SE for 9766@debbugs.gnu.org; Tue, 18 Oct 2011 09:02:26 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAMB3nU5MCqLO/2dsb2JhbABEqGSBBoFuAQEEAVYjEAs0EhQYDSSIE7ZoiBsEoSqERQ X-IronPort-AV: E=Sophos;i="4.69,365,1315195200"; d="scan'208";a="142682737" Received: from 76-10-162-206.dsl.teksavvy.com (HELO ceviche.home) ([76.10.162.206]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 18 Oct 2011 09:01:22 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 00ACC660B6; Tue, 18 Oct 2011 09:01:21 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#9766: 24.0.50; rmail-forward makes attachment that doesn't read right Message-ID: References: <83sjmruf7r.fsf@gnu.org> Date: Tue, 18 Oct 2011 09:01:21 -0400 In-Reply-To: <83sjmruf7r.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 18 Oct 2011 05:54:32 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 9766 Cc: rms@gnu.org, 9766@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) >> > Anyway, if you want to forward the raw form, all you have to do is >> > type v. That works, too. >> Not using Rmail myself, I don't know what `v' runs. > `v' shows the raw message as it came in the mbox file. So it would be equivalent to "resend" rather than to "forward", right? Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 18 09:27:28 2011 Received: (at 9766) by debbugs.gnu.org; 18 Oct 2011 13:27:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RG9hX-0005Lf-5g for submit@debbugs.gnu.org; Tue, 18 Oct 2011 09:27:28 -0400 Received: from fencepost.gnu.org ([140.186.70.10] ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RG9hS-0005LV-SU for 9766@debbugs.gnu.org; Tue, 18 Oct 2011 09:27:24 -0400 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RG9gQ-0006O8-SF; Tue, 18 Oct 2011 09:26:18 -0400 Date: Tue, 18 Oct 2011 09:26:18 -0400 Message-Id: From: Eli Zaretskii To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Tue, 18 Oct 2011 09:01:21 -0400) Subject: Re: bug#9766: 24.0.50; rmail-forward makes attachment that doesn't read right References: <83sjmruf7r.fsf@gnu.org> X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 9766 Cc: rms@gnu.org, 9766@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) > From: Stefan Monnier > Cc: rms@gnu.org, 9766@debbugs.gnu.org > Date: Tue, 18 Oct 2011 09:01:21 -0400 > > >> > Anyway, if you want to forward the raw form, all you have to do is > >> > type v. That works, too. > >> Not using Rmail myself, I don't know what `v' runs. > > `v' shows the raw message as it came in the mbox file. > > So it would be equivalent to "resend" rather than to "forward", right? No, it's still "forward". The raw message gets appended to whatever you type in the mail composition buffer, before sending the result. The difference is that what gets appended is the original mbox format, complete with MIME headers and bodies of the attachments to that original. By contrast, forwarding without the preceding `v' appends the formatted message, which includes buttons we create out of the MIME attachments. However, these buttons are copied as plain text, which of course is useless to the addressee of the forwarded mail. I think the result after `v' was also incorrect, perhaps because the way sendmail.el calls mml-to-mime is not entirely correct when the body already includes attachments. I will have a second look when I have time (unless Richard beats me to it). From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 28 15:47:38 2012 Received: (at 9766) by debbugs.gnu.org; 28 Dec 2012 20:47:39 +0000 Received: from localhost ([127.0.0.1]:35202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TogqA-0003wD-9i for submit@debbugs.gnu.org; Fri, 28 Dec 2012 15:47:38 -0500 Received: from alum-mailsec-scanner-6.mit.edu ([18.7.68.18]:53323) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Togq7-0003w0-77; Fri, 28 Dec 2012 15:47:36 -0500 X-AuditID: 12074412-b7f216d0000008e3-78-50de05304b02 Received: from outgoing-alum.mit.edu (OUTGOING-ALUM.MIT.EDU [18.7.68.33]) by alum-mailsec-scanner-6.mit.edu (Symantec Messaging Gateway) with SMTP id 56.C7.02275.0350ED05; Fri, 28 Dec 2012 15:46:40 -0500 (EST) Received: from foil.strangled.net (c-67-188-235-212.hsd1.ca.comcast.net [67.188.235.212]) (authenticated bits=0) (User authenticated as mdl@ALUM.MIT.EDU) by outgoing-alum.mit.edu (8.13.8/8.12.4) with ESMTP id qBSKkbBa005834 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 28 Dec 2012 15:46:39 -0500 From: Mark Lillibridge To: 9521@debbugs.gnu.org, 9766@debbugs.gnu.org Subject: PATCH for bug #9521, *not* bug #9766 In-Reply-To: <871uea9dzk.fsf@foil.strangled.net> (message from Mark Lillibridge on Fri, 28 Dec 2012 11:24:31 -0800) Date: Fri, 28 Dec 2012 12:46:33 -0800 Message-ID: <87vcbl9a6u.fsf@foil.strangled.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprOKsWRmVeSWpSXmKPExsUixO6iqGvAei/A4O4nDouJe3ezWixp28du MfXjGTYHZo+/7z8weVyctI85gCmK2yYpsaQsODM9T98ugTtj0yyDgpPqFTM+tDI1MG6U72Lk 5JAQMJGYffsfM4QtJnHh3nq2LkYuDiGBy4wSJ05/ZYFwrjJJNJ2eDFbFJqApMf3Zd3YQW0RA T+LTrAdgtrCArsT7aXMYQWxOgWKJlyc/sYHYQgJSEksXnQCrYRFQlZjds4K1i5GDg1dAX+L6 D7AjeAUEJU7OfMICYjMDhWdP72adwMg7C0lqFpIUhC0ucX3Vf+ZZQJOYBaQllv/jgAhrSyxb +Jp5ASPrKka5xJzSXN3cxMyc4tRk3eLkxLy81CJdM73czBK91JTSTYyQwBTawbj+pNwhRgEO RiUe3lO37wYIsSaWFVfmHmKU5GBSEuU9zngvQIgvKT+lMiOxOCO+qDQntfgQowQHs5IIr9Q/ oHLelMTKqtSifJiUNAeLkjjvz8XqfkIC6YklqdmpqQWpRTBZGQ4OJQleAxagoYJFqempFWmZ OSUIaSYOTpDhXFIixal5KalFiaUlGfGgaIwvBsYjSIoHaG84SDtvcUFiLlAUovUUoyXHlhc3 njJy/PgDIn+tvPmUUYglLz8vVUqcVxmkQQCkIaM0D24dLD29YhQH+l6Y1xWkigeY2uCmvgJa yAS00JrnDsjCkkSElFQDY//+jU9D/n5r2mzJU5i65kRu7xanmVvbSh09dVx7J/pwafRb5E2s iQn7l8zq+upGePXHvl/17tn71tvvaWo8OMt1mVBB9nHn1aZ8e4S8L+R2x6/zzm9fceT0Hfe1 qwt/ls3bt+7Ktz+fcsULG/hlHynb7vgqF1PV7HOpbfFJZ56Ib5udEhuElViKMxINtZiLihMB VDyS8SoDAAA= X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This bug (#9521) was easy to fix. The problem was with the rmail-insert-mime-forwarded-message function in rmailmm.el:1355: (defun rmail-insert-mime-forwarded-message (forward-buffer) "Insert the message in FORWARD-BUFFER as a forwarded message. This is the usual value of `rmail-insert-mime-forwarded-message-function'." (let ((message-buffer (with-current-buffer forward-buffer (if rmail-buffer-swapped forward-buffer rmail-view-buffer)))) (save-restriction (narrow-to-region (point) (point)) (message-forward-make-body-mime message-buffer)))) [...] Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [18.7.68.18 listed in list.dnswl.org] -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record 2.1 HTML_IMAGE_ONLY_12 BODY: HTML: images with 800-1200 bytes of words 0.0 T_TVD_MIME_NO_HEADERS BODY: T_TVD_MIME_NO_HEADERS 0.0 HTML_MESSAGE BODY: HTML included in message 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] 0.8 HTML_TAG_BALANCE_HEAD BODY: HTML has unbalanced "head" tags 0.0 T_REMOTE_IMAGE Message contains an external image X-Debbugs-Envelope-To: 9766 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: mdl@alum.mit.edu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This bug (#9521) was easy to fix. The problem was with the rmail-insert-mime-forwarded-message function in rmailmm.el:1355: (defun rmail-insert-mime-forwarded-message (forward-buffer) "Insert the message in FORWARD-BUFFER as a forwarded message. This is the usual value of `rmail-insert-mime-forwarded-message-function'." (let ((message-buffer (with-current-buffer forward-buffer (if rmail-buffer-swapped forward-buffer rmail-view-buffer)))) (save-restriction (narrow-to-region (point) (point)) (message-forward-make-body-mime message-buffer)))) [...] Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [18.7.68.18 listed in list.dnswl.org] -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record 2.1 HTML_IMAGE_ONLY_12 BODY: HTML: images with 800-1200 bytes of words 0.0 T_TVD_MIME_NO_HEADERS BODY: T_TVD_MIME_NO_HEADERS 0.0 HTML_MESSAGE BODY: HTML included in message 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4274] 0.8 HTML_TAG_BALANCE_HEAD BODY: HTML has unbalanced "head" tags --=-=-= This bug (#9521) was easy to fix. The problem was with the rmail-insert-mime-forwarded-message function in rmailmm.el:1355: (defun rmail-insert-mime-forwarded-message (forward-buffer) "Insert the message in FORWARD-BUFFER as a forwarded message. This is the usual value of `rmail-insert-mime-forwarded-message-function'." (let ((message-buffer (with-current-buffer forward-buffer (if rmail-buffer-swapped forward-buffer rmail-view-buffer)))) (save-restriction (narrow-to-region (point) (point)) (message-forward-make-body-mime message-buffer)))) This does exactly the wrong thing by inserting the decoded version of the message. Swapping the two buffers (forward-buffer, rmail-view-buffer) in the if expression fixes this: (defun rmail-insert-mime-forwarded-message (forward-buffer) "Insert the message in FORWARD-BUFFER as a forwarded message. This is the usual value of `rmail-insert-mime-forwarded-message-function'." (let ((message-buffer (with-current-buffer forward-buffer (if rmail-buffer-swapped > rmail-view-buffer > forward-buffer)))) (save-restriction (narrow-to-region (point) (point)) (message-forward-make-body-mime message-buffer)))) Note that this does not fix bug #9766, which was incorrectly merged with bug #9521. The problem there (#9766) is that many email clients including in particular, the iPad email app, do not properly display RFC822 attachments or do not show it inline. Fixing that problem requires substantial work, including on the design front. One idea would be to generate the RFC822 attachment as now, which preserves the full details of the message for competent email clients, and also generate an abbreviated version in the message body for human viewers of incompetent email clients. The simplest approach would be to just insert the Rmail decoded version: ====== forwarded message as seen by sender (full message attached) ==== From: Kenichi Handa m17n.org> To: handa m17n.org Subject: test from shatin Date: Thu, 15 Sep 2011 14:14:58 +0900 Message-ID: <87aaa6xu7h.fsf m17n.org> Content-Type: multipart/mixed; boundary="=-=-=" [1:text/plain Hide] test of attachment [2:application/pdf Show Save:temp.pdf (2kB)] Here, the message headers have been filtered by the users usual header filtering rules and the body is as seen when the forwarding was done. e.g., whatever message part toggling the user did is still visible. Drawbacks: the PDF attachment here is not accessible to the incompetent email clients, this approach fails miserably for HTML-only messages (distressingly common these days), and there is no way to forward the HTML part instead of the text part inline (perhaps the HTML part has the real content). The first of these could be fixed by attaching all of the original non-inline attachments to the new message; this is what email clients like Outlook do when you forword a message. For the second and third parts, I have been experimenting with the following: --=-=-= Content-Type: text/html Content-Disposition: inline Content-Transfer-Encoding: quoted-printable
    =3D=3D=3D=3D=3D Forwarded message (HTML part only) follows =3D=3D=3D=3D=
=3D
    Date: Fri, 28 Dec 2012 19:44:57 -0000
    From: "Hilton Hotels & Resorts" 
    To: lillibridge@gmail.com
    Subject: Pick your paradise: choose from three unforgettable resort exp=
eriences
    Reply-To: "Hilton Hotels & Resorts" 
    
=20=20=20=20 Hilton Hotels & Resorts