unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alexander Pohoyda <alexander.pohoyda@gmx.net>
Subject: RMAIL, MIME clean-up, ignoring headers
Date: Sun, 5 Oct 2003 10:43:30 +0200 (CEST)	[thread overview]
Message-ID: <200310050843.h958hUWD000556@oak.pohoyda.family> (raw)

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 <alexander.pohoyda@gmx.net>
PGP Key fingerprint: 7F C9 CC 5A 75 CD 89 72  15 54 5F 62 20 23 C6 44

                 reply	other threads:[~2003-10-05  8:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200310050843.h958hUWD000556@oak.pohoyda.family \
    --to=alexander.pohoyda@gmx.net \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).