From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55259 Path: main.gmane.org!not-for-mail From: Lloyd Zusman Newsgroups: gmane.emacs.gnus.general Subject: Re: Buttonizing and decoding based on message part contents? Date: Wed, 17 Dec 2003 08:19:06 -0500 Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1071667388 7063 80.91.224.253 (17 Dec 2003 13:23:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2003 13:23:08 +0000 (UTC) Original-X-From: ding-owner+M3799@lists.math.uh.edu Wed Dec 17 14:23:04 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AWbdo-0006Ek-00 for ; Wed, 17 Dec 2003 14:23:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AWbbf-0002PC-00; Wed, 17 Dec 2003 07:20:51 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AWbbU-0002P4-00 for ding@lists.math.uh.edu; Wed, 17 Dec 2003 07:20:40 -0600 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id 30A863A0044 for ; Wed, 17 Dec 2003 07:20:39 -0600 (CST) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AWbbR-0008DE-00 for ; Wed, 17 Dec 2003 14:20:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AWbbO-0008D4-00 for ; Wed, 17 Dec 2003 14:20:34 +0100 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AWbbO-0001kC-00 for ; Wed, 17 Dec 2003 14:20:34 +0100 Original-Lines: 36 Original-X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:MBPqWcFwwqdZmuQJpS8hWAr5izo= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55259 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55259 Jesper Harder writes: > Lloyd Zusman writes: > >> 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? > > No. `mm-uu-dissect' which is the function responsible for detecting > this is only applied to single part text/plain. > > I think this feature has been requested several times (and ISTR > previous discussions here). Look around line 4495 in gnus-art.el if > you'd like to experiment with it. I'll take a look. >> Or perhaps is there another way to do this? > > Another possibility could be to do it as a part of article washing -- > something like the removed `article-hide-pgp' from Gnus 5.9. Does anyone know why that washing function was removed? Thank you very much for the tips. -- Lloyd Zusman ljz@asfast.com