From unknown Wed Jun 25 10:45:10 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#4539 <4539@debbugs.gnu.org> To: bug#4539 <4539@debbugs.gnu.org> Subject: Status: 23.1; problem with attachments Reply-To: bug#4539 <4539@debbugs.gnu.org> Date: Wed, 25 Jun 2025 17:45:10 +0000 retitle 4539 23.1; problem with attachments reassign 4539 emacs submitter 4539 Art Werschulz severity 4539 normal thanks From agw@dsm.fordham.edu Wed Sep 23 08:03:09 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 23 Sep 2009 15:03:09 +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.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8NF37bg015607 for ; Wed, 23 Sep 2009 08:03:09 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MqTN5-0004UL-3a for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2009 11:03:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MqTN0-0004O1-4u for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2009 11:03:06 -0400 Received: from [199.232.76.173] (port=49360 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqTMz-0004NW-OR for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2009 11:03:01 -0400 Received: from sobolev.dsm.fordham.edu ([150.108.64.57]:50240) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MqTMx-0002jH-Fw for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2009 11:03:00 -0400 Received: from sobolev.dsm.fordham.edu (localhost [127.0.0.1]) by sobolev.dsm.fordham.edu (8.14.3/8.14.3) with ESMTP id n8NF2ufW008439 for ; Wed, 23 Sep 2009 11:02:56 -0400 Received: (from agw@localhost) by sobolev.dsm.fordham.edu (8.14.3/8.14.3/Submit) id n8NF2unq008438; Wed, 23 Sep 2009 11:02:56 -0400 Date: Wed, 23 Sep 2009 11:02:56 -0400 Message-Id: <200909231502.n8NF2unq008438@sobolev.dsm.fordham.edu> From: Art Werschulz To: bug-gnu-emacs@gnu.org Subject: 23.1; problem with attachments X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Running rmail, I visited a msg that had an attachment. I typed the "v" key, hoping to view the attachment. I got the following error msg (from the *Messages* buffer): rmail-mm-get-boundary-error-message: Malformed boundary; type: (multipart/alternative (boundary . =_alternative 0056AED705257627_=)); disposition: (inline); encoding: nil If you like, I'll send you the entire message that produced the error. Unfortunately, I can't generate a "minimal example", because on some msgs the "v" command works and on some it doesn't; I am unable to charactize a condition that makes the difference. In GNU Emacs 23.1.1 (i386-redhat-linux-gnu, GTK+ Version 2.16.5) of 2009-08-26 on x86-2.fedora.phx.redhat.com Windowing system distributor `The X.Org Foundation', version 11.0.10603000 configured using `configure '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--target=i586-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=i386-redhat-linux-gnu' 'host_alias=i386-redhat-linux-gnu' 'target_alias=i586-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables'' Important settings: value of $LC_ALL: C 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.utf8 value of $XMODIFIERS: @im=none locale-coding-system: nil default-enable-multibyte-characters: t Major mode: RMAIL Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-u x r m a i l R M A I L . k e e p p p p p v q C-x b C-x b * R M A I L C-x k C-x C-f R M C-g C-x b R x r e p o r - t - b u g Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Counting messages...done Showing message 14 Showing message 14...done rmail-mm-get-boundary-error-message: Malformed boundary; type: (multipart/alternative (boundary . =_alternative 0056AED705257627_=)); disposition: (inline); encoding: nil (No changes need to be saved) Quit From rgm@gnu.org Wed Sep 23 09:22:44 2009 Received: (at 4539) by emacsbugs.donarmstrong.com; 23 Sep 2009 16:22:44 +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.6 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 n8NGMhhZ029660 for <4539@emacsbugs.donarmstrong.com>; Wed, 23 Sep 2009 09:22:44 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MqUc5-0000Sm-Kz; Wed, 23 Sep 2009 12:22:41 -0400 From: Glenn Morris To: Art Werschulz Cc: 4539@debbugs.gnu.org Subject: Re: bug#4539: 23.1; problem with attachments References: <200909231502.n8NF2unq008438@sobolev.dsm.fordham.edu> X-Spook: Semtex blackjack Mole strategic 9/11 Kennedy DES Skipjack X-Ran: c_@(F\iKC[%q$$%WtUiMrx^}6-Ii_?)M03^*i/ILhzW_Q{uXK~L\.`x6dstTS"xPEOY)w? X-Hue: red X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 23 Sep 2009 12:22:41 -0400 In-Reply-To: <200909231502.n8NF2unq008438@sobolev.dsm.fordham.edu> (Art Werschulz's message of "Wed, 23 Sep 2009 11:02:56 -0400") Message-ID: <0qws3ppr5a.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Art Werschulz wrote: > If you like, I'll send you the entire message that produced the error. If you don't mind, that would be best. Otherwise, we at least need to see all the lines that relate to mime boundaries. From rgm@gnu.org Wed Sep 23 20:24:21 2009 Received: (at 4539-done) by emacsbugs.donarmstrong.com; 24 Sep 2009 03:24:21 +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,FOURLA,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 n8O3OKC5020849 for <4539-done@emacsbugs.donarmstrong.com>; Wed, 23 Sep 2009 20:24:21 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MqewN-0000l2-9W; Wed, 23 Sep 2009 23:24:19 -0400 From: Glenn Morris To: 4539-done@debbugs.gnu.org Subject: Re: bug#4539: 23.1; problem with attachments References: <200909231502.n8NF2unq008438@sobolev.dsm.fordham.edu> <0qws3ppr5a.fsf@fencepost.gnu.org> X-Spook: spy ASPIC KGB BLU-97 A/B Semtex Bletchley Park industrial X-Ran: 4Nn.mGs+@+J+Vm2;{pJt4ERY'b=eo]"y1VHc(W2cfNm X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 23 Sep 2009 23:24:19 -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 Thank you for the example mail (received off-list). I believe the following changes fix this issue: * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where there is no newline after the final mime boundary. Move markers on insertion so that any buttons inserted don't end up in the next part of a multipart message. http://cvs.savannah.gnu.org/viewvc/emacs/lisp/mail/rmailmm.el?root=emacs&r1=1.10&r2=1.11&pathrev=MAIN From agw@dsm.fordham.edu Thu Sep 24 06:44:07 2009 Received: (at 4539) by emacsbugs.donarmstrong.com; 24 Sep 2009 13:44:08 +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=-1.4 required=4.0 tests=AWL,FOURLA,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from sobolev.dsm.fordham.edu (sobolev.dsm.fordham.edu [150.108.64.57]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8ODi69G021116 for <4539@emacsbugs.donarmstrong.com>; Thu, 24 Sep 2009 06:44:07 -0700 Received: from sobolev.dsm.fordham.edu (localhost [127.0.0.1]) by sobolev.dsm.fordham.edu (8.14.3/8.14.3) with ESMTP id n8ODi0su019177 for <4539@emacsbugs.donarmstrong.com>; Thu, 24 Sep 2009 09:44:00 -0400 Received: (from agw@localhost) by sobolev.dsm.fordham.edu (8.14.3/8.14.3/Submit) id n8ODi0nZ019176; Thu, 24 Sep 2009 09:44:00 -0400 Date: Thu, 24 Sep 2009 09:44:00 -0400 Message-Id: <200909241344.n8ODi0nZ019176@sobolev.dsm.fordham.edu> From: Art Werschulz To: 4539@debbugs.gnu.org In-reply-to: (owner@emacsbugs.donarmstrong.com) Subject: Re: bug#4539 closed by Glenn Morris (Re: bug#4539: 23.1; problem with attachments) References: <200909231502.n8NF2unq008438@sobolev.dsm.fordham.edu> Hi. This seems to fix the problem. FTTB, I have put the modified rmmail.el into /usr/share/emacs/site-lisp. When the next Fedora 11 emacs RPM comes out, I'll check to see whether it has the new rmmail.el or not; when this happens, I'll delete the version that I installed in /usr/share/emacs/site-lisp. Do you have any idea how I can expedite the process of getting a new Fedora 11 emacs RPM (containing this fix) to happen? Thanks. -- Art Werschulz (8-{)} "Metaphors be with you." -- bumper sticker GCS/M (GAT): d? -p+ c++ l++ u+ P++ e--- m* s n+ h f g+ w+ t+ r- Net: agw@dsm.fordham.edu http://www.dsm.fordham.edu/~agw Phone: Fordham U. (212) 636-6325, Columbia U. (646) 775-6035 From rgm@gnu.org Thu Sep 24 09:53:46 2009 Received: (at 4539) by emacsbugs.donarmstrong.com; 24 Sep 2009 16:53:46 +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 n8OGriNE020492 for <4539@emacsbugs.donarmstrong.com>; Thu, 24 Sep 2009 09:53:46 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MqrZf-0005GQ-6b; Thu, 24 Sep 2009 12:53:43 -0400 From: Glenn Morris To: Art Werschulz Cc: 4539@debbugs.gnu.org Subject: Re: bug#4539: closed by Glenn Morris (Re: bug#4539: 23.1; problem with attachments) References: <200909231502.n8NF2unq008438@sobolev.dsm.fordham.edu> <200909241344.n8ODi0nZ019176@sobolev.dsm.fordham.edu> X-Spook: subversive anarchy M-14 strategic Skipjack Venezuela X-Ran: 2-$.*Dw*G-0Rnaf*+^\m(o}9VO6u9N,ynCE2BNzf-88HeQN'%hZvz?-I=\n'zE%guSJOp= X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 24 Sep 2009 12:53:43 -0400 In-Reply-To: <200909241344.n8ODi0nZ019176@sobolev.dsm.fordham.edu> (Art Werschulz's message of "Thu, 24 Sep 2009 09:44:00 -0400") Message-ID: <561vlwwag8.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Art Werschulz wrote: > Do you have any idea how I can expedite the process of getting a new > Fedora 11 emacs RPM (containing this fix) to happen? Report the issue and the fix to Fedora, if you haven't already. I'm not familiar with Fedora, so I don't know what their policy on such matters is. From unknown Wed Jun 25 10:45:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 23 Oct 2009 14:24:13 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator