color about w3m viewing in mutt

2010-03-16 Thread peng shao
Hi. I use w3m as an external program to view html mails in mutt. I have the following in my mailcap text/html; w3m -T text/html -I %{charset} -dump %s; nametemplate=%s.html; copiousoutput This works very well for me because w3m can handle the charset problem very well. However, there is another p

Re: color about w3m viewing in mutt

2010-03-16 Thread Christian Ebert
* peng shao on Tuesday, March 16, 2010 at 05:00:03 -0400 > Hi. I use w3m as an external program to view html mails in mutt. I > have the following in my mailcap > > text/html; w3m -T text/html -I %{charset} -dump %s; > nametemplate=%s.html; copiousoutput > > This works very well for me because w3

Re: color about w3m viewing in mutt

2010-03-16 Thread peng shao
On Tue, Mar 16, 2010 at 5:44 AM, Christian Ebert wrote: > * peng shao on Tuesday, March 16, 2010 at 05:00:03 -0400 > Because you w3m -dump to standard output -- or in this case to > Mutt's pager. > Okay I see, thanks. > > With lynx -dump? I doubt it. > I use text/html; lynx -dump -force_html -as

Re: color about w3m viewing in mutt

2010-03-16 Thread peng shao
On Tue, Mar 16, 2010 at 6:12 AM, peng shao wrote: > On Tue, Mar 16, 2010 at 5:44 AM, Christian Ebert wrote: much. But for me there is still some drawback, the > %{charset} is lost :( > Is there any possibility if I set autoview as off, and when I read an > email, I can press a macro to activate a

Re: color about w3m viewing in mutt

2010-03-16 Thread Christian Ebert
* peng shao on Tuesday, March 16, 2010 at 06:12:02 -0400 > On Tue, Mar 16, 2010 at 5:44 AM, Christian Ebert wrote: >> With lynx -dump? I doubt it. >> > I use > text/html; lynx -dump -force_html -assume-charset=%{charset} %s; > needsterminal; copiousoutput; > in the mailcap and set autoview. Yes

Re: color about w3m viewing in mutt

2010-03-16 Thread peng shao
On Tue, Mar 16, 2010 at 7:21 AM, Christian Ebert wrote: > > > > Mmh, you could create an addional mailcap file and toggle the > $mailcap_path variable. Try the following (untested): > > set my_lynx_cap="/path/to/lynxmailcap" > > macro pager K1 "\ > set my_mailcap_path=\$mailcap_path > mailcap_pa

Re: color about w3m viewing in mutt

2010-03-16 Thread Gary Johnson
On 2010-03-16, peng shao wrote: > On Tue, Mar 16, 2010 at 7:21 AM, Christian Ebert wrote: > > > > > > > > Mmh, you could create an addional mailcap file and toggle the > > $mailcap_path variable. Try the following (untested): > > > > set my_lynx_cap="/path/to/lynxmailcap" > > > > macro pager K1 "

Re: color about w3m viewing in mutt

2010-03-16 Thread peng shao
On Tue, Mar 16, 2010 at 10:32 AM, Gary Johnson wrote: > On 2010-03-16, peng shao wrote: >> On Tue, Mar 16, 2010 at 7:21 AM, Christian Ebert wrote: d. > > The pipe is allowed here.  If you are getting an error message from > using that rule, the problem is something other than the pipe.  The > pr