Re: HTML mail: Why isn't it displayed?

2009-11-04 Thread Monte Stevens
On Wed, Nov 04, 2009 at 12:01:31AM -0700, lee wrote:
 PS:

Why is the PS at the top?

 Mutt seems to ignore ~/.mailcap.
 
 l...@cat:~/Mail$ mutt -nF /dev/null -Q mailcap_path
 mailcap_path=~/.mailcap:/usr/share/mutt/mailcap:/etc/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap
 l...@cat:~/Mail$ 
 
 So which of the mailcap files mutt finds in the mailcap_path will it
 use? The manual doesn't say.

Based on the mailcap_path entry in man muttrc I would say that mutt
uses all the entries in all the files.  Perhaps you could shorten the
path so that you only need to worry about one file.

 On Tue, Nov 03, 2009 at 10:58:02PM -0700, lee wrote:
  I've got an email with these headers:
  
  Content-Type: text/html; charset=ISO-8859-1
  Content-Transfer-Encoding: quoted-printable
  X-Spam_score: 4.4
  X-Spam_score_int: 44
  X-Spam_bar: 

I've assumed this is the end of the headers.
 
  !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
 http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  html xmlns=http://www.w3.org/1999/xhtml; xml:lang=de lang=de
  head

And that the above four lines are in the body of the message.

  Mutt displays the HTML garbage as plain text, unreadable. Now I've no
  idea if the problem is with mutt, or if the headers or something else
  are wrong.

I made a copy of your original post in another maibox.  Then I edited
that message, moving the quoted headers into the header section.

When I view your message in the mutt pager I see the html tags, since I
don't have implicit_autoview set in my muttrc.  When I press 'v' (for
view-attachments) I see one entry [text/html, quoted, iso-8859-1,]
in the attachment view.

When I view that attachment the html is rendered (and nicely
disappears).  The relevant entry in my mailcap file is:

text/html;  w3m -dump %s; nametemplate=%s.html; copiousoutput

It also renders OK with this mailcap entry:

text/html;  w3m %s | less; nametemplate=%s.html

  If the problem is with the email, it would be nice to know which RFCs
  are to be applied so that I can refer the sender of these mails to
  them and have them send them correctly encoded.

While I can't comment on the message you received, its reasonable
facsimile is rendered by w3m through mailcap on my system.  That tells
me that your message is probably OK and that something is wrong with
your mailcap.  Or, maybe your mailcap is fine and you don't have
implicit_autoview set and you're expecting to see only text in the mutt
pager.

Do you have problems with any other html messages?


-- 
Monte


Re: Cursor should stay on laste selected entry when imap or

2009-11-04 Thread Konstantin Kletschke
Am 2009-11-03 09:59 -0400 schrieb Monte Stevens:

 When I used Debian's binary mutt 1.5.18 it behaved as per what you want.

Sadly I did not get debian's mutt-1.5.18 package running on my unstable
sid.

 When I switched to mutt 1.5.20 (compiled by me) it behaved as per what
 you have now.  I guess this means that the behavior changed from version
 .18 to version .20, a compile option is missing or a patch is missing.

I tried vanilla 1.5.18 compiled myself and it did not have this fetaure
so I think it has to be a debian patch - which is not included in 1.5.20
debian package anymore, I will take a look at it.

 This behavior used to annoy me when I first started using my own mutt
 1.5.20 but I don't give it a second thought now as I use the index
 numbers to navigate.

I though also, merely combining the usage of displaying subscribed imap
mailboxes only AND these index numbers, but this is a bit ugly with
subfolders so this feature still would be quite comfortable.

Regards, Konsti


-- 
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF


Re: mutt removing stuff in brackets from subject

2009-11-04 Thread Monte Stevens
On Tue, Nov 03, 2009 at 09:44:39AM -0500, James wrote:
 Still having this issue. When I reply (or group reply), everything
 inside of a Fwd: [Blah Blah] results in a Fwd:  subject.
 
 Any other thoughts on what may be causing this?

No, but you can try a few things to narrow it down.

Run mutt without the system muttrc. -- $ mutt -n

Run mutt without your muttrc -- $ mutt -F /dev/null

Maybe that second one will be no good because your mailboxes are defined
in your muttrc.  Build a testing muttrc; with just your mailboxes.

$ mutt -F ~/my-testing-muttrc

Do you get the same result when replying or group replying to messages
in each of these tests?


-- 
Monte


Re: mutt removing stuff in brackets from subject

2009-11-04 Thread Patrick Shanahan
* Monte Stevens montk...@yahoo.ca [11-04-09 18:28]:
 
 Run mutt without the system muttrc. -- $ mutt -n
 
 Run mutt without your muttrc -- $ mutt -F /dev/null
 
 Maybe that second one will be no good because your mailboxes are defined
 in your muttrc.  Build a testing muttrc; with just your mailboxes.

 mutt -F /dev/null -f /home/user/mail/mail-file

will allow using the second example w/o defining mailboxes and then you
can change using 'c' tabtab

-- 
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org