unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9766: 24.0.50; rmail-forward makes attachment that doesn't read right
@ 2011-10-16 11:19 Richard Stallman
  2011-10-16 12:54 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: Richard Stallman @ 2011-10-16 11:19 UTC (permalink / raw)
  To: 9766

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 <rms@gnu.org>
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: <MTAwMDAxMi5tdXRodQ.1318317081@quikprotect>
In-Reply-To: <E1RCyk0-0007Qh-EF@fencepost.gnu.org>
Date: Tue, 11 Oct 2011 12:41:21 +0530 (IST)
Subject: Re: Who are the organizers of this event
From: "Muthu" <muthu@member.fsf.org>
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/





^ permalink raw reply	[flat|nested] 25+ messages in thread
* bug#9521: 24.0.50; rmail-forward
@ 2011-09-16  7:51 Kenichi Handa
  2012-12-28 19:24 ` bug#9521: This bug is still present in version 24.2; it prevents forwarding correctly essentially any MINE message Mark Lillibridge
  2013-01-01 22:10 ` bug#9521: this bug (#10080) also causes an extra blank line to be appended to forwarded messages Mark Lillibridge
  0 siblings, 2 replies; 25+ messages in thread
From: Kenichi Handa @ 2011-09-16  7:51 UTC (permalink / raw)
  To: 9521

[-- Attachment #1: Type: text/plain, Size: 6411 bytes --]

rmail-forward doesn't handle a attachment file
correctly. For instance, when I have a message something
like this in RMAIL:

  ------------------------------------------------------------
  [...]
  [1:text/plain Hide]
  
  test of attachment
  
  [2:application/pdf Show Save:temp.pdf (2kB)]
  ------------------------------------------------------------

Typing f inserts just this in "part" part of *unsent mail to
...* buffer:

  ------------------------------------------------------------
  From: Kenichi Handa <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)]
  ------------------------------------------------------------

It's the content of rmail-view buffer and thus the outgoing
mail doesn't contain the correct attachment.

In Emacs 23.3, the content of "part" part was the original
whole message, and thus the outgoing mail surely contains an
attachment in a correct MIME form.

I'm attaching the same sample file so that you can see what
I described by typing 'f' in RMAIL.

---
Kenichi Handa
handa@m17n.org



In GNU Emacs 24.0.50.2 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2011-09-16 on etlken
Windowing system distributor `The X.Org Foundation', version 11.0.10706000
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: ja_JP.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: RMAIL

Minor modes in effect:
  diff-auto-refine-mode: t
  shell-dirtrack-mode: t
  display-time-mode: t
  tooltip-mode: t
  mouse-wheel-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

Recent input:
<backspace> <backspace> <backspace> C-\ c o m b <backspace> 
v e n i e n t <escape> $ 0 <escape> < C-c C-c h k <return> 
g n d d d d d d d d d d d d d d d d d d d d d d d d 
d d d d SPC <backspace> C-x o C-u C-v C-x o n d d d 
d d d d d d d s y C-x o C-h v r m a i l - m i <tab> 
<tab> <tab> <tab> C-g C-x C-f M-p <M-backspace> <M-backspace> 
<M-backspace> <M-backspace> <M-backspace> e m <tab> 
/ w o <tab> l i s p / m a i <tab> r m <tab> m <tab> 
m <tab> <return> C-s f o r w a r d C-w C-w C-s C-a 
C-n C-n C-n C-n C-n C-n C-n C-u C-v C-n C-n C-n C-n 
C-n C-n C-u C-v C-u C-v C-u C-v M-f M-f M-b M-b C-s 
C-w C-w C-w C-w C-w C-a C-x C-g <down-mouse-1> <mouse-1> 
C-a C-x b <return> C-x C-f M-p <return> C-M-a M-f M-f 
M-b C-s C-w C-w C-w C-w C-s C-s C-w C-a C-x C-f r m 
<tab> . <tab> <return> C-s C-s C-s C-w C-s C-a C-x 
b <return> C-r C-r C-a C-x k <return> C-x o j C-x o 
x C-g C-x o M-f M-f M-f M-f M-f M-f M-f M-f M-f M-b 
C-s C-w C-w C-r C-r C-a C-x o C-v C-p C-p C-p C-p C-p 
C-p C-n C-n C-n C-n C-n C-SPC C-v C-v C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-p C-p C-p <escape> w C-x C-x C-x C-x C-x C-g 
<escape> x r e p <tab> o <tab> r <tab> <return>

Recent messages:
Quit
Making completion list...
Mark saved where search started [2 times]
Mark set
Mark saved where search started [3 times]
Quit
Mark saved where search started
Mark set
Saved text from "rmail-forward still has a problem when a"
Making completion list... [2 times]

Load-path shadows:
/usr/local/share/emacs/site-lisp/evi-mule hides /usr/local/share/emacs/site-lisp/lookup/evi-mule
/usr/local/share/emacs/site-lisp/evi hides /usr/local/share/emacs/site-lisp/lookup/evi
/usr/local/share/emacs/site-lisp/anthy/anthy hides /usr/local/share/emacs/site-lisp/egg/egg/anthy
/usr/local/share/emacs/site-lisp/egg/its/thai hides /usr/local/work/emacs/stable/lisp/language/thai
/usr/local/share/emacs/site-lisp/egg/its/greek hides /usr/local/work/emacs/stable/lisp/language/greek
/usr/local/work/emacs/stable/lisp/textmodes/table hides ~/emacslisp/table
/usr/local/work/emacs/stable/lisp/language/thai-word hides ~/emacslisp/thai-word
/usr/local/work/emacs/stable/lisp/progmodes/prolog hides ~/emacslisp/prolog
/usr/local/work/emacs/stable/lisp/emacs-lisp/syntax hides ~/emacslisp/syntax
/usr/local/work/emacs/stable/lisp/textmodes/tex-mode hides ~/emacslisp/tex-mode

Features:
(iso-transl parse-time vc-cvs edmacro kmacro rect dabbrev
find-func etags warnings compile info diff-mode diff
thingatpt browse-url ind-util sh-script executable tar-mode
pcmpl-gnu pcmpl-unix ispell shadow emacsbug doc-view
image-mode dired nxml-uchnm rng-xsd xsd-regexp rng-cmpct
rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse
rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode
nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok
help-fns ansi-color shell pcomplete comint ring add-log
vc-bzr pp wid-edit descr-text network-stream starttls tls
mailalias smtpmail auth-source eieio byte-opt bytecomp
byte-compile cconv macroexp assoc password-cache sendmail
regexp-opt jka-compr sort mailcap newcomment ja-dic
mule-util kkc ja-dic-utl quail help-mode view supercite
easy-mmode regi gnus-util mail-extr multi-isearch qp
rmailkwd rmailmm message format-spec rfc822 mml easymenu
mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils
mailheader mail-parse rfc2231 js2-mode-autoloads package
tabulated-list rmail-parse-url time rmail-sa rmailsum rmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
time-date japan-util 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)


[-- Attachment #2: temp.pdf --]
[-- Type: application/pdf, Size: 2229 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2022-05-22 20:00 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-16 11:19 bug#9766: 24.0.50; rmail-forward makes attachment that doesn't read right Richard Stallman
2011-10-16 12:54 ` Eli Zaretskii
2011-10-16 21:40   ` Richard Stallman
2011-10-17  5:05     ` Eli Zaretskii
2011-10-17 13:14       ` Richard Stallman
2011-10-17 14:07         ` Eli Zaretskii
2011-10-17 21:42           ` Richard Stallman
2011-10-18  1:00             ` Stefan Monnier
2011-10-18  3:54               ` Eli Zaretskii
2011-10-18 13:01                 ` Stefan Monnier
2011-10-18 13:26                   ` Eli Zaretskii
2011-10-18  3:47             ` Eli Zaretskii
2011-10-18 10:28               ` Lars Magne Ingebrigtsen
2011-10-18 10:56               ` Richard Stallman
2011-10-18  3:53             ` Eli Zaretskii
2011-10-16 18:43 ` Lars Magne Ingebrigtsen
2022-04-24 13:53 ` Lars Ingebrigtsen
2022-05-22 20:00   ` Lars Ingebrigtsen
  -- strict thread matches above, loose matches on Subject: below --
2011-09-16  7:51 bug#9521: 24.0.50; rmail-forward Kenichi Handa
2012-12-28 19:24 ` bug#9521: This bug is still present in version 24.2; it prevents forwarding correctly essentially any MINE message Mark Lillibridge
2012-12-28 20:46   ` bug#9521: PATCH for bug #9521, *not* bug #9766 Mark Lillibridge
2012-12-28 20:55   ` bug#9521: [RESEND] " Mark Lillibridge
2012-12-28 21:22     ` bug#9766: workaround for 9766 Mark Lillibridge
2012-12-29  8:53     ` bug#9521: [RESEND] PATCH for bug #9521, *not* bug #9766 Eli Zaretskii
2013-01-01 22:10 ` bug#9521: this bug (#10080) also causes an extra blank line to be appended to forwarded messages Mark Lillibridge

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).