Package: emacs;
Reported by: rms <at> gnu.org
Date: Thu, 19 Apr 2012 18:40:02 UTC
Severity: normal
Found in version 24.1.50
Done: Chong Yidong <cyd <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11282 in the body.
You can then email your comments to 11282 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
bug-gnu-emacs <at> gnu.org
:bug#11282
; Package emacs
.
(Thu, 19 Apr 2012 18:40:02 GMT) Full text and rfc822 format available.rms <at> gnu.org
:bug-gnu-emacs <at> gnu.org
.
(Thu, 19 Apr 2012 18:40:02 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Richard Stallman <rms <at> gnu.org> To: bug-gnu-emacs <at> gnu.org Subject: 24.1.50; Error in decoding message Date: Thu, 19 Apr 2012 14:39:13 -0400
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 visit this as an Rmail file, Rmail gets an error decoding the coding system. Maybe the message really is invalid, but Rmail should not get an unhandled Lisp error. Here is the backtrace. Debugger entered--Lisp error: (wrong-type-argument wholenump nil) decode-coding-region(888 1351 utf-7) rmail-mime-insert-decoded-text([("text/html" (charset . "utf-7")) ("inline") "7bit" [[nil nil nil] [t nil t]] [#<marker at 1 in bad-message> #<marker at 5343 in bad-message> t] ["" (nil) nil] [#<marker at 5343 in bad-message> #<marker at 5806 in bad-message> t] nil rmail-mime-insert-text nil]) rmail-mime-insert-text([("text/html" (charset . "utf-7")) ("inline") "7bit" [[nil nil nil] [t nil t]] [#<marker at 1 in bad-message> #<marker at 5343 in bad-message> t] ["" (nil) nil] [#<marker at 5343 in bad-message> #<marker at 5806 in bad-message> t] nil rmail-mime-insert-text nil]) rmail-mime-insert([("text/html" (charset . "utf-7")) ("inline") "7bit" [[nil nil nil] [t nil t]] [#<marker at 1 in bad-message> #<marker at 5343 in bad-message> t] ["" (nil) nil] [#<marker at 5343 in bad-message> #<marker at 5806 in bad-message> t] nil rmail-mime-insert-text nil]) rmail-show-mime() rmail-show-message-1(nil) rmail-show-message(nil) byte-code("q\210 \204\f \304\305 !\210\n\203 \306 \210\307 \210\203 \310\311!\210\304\207" [mail-buf msg-shown rmail-display-summary run-mail-hook rmail-show-message rmail-first-unseen-message rmail-summary rmail-construct-io-menu run-hooks rmail-mode-hook] 2) rmail("~/bad-message") rmail-input("~/bad-message") call-interactively(rmail-input nil nil) Here is the file, uuencoded: begin 666 bad-message M1G)O;2!B=6)B:6YZ0&%O;"YC;VT@(%1H=2!!<'(@,3D@,#`Z-#<Z,#0@,C`Q M,@I2971U<FXM<&%T:#H@/&)U8F)I;GI`86]L+F-O;3X*16YV96QO<&4M=&\Z M(')M<T!G;G4N;W)G"D1E;&EV97)Y+61A=&4Z(%1H=2P@,3D <at> 07!R(#(P,3(@ M,#`Z-#<Z,#0@+3`T,#`*4F5C96EV960Z(&9R;VT <at> 96=G<RYG;G4N;W)G("A; M,C`X+C$Q."XR,S4N.3)=.C4P-C,W*0H)8GD <at> 9F5N8V5P;W-T+F=N=2YO<F<@ M=VET:"!E<VUT<',@*%1,4S$N,#I24T%?04537S(U-E]#0D-?4TA!,3HS,BD* M"2A%>&EM(#0N-S$I"@DH96YV96QO<&4M9G)O;2`\8G5B8FEN>D!A;VPN8V]M M/BD*"6ED(#%32VI'<2TP,#`U6E <at> M,SD*"69O<B!R;7-`9VYU+F]R9SL <at> 5&AU M+"`Q.2!!<'(@,C`Q,B`P,#HT-SHP-"`M,#0P,`I296-E:79E9#H <at> 9G)O;2!$ M96)I86XM97AI;2!B>2!E9V=S+F=N=2YO<F<@=VET:"!S<&%M+7-C86YN960@ M*$5X:6T@-"XW,2D*"2AE;G9E;&]P92UF<F]M(#QB=6)B:6YZ0&%O;"YC;VT^ M*0H):60@,5-+:D=N+3`P,#9312U08 <at> H)9F]R(')M<T!G;G4N;W)G.R!4:'4L M(#$Y($%P<B`R,#$R(#`P.C0W.C`R("TP-#`P"E <at> M4W!A;2U#:&5C:V5R+59E M<G-I;VXZ(%-P86U!<W-A<W-I;B`S+C,N,B`H,C`Q,2TP-BTP-BD@;VX <at> 96=G M<RYG;G4N;W)G"E <at> M4W!A;2U&;&%G.B!915,*6"U3<&%M+4QE=F5L.B`J*BHJ M*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*@I8+5-P86TM4W1A='5S.B!9 M97,L('-C;W)E/3,R+C<@<F5Q=6ER960]-2XP('1E<W1S/4%80E]87T%/3%]3 M15I?4RQ"05E%4U\Y.2P*"49/4D=%1%]-54%?3U543$]/2RQ&3U)'141?3U54 M3$]/2U](5$U,+$92145-04E,7T923TTL1E)/35]-25-34$%#140L"@E&4D]- M7TU)4U-07T92145-04E,+$923TU?34E34U!?35-&5"Q&4D]-7TU)4U-07TY/ M7U1/+$923TU?34E34U!?4D503%E43RP*"4923TU?34E34U!?55))+$923TU? M34E34U!?55-%4BQ&4TQ?34E34U!?4D503%E43RQ&4TQ?3D577TA%3$]?55-% M4BQ&4TQ?54$L"@E&4TQ?6$U?-#$Y+$A434Q?34534T%'12Q,3U137T]&7TU/ M3D59+$U)345?2%1-3%]/3DQ9+$U)4U-)3D=?2$5!1$524RP*"4U/3D597T92 M3TU?34E34U`L3E-,7U)#5D1?1E)/35]54T52+%)#5D1?24Y?0DQ?4U!!34-/ M4%].150L4D-61%])3E]$3E-73%].3TY%+`H)4D-61%])3E]33U)"4U]714(L M4D-61%])3E]80DPL4D503%E43U]7251(3U547U1/7T-#+%-50DI?04Q,7T-! M4%,L"@E43U].3U]"4DM44U]&4D]-7TU34U`L5$]?3D]?0E)+5%-?35-&5"Q4 M7T1+24U?24Y604Q)1"Q47TA+7TY!345?1DU?35)?35)3+`H)5%]24%]-051# M2$537U)#5D0 <at> 875T;VQE87)N/7-P86T@=F5R<VEO;CTS+C,N,@I8+5-P86TM M4F5P;W)T.B`*"2H@(#`N-"!20U9$7TE.7UA"3"!20DPZ(%)E8V5I=F5D('9I M82!A(')E;&%Y(&EN(%-P86UH875S(%A"3`H)*B`@("`@(%LW,"XQ-#@N-C4N M-#(@;&ES=&5D(&EN('AB;"YF<V9B;&%C:VQI<W1S70H)*B`@,RXU($)!6453 M7SDY($)/1%DZ($)A>65S('-P86T@<')O8F%B:6QI='D@:7,@.3D@=&\@,3`P M)0H)*B`@("`@(%MS8V]R93H@,2XP,#`P70H)*B`@,RXP($%80E]87T%/3%]3 M15I?4R!!3TP@<V%I9"!T:&ES(&ES(%,*"2H@(#`N,"!&4TQ?6$U?-#$Y($]L M9"!/12!V97)S:6]N(&EN(%@M36%I;&5R(&]N;'D@<V5E;B!I;B`T,3D@<W!A M;0H)*B`@,BXV($Y33%]20U9$7T923TU?55-%4B!296-E:79E9"!F<F]M(%5S M97(*"2H@(#`N,"!&4D5%34%)3%]&4D]-(%-E;F1E<B!E;6%I;"!I<R!C;VUM M;VYL>2!A8G5S960 <at> 96YD=7-E<B!M86EL('!R;W9I9&5R"@DJ("`@("`@*&)U M8F)I;GI;871=86]L+F-O;2D*"2H@+3`N,"!47U)07TU!5$-(15-?4D-61"!% M;G9E;&]P92!S96YD97(@9&]M86EN(&UA=&-H97,@:&%N9&]V97(@<F5L87D* M"2H@("`@("!D;VUA:6X*"2H@(#$N-2!354)*7T%,3%]#05!3(%-U8FIE8W0@ M:7,@86QL(&-A<&ET86QS"@DJ("`Q+C`@34E34TE.1U](14%$15)3($UI<W-I M;F<@5&\Z(&AE861E<@H)*B`@,"XP($A434Q?34534T%'12!"3T19.B!(5$U, M(&EN8VQU9&5D(&EN(&UE<W-A9V4*"2H@(#`N-R!-24U%7TA434Q?3TY,62!" M3T19.B!-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V%N)W0@<V5N9"!(5$U,(&UE<W-A9V4@;VYL>0H)*B`@,"XP(%1?1$M)35]) M3E9!3$E$($1+24TM4VEG;F%T=7)E(&AE861E<B!E>&ES=',@8G5T(&ES(&YO M="!V86QI9`H)*B`@,"XP($933%]-25-34%]215!,651/($UI<RUS<&%C960@ M9G)O;2!A;F0 <at> 4F5P;'DM=&\*"2H@(#,N,"!&4D]-7TU)4U-07U5315(@1G)O M;2!M:7-S<&%C960L(&9R;VT@(E5S97(B"@DJ("`P+C`@1E)/35]-25-34$%# M140 <at> 1G)O;3H@;6ES<VEN9R!W:&ET97-P86-E"@DJ("`R+C8 <at> 34].15E?1E)/ M35]-25-34"!,;W1S(&]F(&UO;F5Y(&%N9"!M:7-S<&%C960 <at> 1G)O;0H)*B`@ M,"XP($923TU?34E34U!?4D503%E43R!&<F]M(&UI<W-P86-E9"P@:&%S(%)E M<&QY+51O"@DJ("`P+C`@5$]?3D]?0E)+5%-?1E)/35]-4U-0($UU;'1I<&QE M(&9O<FUA='1I;F<@97)R;W)S"@DJ("`P+C`@1E)/35]-25-34%]54DD <at> 1G)O M;2!M:7-S<&%C960L(&AA<R!54DD*"2H@(#`N,"!43U].3U]"4DM44U]-4T94 M(%1O.B!M:7-F;W)M871T960 <at> 86YD('-U<'!O<V5D($UI8W)O<V]F="!T;V]L M"@DJ("`Q+CD <at> 1D]21T5$7TU505]/551,3T]+($9O<F=E9"!M86EL('!R971E M;F1I;F<@=&\@8F4 <at> 9G)O;2!-4R!/=71L;V]K"@DJ("`R+C(@1E)/35]-25-3 M4%]&4D5%34%)3"!&<F]M(&UI<W-P86-E9"`K(&9R965M86EL('!R;W9I9&5R M"E)E8V5I=F5D.B!F<F]M(&]M<RUM8C`T+G(Q,#`P+FUX+F%O;"YC;VT@*%LV M-"XQ,BXQ,#(N,30P73HU.#$R,RD*"6)Y(&5G9W,N9VYU+F]R9R!W:71H(&5S M;71P("A%>&EM(#0N-S$I"@DH96YV96QO<&4M9G)O;2`\8G5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O<FET>3H@,PI8+4U336%I;"U0<FEO<FET>3H <at> 3F]R;6%L"E <at> M36%I;&5R M.B!-:6-R;W-O9G0 <at> 3W5T;&]O:R!%>'!R97-S(#8N,#`N,C8P,"XP,#`P"E <at> M M36EM94],13H <at> 4')O9'5C960 <at> 0GD <at> 36EC<F]S;V9T($UI;65/3$4 <at> 5C8N,#`N M,C8P,"XP,#`P"G <at> M86]L+6=L;V)A;"UD:7-P;W-I=&EO;CH <at> 4PI$2TE-+5-I M9VYA='5R93H@=CTQ.R!A/7)S82US:&$R-38[(&,]<F5L87AE9"]R96QA>&5D M.R!D/6UX+F%O;"YC;VT["@ES/3(P,3$P-#(V.R!T/3$S,S0X,3`X,3@["@EB M:#TT;6=58FA&=E5).39%<6\V649C1S9&<D0S;'548G)H2T=P,D5W<S5D2T9S M/3L*"6@]1G)O;3I3=6)J96-T.D1A=&4Z34E-12U697)S:6]N.D-O;G1E;G0M M5'EP93L*"6(];69N<'1S0W1H0E%:-&-4=&EJ35$Y8V5)<%@Y06)A3G,U4U4Y M3B]P1D%805AS9&E'3'-N3D%I=V <at> K-3=Y;UIO348*"2`K9UEN>&)H-312;WA( M+TU2,6)7,S-(43A..6]9<%!S;4EW17,O.7=U3V)+4TIR6'=9:&0R-6)'2G95 M;C5L15)'14,*"2!F.'AK5&@O=&56-U!*6%E6<U<R,69D,EE8:S(V;WEH6FI& M2&ME,'=W/0I8+4%/3"U30T],3"U30T]213H@,#HR.C(R-S<P-#,S-CHY,SDU M,C0P."`@"E <at> M04],+5-#3TQ,+5523%]#3U5.5#H@,"`@"E <at> M04],+5)%4D]5 M5$4Z(%E%4R`*>"UA;VPM<VED.B`S,#,Y86,Q9#(Y-#(T9CAF.3 <at> X,C1E83,* M6"U!3TPM25`Z(#<P+C$T."XV-2XT,@I8+61E=&5C=&5D+6]P97)A=&EN9RUS M>7-T96TZ(&)Y(&5G9W,N9VYU+F]R9SH <at> 1V5N<F4 <at> 86YD($]3(&1E=&%I;',@ M;F]T(')E8V]G;FEZ960N"DUE<W-A9V4M240Z(#Q%,5-+:D=N+3`P,#93."U' M3T!E9V=S+F=N=2YO<F<^"E <at> M4F5C96EV960M1G)O;3H@-C0N,3(N,3`R+C$T M,`I8+5)-04E,+4%45%))0E5415,Z("TM+2TM+2TM"@H\:'1M;#X*"CQH96%D M/@H\;65T82!H='1P+65Q=6EV/2)#;VYT96YT+51Y<&4B(&-O;G1E;G0](G1E M>'0O:'1M;#L <at> 8VAA<G-E=#UW:6YD;W=S+3$R-3(B/@H\=&ET;&4^3F5W(%!A M9V4@,3PO=&ET;&4^"CPO:&5A9#X*"CQB;V1Y/@H*/'`^/&9O;G0@<VEZ93TB M,B(@9F%C93TB0F]O:R!!;G1I<75A(CY792!(879E($)E96X <at> 36%N9&%T960@ M0GD <at> 5&AE(%!R97-I9&5N="!I;B`*8V]N:G5N8W1I;VX@=VET:"!T:&4 <at> 56YI M=&5D($YA=&EO;B!4;R!)<W-U92!/=70@)#$P+C5-('1H<F]U9V@@26YT97)N M871I;VYA;"!!5$T@"D1E8FET+TUA<W1E<B!#87)D('=H:6-H('EO=2!C86X@ M=7-E(&ET(&EN(&%N>2!C87-H('!O:6YT+"!S:&]P<&EN9R!M86QL(&]R(`IB M86YK:6YG+B!297!L>2!F;W(@9G5L;"!D971A:6QS($]2(&-A;&P <at> 5$5,.B`K M,C,T.#`U-38Y,#DT.2X\+V9O;G0^/"]P/@H*/"]B;V1Y/@H*/"]H=&UL/@H* ` end 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.1.50.1 (mips64el-unknown-linux-gnu, GTK+ Version 2.12.12) of 2012-04-10 on theobromine2 Bzr revision: 107831 larsi <at> gnus.org-20120410025139-hm28pdi28nbr8ybg Configured using: `configure 'CFLAGS=-g -O0'' 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: RMAIL Minor modes in effect: diff-auto-refine-mode: t shell-dirtrack-mode: t gpm-mouse-mode: t display-battery-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: DEL ESC DEL DEL DEL DEL DEL e SPC o f SPC t h e SPC s p e e c h . . C-p ESC k ESC k , SPC i f SPC t h e SPC d i n n e r SPC e n d s SPC a t SPC a SPC t i m e SPC t h a t SPC ESC b ESC b ESC b ESC b ESC b ESC b ESC d s p e e c h C-e i s n ' t SPC t o o SPC l a t e RET t o SPC h a v e SPC d i n n e r . C-c C-c C-d x C-x b o u t g TAB RET g C-p C-o C-x o C-x 1 C-u C-u C-n C-n C-n C-n C-n C-o C-o T h a n k SPC y o u . C-n C-n ESC f ESC f ESC d SPC n i c e ESC q C-o . SPC SPC C a n SPC t h e ESC d ESC d ESC f ESC f DEL ESC q C-n DEL ? C-p C-e ESC DEL ESC DEL t h e SPC r e s t a u r a n t s RET a r e SPC s y i l DEL DEL DEL t i l l SPC o p e n ? ESC k C-x C-s C-x b R TAB RET C-d q ESC v ESC v ESC v C-x h ESC x w r SPC r e RET b a d - m e s s a g e RET i ESC p RET q ESC x r e p o r t SPC e m a c s SPC b u g RET Recent messages: Error during redisplay: (error "Invalid base64 data") Entering debugger... Back to top level. scroll-down-command: Beginning of buffer Mark set [2 times] Wrote /home/rms/bad-message Counting messages...done Error during redisplay: (error "Invalid base64 data") Entering debugger... Back to top level. Load-path shadows: /home/rms/emacs-bzr/trunk/lisp/mouse-sel hides /home/rms/emacs-bzr/trunk/lisp/obsolete/mouse-sel /home/rms/emacs-bzr/trunk/lisp/mail/mailpost hides /home/rms/emacs-bzr/trunk/lisp/obsolete/mailpost Features: (shadow emacsbug tar-mode jka-compr epa-mail epa derived epg epg-config utf-7 novice vc-sccs vc-svn vc-rcs vc-dir ewoc etags compare-w ispell apropos pp find-func debug cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs conf-mode info help-fns whitespace rmailsum log-view vc-bzr dired-aux ind-util mule-util cal-move cal-menu calendar cal-loaddefs log-edit pcvs-util add-log diff-mode easy-mmode vc ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff vc-dispatcher parse-time vc-cvs sgml-mode dabbrev multi-isearch shell pcomplete grep compile comint ansi-color ring quail help-mode view rmailout qp newcomment mailalias 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 Ekiga or an ordinary phone call
bug-gnu-emacs <at> gnu.org
:bug#11282
; Package emacs
.
(Fri, 20 Apr 2012 01:36:02 GMT) Full text and rfc822 format available.Message #8 received at 11282 <at> debbugs.gnu.org (full text, mbox):
From: Kenichi Handa <handa.kenichi <at> aist.go.jp> To: rms <at> gnu.org Cc: 11282 <at> debbugs.gnu.org Subject: Re: bug#11282: 24.1.50; Error in decoding message Date: Fri, 20 Apr 2012 10:34:05 +0900
In article <E1SKwG9-0004v7-NR <at> fencepost.gnu.org>, Richard Stallman <rms <at> gnu.org> writes: > When I visit this as an Rmail file, Rmail gets an error > decoding the coding system. Maybe the message really is > invalid, but Rmail should not get an unhandled Lisp error. > Here is the backtrace. > Debugger entered--Lisp error: (wrong-type-argument wholenump nil) > decode-coding-region(888 1351 utf-7) > rmail-mime-insert-decoded-text([("text/html" (charset . "utf-7")) ("inline") "7bit" [[nil nil nil] [t nil t]] [#<marker at 1 in bad-message> #<marker at 5343 in bad-message> t] ["" (nil) nil] [#<marker at 5343 in bad-message> #<marker at 5806 in bad-message> t] nil rmail-mime-insert-text nil]) As I can reproduce the bug, I'll work on fixing it. --- Kenichi Handa handa <at> m17n.org
bug-gnu-emacs <at> gnu.org
:bug#11282
; Package emacs
.
(Fri, 04 May 2012 06:38:01 GMT) Full text and rfc822 format available.Message #11 received at 11282 <at> debbugs.gnu.org (full text, mbox):
From: Kenichi Handa <handa <at> gnu.org> To: rms <at> gnu.org Cc: 11282 <at> debbugs.gnu.org Subject: Re: bug#11282: 24.1.50; Error in decoding message Date: Fri, 04 May 2012 15:33:55 +0900
In article <E1SKwG9-0004v7-NR <at> fencepost.gnu.org>, Richard Stallman <rms <at> gnu.org> writes: > When I visit this as an Rmail file, Rmail gets an error > decoding the coding system. Maybe the message really is > invalid, but Rmail should not get an unhandled Lisp error. > Here is the backtrace. > Debugger entered--Lisp error: (wrong-type-argument wholenump nil) > decode-coding-region(888 1351 utf-7) > rmail-mime-insert-decoded-text([("text/html" (charset . "utf-7")) ("inline") "7bit" [[nil nil nil] [t nil t]] [#<marker at 1 in bad-message> #<marker at 5343 in bad-message> t] ["" (nil) nil] [#<marker at 5343 in bad-message> #<marker at 5806 in bad-message> t] nil rmail-mime-insert-text nil]) [...] I've just installed this change to the trunk. I think it should also be applied to 24.1. 2012-05-03 Kenichi Handa <handa <at> m17n.org> * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text decoding, and show a warning message without signalling an error (Bug#11282). === modified file 'lisp/mail/rmailmm.el' --- lisp/mail/rmailmm.el 2012-01-19 07:21:25 +0000 +++ lisp/mail/rmailmm.el 2012-05-03 05:47:24 +0000 @@ -1300,26 +1300,40 @@ (rmail-mime-mbox-buffer rmail-buffer) (rmail-mime-view-buffer rmail-view-buffer) (rmail-mime-coding-system nil)) + ;; If ENTITY is not a vector, it is a string describing an error. (if (vectorp entity) (with-current-buffer rmail-mime-view-buffer (erase-buffer) - (rmail-mime-insert entity) - (if (consp rmail-mime-coding-system) - ;; Decoding is done by rfc2047-decode-region only for a - ;; header. But, as the used coding system may have been - ;; overridden by mm-charset-override-alist, we can't - ;; trust (car rmail-mime-coding-system). So, here we - ;; try the decoding again with mm-charset-override-alist - ;; bound to nil. - (let ((mm-charset-override-alist nil)) - (setq rmail-mime-coding-system - (rmail-mime-find-header-encoding - (rmail-mime-entity-header entity))))) - (set-buffer-file-coding-system - (if rmail-mime-coding-system - (coding-system-base rmail-mime-coding-system) - 'undecided) - t t)) + ;; This condition-case is for catching an error in the + ;; internal MIME decoding (e.g. incorrect BASE64 form) that + ;; may be signaled by rmail-mime-insert. + ;; FIXME: The current code doesn't set a proper error symbol + ;; in ERR. We must find a way to propagate a correct error + ;; symbol that is caused in the very deep code of text + ;; decoding (e.g. an error by base64-decode-region called by + ;; post-read-conversion function of utf-7). + (condition-case err + (progn + (rmail-mime-insert entity) + (if (consp rmail-mime-coding-system) + ;; Decoding is done by rfc2047-decode-region only for a + ;; header. But, as the used coding system may have been + ;; overridden by mm-charset-override-alist, we can't + ;; trust (car rmail-mime-coding-system). So, here we + ;; try the decoding again with mm-charset-override-alist + ;; bound to nil. + (let ((mm-charset-override-alist nil)) + (setq rmail-mime-coding-system + (rmail-mime-find-header-encoding + (rmail-mime-entity-header entity))))) + (set-buffer-file-coding-system + (if rmail-mime-coding-system + (coding-system-base rmail-mime-coding-system) + 'undecided) + t t)) + (error (setq entity (format "%s" err)))))) + ;; Re-check ENTITY. It may be set to an error string. + (when (stringp entity) ;; Decoding failed. ENTITY is an error message. Insert the ;; original message body as is, and show warning. (let ((region (with-current-buffer rmail-mime-mbox-buffer
bug-gnu-emacs <at> gnu.org
:bug#11282
; Package emacs
.
(Fri, 04 May 2012 10:31:02 GMT) Full text and rfc822 format available.Message #14 received at 11282 <at> debbugs.gnu.org (full text, mbox):
From: Chong Yidong <cyd <at> gnu.org> To: Kenichi Handa <handa <at> gnu.org> Cc: 11282 <at> debbugs.gnu.org, rms <at> gnu.org Subject: Re: bug#11282: 24.1.50; Error in decoding message Date: Fri, 04 May 2012 18:28:23 +0800
Kenichi Handa <handa <at> gnu.org> writes: > I've just installed this change to the trunk. I think it > should also be applied to 24.1. Done.
Chong Yidong <cyd <at> gnu.org>
to control <at> debbugs.gnu.org
.
(Fri, 04 May 2012 10:31:02 GMT) Full text and rfc822 format available.Debbugs Internal Request <help-debbugs <at> gnu.org>
to internal_control <at> debbugs.gnu.org
.
(Fri, 01 Jun 2012 11:24:03 GMT) Full text and rfc822 format available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.