From: Lloyd Zusman <ljz@asfast.com>
Subject: Which hook for auto-MIME-decoding?
Date: 20 Nov 1999 22:09:57 -0500 [thread overview]
Message-ID: <ltk8ncpmka.fsf@asfast.com> (raw)
In certain newsgroups, I'd like for all MIME attachments to be
automatically decoded when I enter the article. In other words, I'd
like the `gnus-mime-view-all-parts' function (which is normally mapped
to `W M v') to automatically get run when I enter the articles in
these selected newsgroups.
However, I can't figure out which hook to use for this. Both
`gnus-article-mode-hook' and `gnus-article-prepare-hook' don't seem to
be the right places.
The code that I want to insert into the appropriate hook function is
this:
(cond
((string-match "MY-NEWSGROUP-PATTERN" gnus-newsgroup-name)
(gnus-mime-view-all-parts)))
Any ideas?
Thanks in advance.
--
Lloyd Zusman
ljz@asfast.com
next reply other threads:[~1999-11-21 3:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-21 3:09 Lloyd Zusman [this message]
1999-12-01 18:59 ` Lars Magne Ingebrigtsen
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=ltk8ncpmka.fsf@asfast.com \
--to=ljz@asfast.com \
/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).