info-gnus-english
[Top][All Lists]
Advanced

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

Re: indicate email has attachment in summary buffer


From: Leon
Subject: Re: indicate email has attachment in summary buffer
Date: Thu, 03 Aug 2006 12:46:01 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux)

Frank Schmitt <ich@frank-schmitt.net> writes:

> Yes, this is possible, however it isn't easy, you have to write some
> lisp to do it: See the Gnus manual node 
>
> 3.1.1 Summary Buffer Lines
>
> there you'll find 
>
> `u'
>      User defined specifier.  The next character in the format string
>      should be a letter.  Gnus will call the function
>      `gnus-user-format-function-X', where X is the letter following
>      `%u'.  The function will be passed the current header as argument.
>      The function should return a string, which will be inserted into
>      the summary just like information from any other summary specifier.
>
> Now you "only" have to write a function which takes the header and
> searches for "Content-Type: multipart/mixed". If it is found your
> function returns an "@", otherwise it returns a " ". This should be
> really easy for someone who knows some lisp. (Rainer? :-))
>
> Greetings,
> Frank

Thank you for your hint. I have adapted one function from Reiner to
accomplish this.

-- 
Leon





reply via email to

[Prev in Thread] Current Thread [Next in Thread]