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: Fri, 04 Aug 2006 18:08:22 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux)

Reiner Steib <reinersteib+gmane@imap.cc> writes:

> On Fri, Aug 04 2006, Leon wrote:
>
>> Leon <sdl.web@gmail.com> writes:
>>> (defun gnus-user-format-function-@ (header)
>>>   "Display @ for message with attachment in summary line.
>>>   
>>> You need to add `Content-Type' to `nnmail-extra-headers' and
>>> `gnus-extra-headers', see Info node `(gnus)To From Newsgroups'."
>>>   (let ((case-fold-search t)
>>>     (ctype (or (cdr (assq 'Content-Type (mail-header-extra header)))
>>                    ^This will always return nil in newsgroup
>>                     emails. Any ideas?
>
> ,----[ (info "(gnus)To From Newsgroups") ]
> |    A note for news server administrators, or for users who wish to try
> | to convince their news server administrator to provide some additional
> | support:
> | 
> |    The above is mostly useful for mail groups, where you have control
> | over the NOV files that are created.  However, if you can persuade your
> | nntp admin to add (in the usual implementation, notably INN):
> | 
> |      Newsgroups:full
> | 
> |    to the end of her `overview.fmt' file, then you can use that just as
> | you would the extra headers from the mail groups.
> `----
>
> HTH
>
> Bye, Reiner.

Thanks Reiner.

Where is the header passed to gnus-user-format-function-X stored?
Because when I look at the raw message of news emails I can see the
Content-Type?

-- 
Leon





reply via email to

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