Re: Inhibit display of MIME type during Autoview

2001-11-14 Thread Prahlad Vaidyanathan

Hi,

On Tue, 13 Nov 2001 Will [EMAIL PROTECTED] spoke thusly:
 Prahlad Vaidyanathan wrote:
  
  I get quite a few text/html mails from people using OutLook, so I use
  lynx to dump the output to my pager.
  
  Now, my problem is, when I view these mails, I get some lines at the
  beginning of the mail like so :
  
  [-- Autoview using lynx -dump  etc etc --]
  
  Now, how do I prevent this from showing up ? 
 
 yeah this is a bit annoying.  i also find this bit helpful:
 alternative_order text/plain text/enriched text/html

Well, my problem stems from a Windows MUA called 'IncrediMail', which
sends both plain-text and html mails - only the plain text mails are
horribly formatted. Also, each line ends with a '^M'. I don't know if
you've faced this problem, but it is immensely irritating trying to
read those emails.

So, for those mails alone, I set mutt to display the text/html as
against the plain-text version.

 
 (in your .muttrc) this will at least use a text version if both are
 given (ie it will prefer the plaintext version over the html version).
 
 i also find w3m a tiny bit nicer than lynx... but my favorite method for
 dealing with this sort is to (politely or not depending on how well you
 know them) ask them _not_ to send html mail in the first place.

Most people couldn't care less. Most of my friends are non-geeks who
use Web-Mail or MUAs like IncrediMail, and no amount of telling them
is going to change their ways. The only way of dealing with it is
making Mutt view it better.

IMHO, that's a much more painless way of doing it, anyway.

pv.

-- 
Prahlad Vaidyanathan [EMAIL PROTECTED]What, me worry ?
http://www.symonds.net/~prahladv/Don't Panic !
--



msg20419/pgp0.pgp
Description: PGP signature


Re: Inhibit display of MIME type during Autoview

2001-11-14 Thread Prahlad Vaidyanathan

Hi,

On Tue, 13 Nov 2001 Volker [EMAIL PROTECTED] spoke thusly:
 Prahlad Vaidyanathan wrote:
  
  [-- Autoview using lynx -dump  etc etc --]
  
  Now, how do I prevent this from showing up ?
 
 AFAIK you can't.  But at least you can colorize this in your background
 color. Assume your term background is black, use
 
color   attachment   black   default
 ^
 
 in yout ~/.muttrc. So you don't see it, although it's there.

This seems a bit over-kill, because then even though you don't see it,
it still occupies space - which is my major hassle with it.

Also, if there are other text attachments, it won't show up.

Anyway, if there is nothing else that can be done, maybe this should
go into the Wishlist for future releases.ie, a
$toggle_display_attachment or something, I guess.

pv.

-- 
Prahlad Vaidyanathan [EMAIL PROTECTED]What, me worry ?
http://www.symonds.net/~prahladv/Don't Panic !
--



msg20421/pgp0.pgp
Description: PGP signature


Re: Inhibit display of MIME type during Autoview

2001-11-14 Thread David T-G

Suresh, et al --

...and then Suresh Ramasubramanian said...
% Prahlad Vaidyanathan mutt [14/11/01 15:43 +0530]:
%  Well, my problem stems from a Windows MUA called 'IncrediMail', which
%  sends both plain-text and html mails - only the plain text mails are
%  horribly formatted. Also, each line ends with a '^M'. I don't know if
%  you've faced this problem, but it is immensely irritating trying to
%  read those emails.
% 
% Bah.  Those are DOS line breaks.  set ff=unix (iirc) - or a macro to pipe

That they are, but I don't know of a ff setting in mutt -- are you
suggesting that he set that in his editor for replying?

In order for that to work, he'd want to set fileformat=dos (under vim,
anyway) and then open the file, and then change it to unix as he writes
it.


% such mails through dos2unix before opening them - would do the trick.

I should think that using $display_filter would do nicely for these
senders...


% 
%   -srs


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg20423/pgp0.pgp
Description: PGP signature


Re: Inhibit display of MIME type during Autoview

2001-11-14 Thread Suresh Ramasubramanian

Prahlad Vaidyanathan mutt [14/11/01 15:43 +0530]:
 Well, my problem stems from a Windows MUA called 'IncrediMail', which
 sends both plain-text and html mails - only the plain text mails are
 horribly formatted. Also, each line ends with a '^M'. I don't know if
 you've faced this problem, but it is immensely irritating trying to
 read those emails.

Bah.  Those are DOS line breaks.  set ff=unix (iirc) - or a macro to pipe
such mails through dos2unix before opening them - would do the trick.

-srs



msg20620/pgp0.pgp
Description: PGP signature


Re: Inhibit display of MIME type during Autoview

2001-11-14 Thread Suresh Ramasubramanian

David T-G mutt [14/11/01 10:41 -0500]:
 That they are, but I don't know of a ff setting in mutt -- are you
 suggesting that he set that in his editor for replying?

I'm talking about setting $editor to do such filtering in advance if this is
a bother.  And/or to piping the mail through such a filter before opeing it
in mutt's pager

 In order for that to work, he'd want to set fileformat=dos (under vim,
 anyway) and then open the file, and then change it to unix as he writes
 it.

eh?  how come?  vim automatically notes that the file is [dos] and tags it as
such ... ff (short for fileformat) works all right afaict.

 % such mails through dos2unix before opening them - would do the trick.
 I should think that using $display_filter would do nicely for these
 senders...

Just what the doc ordered

-srs



msg20652/pgp0.pgp
Description: PGP signature


Re: Inhibit display of MIME type during Autoview

2001-11-13 Thread Volker Moell

Prahlad Vaidyanathan wrote:
 
 [-- Autoview using lynx -dump  etc etc --]
 
 Now, how do I prevent this from showing up ?

AFAIK you can't.  But at least you can colorize this in your background
color. Assume your term background is black, use

   color   attachment   black   default
^

in yout ~/.muttrc. So you don't see it, although it's there.

-volker

-- 
  http://die-Moells.de/  *  http://Stama90.de/  *  http://ScriptDale.de/

rekursiv [lat.]
  -- siehe rekursiv



msg20397/pgp0.pgp
Description: PGP signature


Re: Inhibit display of MIME type during Autoview

2001-11-13 Thread Will Yardley

Prahlad Vaidyanathan wrote:
 
 I get quite a few text/html mails from people using OutLook, so I use
 lynx to dump the output to my pager.
 
 Now, my problem is, when I view these mails, I get some lines at the
 beginning of the mail like so :
 
 [-- Autoview using lynx -dump  etc etc --]
 
 Now, how do I prevent this from showing up ? 

yeah this is a bit annoying.  i also find this bit helpful:
alternative_order text/plain text/enriched text/html

(in your .muttrc) this will at least use a text version if both are
given (ie it will prefer the plaintext version over the html version).

i also find w3m a tiny bit nicer than lynx... but my favorite method for
dealing with this sort is to (politely or not depending on how well you
know them) ask them _not_ to send html mail in the first place.

this isn't always effective of course (with the brain dead and
unrepentant sorts) but it's worked a time or two (and has the benefit of
saving other people the same agony you are forced to go through).

w

-- 
GPG Public Key:
http://infinitejazz.net/will/pgp/



msg20398/pgp0.pgp
Description: PGP signature


Re: Inhibit display of MIME type during Autoview

2001-11-13 Thread Rob 'Feztaa' Park

On Tue, Nov 13, 2001 at 05:01:50PM +0100, Volker Moell (dis)graced my inbox with:
 Prahlad Vaidyanathan wrote:
  
  [-- Autoview using lynx -dump  etc etc --]
  
  Now, how do I prevent this from showing up ?
 
 AFAIK you can't.  But at least you can colorize this in your background
 color. Assume your term background is black, use
 
color   attachment   black   default

Although that will hide it, it can get confusing when you get actual
attachments. What if your friend sends you a text file, and you can't
really tell where the email ends and the text file begins? Could be a
source of problems ;)

Also, if you're l33t like me and you have a semitransparent terminal (in
X, obviously), then the black text will stick out anyway.

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
Sex is hereditary. If your parents never had it, chances are you won't, either.
-- Joseph Fischer



msg20407/pgp0.pgp
Description: PGP signature