<<< Date Index >>>     <<< Thread Index >>>

[Mutt] #3230: decode-copy/save clobbers all headers when $weed=yes



#3230: decode-copy/save clobbers all headers when $weed=yes
------------------------------+---------------------------------------------
 Reporter:  antonio@xxxxxxxx  |       Owner:  mutt-dev
     Type:  defect            |      Status:  new     
 Priority:  minor             |   Milestone:          
Component:  mutt              |     Version:  1.5.19  
 Keywords:                    |  
------------------------------+---------------------------------------------
 Forwarding from http://bugs.debian.org/521405
 ---

 {{{
 The command decode-save/decode-copy honour $weed. If $weed is set
 to yes, then the decoded copies of the message will have lost all
 but the most basic set of headers. This is very unexpected, as the
 copy/save commands do not clobber the message.

 I tried to work around this, but it seems it's not possible to run
 commands in a macro after <decode-save>:

   <enter-command>set my_weed="$weed"<enter><enter-command>set
   noweed<enter><decode-save><enter-command>set
   weed="$my_weed"<enter>

 This macro makes mutt prompt me:

   Create /home/madduck/mail/storeenter-command>setweed="$my_weed"?
 ([yes]/no):

 which clearly means that the macro is processed without waiting for
 user input.

 Please do not clobber a message's headers with
 decode-copy/decode-save.
 }}}

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3230>
Mutt <http://www.mutt.org/>
The Mutt mail user agent