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

Re: [Mutt] #3460: view-attachments menu "view-attach" command uses auto_view for all text attachments, even when a suitable interactive command is in the mailcap file. This is particularly bad for text/html attachments. (was: mutt_needs_mailcap incorrectly returns false for text/html)



#3460: view-attachments menu "view-attach" command uses auto_view for all text
attachments, even when a suitable interactive command is in the mailcap
file.  This is particularly bad for text/html attachments.
------------------------------------------------------+---------------------
 Reporter:  ajschorr                                  |       Owner:  mutt-dev
     Type:  defect                                    |      Status:  new     
 Priority:  major                                     |   Milestone:          
Component:  mutt                                      |     Version:  1.5.20  
 Keywords:  mutt_needs_mailcap text/html view-attach  |  
------------------------------------------------------+---------------------
Changes (by ajschorr):

  * keywords:  mutt_needs_mailcap text/html => mutt_needs_mailcap text/html
               view-attach


Comment:

 The more I think about this, the more counterintuitive it seems.  The user
 has already
 explicitly entered the mime viewer attachment menu.  If he clicks enter,
 it seems
 to me that the priority should be given to using the interactive command
 rather than
 auto_view.  I think it's great to fall back to auto_view if no interactive
 command
 is found, but the current behavior does not make sense to me.  I'm not
 sure of the
 correct patch, this would require more digging around in the code...

 Regards,
 Andy

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