* attachment in Mail?
@ 2002-11-29 0:59 calmar
2002-11-29 2:58 ` Jesper Harder
0 siblings, 1 reply; 2+ messages in thread
From: calmar @ 2002-11-29 0:59 UTC (permalink / raw)
Hi,
is there a way (well how :-) to show in the summary buffer if the mail
has an attachment?
As far as I read in the 'help' system, I may would need to set the
'gnus-summary-line-format' and there the u:
,----[ ...from the gnus manual ]
| `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.
`----
and then I would need to write a function which search for the strings
like this:
Content-Type: text/html;
and when then I should get there in the summary buffer a sign if it's
plain text or html or whatever.
Well here would be the first (for me) difficulty: it says above the
function will passed the current _header_ as argument.
Well, I just would like to ask here, if there is *already* such
functionatly, before I try to write something in lisp the very first
time :-) (which I already have no idea how to do -> how to get the whole
mail as argument ?)
thanks
calmar
--
(o_
//\
V_/_ www.calmar.ws
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: attachment in Mail?
2002-11-29 0:59 attachment in Mail? calmar
@ 2002-11-29 2:58 ` Jesper Harder
0 siblings, 0 replies; 2+ messages in thread
From: Jesper Harder @ 2002-11-29 2:58 UTC (permalink / raw)
calmar <mac@calmar.ws> writes:
> is there a way (well how :-) to show in the summary buffer if the mail
> has an attachment?
No, there's no pre-defined functionality.
> Well, I just would like to ask here, if there is *already* such
> functionatly, before I try to write something in lisp the very first
> time :-) (which I already have no idea how to do -> how to get the whole
> mail as argument ?)
I think the easiest way to implement it would be to add the header
'Content-Type' to `gnus-extra-headers'. See the node "To From
Newsgroups" in the Gnus manual.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-29 2:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-29 0:59 attachment in Mail? calmar
2002-11-29 2:58 ` Jesper Harder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).