unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* RMAIL, MIME clean-up, ignoring headers
@ 2003-10-05  8:43 Alexander Pohoyda
  0 siblings, 0 replies; only message in thread
From: Alexander Pohoyda @ 2003-10-05  8:43 UTC (permalink / 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-05  8:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-05  8:43 RMAIL, MIME clean-up, ignoring headers Alexander Pohoyda

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