Gnus development mailing list
 help / color / mirror / Atom feed
* Buttonizing and decoding based on message part contents?
@ 2003-12-16 18:33 Lloyd Zusman
  2003-12-16 23:08 ` Jesper Harder
  0 siblings, 1 reply; 11+ messages in thread
From: Lloyd Zusman @ 2003-12-16 18:33 UTC (permalink / raw)


I know that I can use `mm-content-transfer-encoding-defaults',
`mm-inline-override-types', and `mm-discouraged-alternatives' to control
how various message parts are buttonized and decoded.

I'm wondering if it's also possible to go one step further: to look
inside of the message part itself and use the contents to control these
things.

What I want to do is to look into each part and see if it contains a
block of text between the markers "-----BEGIN PGP MESSAGE-----" and
"-----END PGP MESSAGE-----", and if so, to either buttonize it or force
it to be decoded via pgg (or both).

Is there some sort of hook mechanism that will allow me to install an
optional function to test each message part and as a result of this
test, to set its buttonizing or decoding attributes?  If so, that would
make it easy for me to implement this functionality.

Or perhaps is there another way to do this?

Thanks in advance.

-- 
 Lloyd Zusman
 ljz@asfast.com




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2003-12-19 18:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-16 18:33 Buttonizing and decoding based on message part contents? Lloyd Zusman
2003-12-16 23:08 ` Jesper Harder
2003-12-17 13:19   ` Lloyd Zusman
2003-12-17 13:49     ` Jesper Harder
2003-12-17 14:04       ` Lloyd Zusman
2003-12-17 15:13         ` Jesper Harder
2003-12-17 15:43           ` Lloyd Zusman
2003-12-17 22:13             ` Jesper Harder
2003-12-18 17:30               ` Lloyd Zusman
2003-12-19  1:17                 ` Jesper Harder
2003-12-19 18:26                   ` Lloyd Zusman

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).