From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55288 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: Fri, 19 Dec 2003 13:26:50 -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 1071859263 2286 80.91.224.253 (19 Dec 2003 18:41:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 Dec 2003 18:41:03 +0000 (UTC) Original-X-From: ding-owner+M3828@lists.math.uh.edu Fri Dec 19 19:40:58 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 1AXPYY-0006pA-00 for ; Fri, 19 Dec 2003 19:40:58 +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 1AXPYJ-0008Iv-00; Fri, 19 Dec 2003 12:40:43 -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 1AXPYC-0008Ip-00 for ding@lists.math.uh.edu; Fri, 19 Dec 2003 12:40:36 -0600 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id 555B03A004F for ; Fri, 19 Dec 2003 12:40:35 -0600 (CST) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AXPYA-0004lg-00 for ; Fri, 19 Dec 2003 19:40:34 +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 1AXPY6-0004lL-00 for ; Fri, 19 Dec 2003 19:40:30 +0100 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AXPY5-0000YZ-00 for ; Fri, 19 Dec 2003 19:40:29 +0100 Original-Lines: 25 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:+qYWS+WNM9Mx76xNU8ePUtuFt+Y= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55288 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55288 Jesper Harder writes: > Lloyd Zusman writes: > >> A question: if I write a washing-type function that traverses the MIME >> structure of a message and calls a hook for each part, what should I do >> within this hook in order to cause each of the following outcomes? ... >> >> 1. Buttonize the message part. >> >> 2. Override the part's MIME type with my own setting. This will allow a >> text/plain or application/octet-stream part that contains delimiters >> such as "-----BEGIN PGP MESSAGE-----" to be handled via the code that >> already exists for application/pgp-encrypted parts. > > I think this will be hard to do with a washing function. It's applied > too late. > > You need to look at what `mm-uu-dissect' and `gnus-display-mime' does. I'll check those out, thanks. -- Lloyd Zusman ljz@asfast.com