Re: vcf attachment

2009-04-13 Thread bill lam
On Mon, 13 Apr 2009, Christian Ebert wrote:
> >> text/x-vcard ; cat /dev/null ; copiousoutput

I finally found how to do it. It need to set auto_view to specifically
handle these mime types to take effect.

auto_view text/html application/x-pgp-message text/directory text/x-vcard


-- 
regards,

GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩213 李商隱  無題二首之二
颯颯東風細雨來  芙蓉塘外有輕雷  金蟾齧璅燒香入  玉虎牽絲汲井迴
賈氏窺簾韓掾少  宓妃留枕魏王才  春心莫共花爭發  一寸想思一寸灰


Re: vcf attachment

2009-04-13 Thread Christian Ebert
* bill lam on Monday, April 13, 2009 at 21:54:11 +0800
> On Mon, 13 Apr 2009, Christian Ebert wrote:
>> * bill lam on Saturday, April 11, 2009 at 18:37:50 +0800
>>> There are vcf attachments with mime type 
>>> text/x-vcard
>>> text/directory
>>> 
>>> I don't want to look at them, how to configure the mailcap or
>>> otherwise so that vcf will not be shown inline?
>> 
>> text/x-vcard ; cat /dev/null ; copiousoutput
>> 
>> Of course you still get Mutt's "Autoview using ..."
> 
> I'd already tried in my ~/.mailcap and it didn't work.  I can bounce
> that mail to you for testing if it is needed.

Perhaps you have an entry for text/* _before_ the text/x-vcard.
It would then override/catch text/x-vcard.

c
-- 
  Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]
_F R E E_  _V I D E O S_  http://www.blacktrash.org/underdogma/
  http://www.blacktrash.org/underdogma/index-en.html


Re: vcf attachment

2009-04-13 Thread bill lam
On Mon, 13 Apr 2009, Christian Ebert wrote:
> * bill lam on Saturday, April 11, 2009 at 18:37:50 +0800
> > There are vcf attachments with mime type 
> > text/x-vcard
> > text/directory
> > 
> > I don't want to look at them, how to configure the mailcap or
> > otherwise so that vcf will not be shown inline?
> 
> text/x-vcard ; cat /dev/null ; copiousoutput
> 
> Of course you still get Mutt's "Autoview using ..."

I'd already tried in my ~/.mailcap and it didn't work.  I can bounce
that mail to you for testing if it is needed.

-- 
regards,

GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩200 韓翃  同題仙游觀
仙臺初見五城樓  風物淒淒宿雨收  山色遙連秦樹晚  砧聲近報漢宮秋
疏松影落空壇靜  細草香閑小洞幽  何用別尋方外去  人間亦自有丹丘


Re: vcf attachment

2009-04-13 Thread Christian Ebert
* bill lam on Saturday, April 11, 2009 at 18:37:50 +0800
> There are vcf attachments with mime type 
> text/x-vcard
> text/directory
> 
> I don't want to look at them, how to configure the mailcap or
> otherwise so that vcf will not be shown inline?

text/x-vcard ; cat /dev/null ; copiousoutput

Of course you still get Mutt's "Autoview using ..."

c
-- 
  Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]
_F R E E_  _V I D E O S_  http://www.blacktrash.org/underdogma/
  http://www.blacktrash.org/underdogma/index-en.html


Re: vcf attachment

2009-04-12 Thread bill lam
On Sun, 12 Apr 2009, Sean Escriva wrote:
> On Sat, Apr 11, 2009 at 06:37:50PM +0800, bill lam wrote:
> > There are vcf attachments with mime type 
> > text/x-vcard
> > text/directory
> 
> make sure your .muttrc auto_view line doesn't have either of those.
> 
> if you .mailcap entry for those items doesn't have 'copiusoutput' it
> shouldn't be displayed inline, regardless of your auto_view setting.
> 

my .muttrc and .mailcap do not contain them. But system default
/etc/mailcap does contain lines for text/* 

-- 
regards,

GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩015 王維  青谿
言入黃花川  每逐青谿水  隨山將萬轉  趣途無百里  聲喧亂石中  色靜深松裡
漾漾汎菱荇  澄澄映葭葦  我心素已閒  清川澹如此  請留盤石上  垂釣將已矣


Re: vcf attachment

2009-04-12 Thread Sean Escriva
On Sat, Apr 11, 2009 at 06:37:50PM +0800, bill lam wrote:
> There are vcf attachments with mime type 
> text/x-vcard
> text/directory

make sure your .muttrc auto_view line doesn't have either of those.

if you .mailcap entry for those items doesn't have 'copiusoutput' it
shouldn't be displayed inline, regardless of your auto_view setting.

http://www.mutt.org/doc/manual/manual-5.html#auto_view

> 
> I don't want to look at them, how to configure the mailcap or
> otherwise so that vcf will not be shown inline?
> 
> -- 
> regards,
> 
> GPG key 1024D/4434BAB3 2008-08-24
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> ??118 ??  ?
> ???  ???  ???  ???
> ???  ???  ???  ???


vcf attachment

2009-04-11 Thread bill lam
There are vcf attachments with mime type 
text/x-vcard
text/directory

I don't want to look at them, how to configure the mailcap or
otherwise so that vcf will not be shown inline?

-- 
regards,

GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩118 王維  終南山
太乙近天都  連山接海隅  白雲迴望合  青靄入看無
分野中峰變  陰晴眾壑殊  欲投人處宿  隔水問樵夫