From: Uwe Brauer <oub@mat.ucm.es>
To: info-gnus-english@gnu.org
Subject: Re: icalendar import while opening an article
Date: Tue, 09 Feb 2010 11:58:36 +0100 [thread overview]
Message-ID: <874olqu143.fsf@mat.ucm.es> (raw)
In-Reply-To: <gob647-nd5.ln1@karme.afraid.org>
> ,----
> | `gnus-article-mime-part-function'
> | For each MIME part, this function will be called with the MIME
> | handle as the parameter. The function is meant to be used to allow
> | users to gather information from the article (e. g., add Vcard
> | info to the bbdb database) or to do actions based on parts (e. g.,
> | automatically save all jpegs into some directory).
> |
> | Here's an example function the does the latter:
> |
> | (defun my-save-all-jpeg-parts (handle)
> | (when (equal (car (mm-handle-type handle)) "image/jpeg")
> | (with-temp-buffer
> | (insert (mm-get-part handle))
> | (write-region (point-min) (point-max)
> | (read-file-name "Save jpeg to: ")))))
> | (setq gnus-article-mime-part-function
> | 'my-save-all-jpeg-parts)
> |
> `----
Precisely! That is what I was looking for thanks very much!
Uwe
next prev parent reply other threads:[~2010-02-09 10:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.864.1265637337.14305.info-gnus-english@gnu.org>
2010-02-08 21:19 ` Jens Thiele
2010-02-09 10:58 ` Uwe Brauer [this message]
2010-02-08 13:55 Uwe Brauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874olqu143.fsf@mat.ucm.es \
--to=oub@mat.ucm.es \
--cc=info-gnus-english@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).