Re: Matching message headers in mutt hooks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 10, 2012 at 04:34:01PM +0200, Suvayu Ali wrote:
> Hi Alex,
> 
> On Tue, Jul 10, 2012 at 04:23:21PM +0200, Alexander Volovics wrote:
> > 
> > I should probably have indicated that 'copiousoutput' should be
> > on the SAME line as "application/pdf; pdftotext %s %s.txt \; cat %s.txt
> > \; rm -f %s.txt ;"
> > 
> > I don't use it myself anymore so I tried it now and that works.
> > 
> 
> Yes, I suspected it was a typo so I looked up `man mailcap' before
> trying it. :) I tried with another pdf, again a beamer presentation but
> this time more text than plots and I could see a preview indeed!
> 
> > I would also change the ~/.muttrc entry to:
> > auto_view text/html application/pdf
> > (leave out the 'message/*')
> > 
> 
> Okay, I'll leave out the message.
> 
> > I am a bit rusty on mutt mime so I copied from an old laptop
> > I hardly ever use anymore where I also have the following line in
> > the ~/.mailcap file:
> > text/html; elinks -dump %s; nametemplate=%s.html; copiousoutput
> > to get a text vesion of html mail.
> > 
> 
> My line looks similar except for s/elinks/w3m/. :)
> 
> Thanks a lot.

I'm no mutt expert, but I keep my configs here for public copying/use:
http://pfrields.fedorapeople.org/configs/mutt/

Obviously you should not just copy my config in wholesale or things
will break badly. ;-) But you can look through it for ideas.  If you
don't know what a particular command means, look at the mutt docs in
/usr/share/doc/mutt-* on your machine, or GIYF.  Hope this is helpful
to you!

-- 
Paul W. Frields                                http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
    The open source story continues to grow: http://opensource.com
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux