From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alexander Pohoyda Newsgroups: gmane.emacs.bugs Subject: RMAIL, MIME clean-up, ignoring headers Date: Sun, 5 Oct 2003 10:43:30 +0200 (CEST) Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <200310050843.h958hUWD000556@oak.pohoyda.family> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1065343467 671 80.91.224.253 (5 Oct 2003 08:44:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Oct 2003 08:44:27 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 05 10:44:26 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A64V7-0004Gk-00 for ; Sun, 05 Oct 2003 10:44:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A64V4-0004Hz-CB for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Oct 2003 04:44:22 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A64Uz-0004H9-10 for bug-gnu-emacs@gnu.org; Sun, 05 Oct 2003 04:44:17 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A64US-0003po-0Z for bug-gnu-emacs@gnu.org; Sun, 05 Oct 2003 04:44:15 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.24) id 1A64UK-0003ZA-Ig for bug-gnu-emacs@gnu.org; Sun, 05 Oct 2003 04:43:36 -0400 Original-Received: (qmail 6820 invoked by uid 65534); 5 Oct 2003 08:43:33 -0000 Original-Received: from p508BF9CC.dip.t-dialin.net (EHLO oak.pohoyda.family) (80.139.249.204) by mail.gmx.net (mp003) with SMTP; 05 Oct 2003 10:43:33 +0200 X-Authenticated: #14602519 Original-Received: from oak.pohoyda.family (oak.pohoyda.family [127.0.0.1]) by oak.pohoyda.family (8.12.9/8.12.9) with ESMTP id h958hVlo000563 for ; Sun, 5 Oct 2003 10:43:31 +0200 (CEST) (envelope-from apog@oak.pohoyda.family) Original-Received: (from apog@localhost) by oak.pohoyda.family (8.12.9/8.12.9/Submit) id h958hUWD000556; Sun, 5 Oct 2003 10:43:30 +0200 (CEST) (envelope-from apog) Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:5910 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:5910 Hello everybody, I have developed a set of functions to recursively parse a MIME-compliant message and to handle separate entities in it. Now, I would like to hide some header fields not only in the top-level entity (message), but also in it's sub-entities (if any). The problem I see is that the function rmail-clear-headers *deletes* ignored header fields. In case of a simple message this is not a problem, because the original message header is stored elsewhere. However, we'd better not delete headers from MIME-entities, and I don't see a clean way how we should store original entity headers outside of the visible message itself. Thus, my question: is it a good idea to change the code not to delete headers, but to make them invisible instead? This would also make rmail-toggle-headers function *much* simplier! Thank you for any response. -- Alexander Pohoyda PGP Key fingerprint: 7F C9 CC 5A 75 CD 89 72 15 54 5F 62 20 23 C6 44