all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* RMAIL, MIME-related bug
@ 2003-10-07 19:29 Alexander Pohoyda
  2003-10-07 21:21 ` Eli Zaretskii
  0 siblings, 1 reply; 101+ messages in thread
From: Alexander Pohoyda @ 2003-10-07 19:29 UTC (permalink / raw)


If the rmail-enable-mime variable is non-nil, replying to the message
with hidden header fields will produce an empty References header
field. This does not happen if you reply to the message with header
fields toggled on.
The problem is obvious in rmail-reply function.

Also, it seems to me that the MIME support in RMAIL is far from
finished. Is there any work in progress?

-- 
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] 101+ messages in thread
* Re: RMAIL, MIME-related bug
@ 2003-10-12 19:47 Alexander Pohoyda
  2003-10-14  1:50 ` Kenichi Handa
                   ` (2 more replies)
  0 siblings, 3 replies; 101+ messages in thread
From: Alexander Pohoyda @ 2003-10-12 19:47 UTC (permalink / raw)
  Cc: emacs-devel

> > I have found a variable called rmail-enable-mime, and some void
> > variables of type rmail-*-mime-* which don't fit into my
> > implementation and I don't understand why they are here anyway.
> 
> IIRC, this is for add-on packages that add MIME support to RMAIL.

Do you know of such a package? I was not able to find any.
If there exist some, I don't want to break it. Otherwise I don't
believe those variables are useful.

> > 2) If I save an email to the file, I want it to be the same message
> >    as RMail read from my mailbox. I want to be able to read it from
> >    another mail client, for example.
> 
> Someone wrote code to do that, but it's currently on a separate
> branch of the Emacs CVS.  I suggest to leave this issue alone, not to
> mix it with the other changes you did.

Actually, I ment rmail-output function from rmailout.el file, but
after consideration I agree that I used that functionality so often
only because there was no better way to get attached files from the
email. Normally I don't need to export emails to files.

> > 3) I agree that some action (transfer-/charset decoding, PGP signature
> >    verification, etc.) is OK to do once in function called from
> >    rmail-convert-to-babyl-format, but some other (picture previews,
> >    big attachement hiding, etc.) should be done by every (?)
> >    rmail-show-message call.
> 
> I suggest to discuss this (on emacs-devel).  There are trade-offs here
> that IMHO are not so trivial to resolve.

OK, this is how I see it.

When we convert the email to babyl format, we can do some MIME-related
processing on it, for example: all text/* bodyparts may be
transfer-encoding (quoted-printable and base64) decoded, PGP/GPG
signatures verified, PGP/GPG decryption done, header fields of type
=?...?B?...?= decoded (RFC 2047) and unfolded (RFC 2822), etc.
This needs to be done once. No information is lost in this step. No
structure information is lost either.

When we show the message, I'm not interested in following things:
* MIME-related boundaries;
* Header fields of most entities;
* Entities of some types (multipart/alternative(text/html),
pgp-signature, etc);
* Entities of types image, audio, video, application. Instead, I would
like to see a button [Save as...] which will save an entity to file;
* Entities of types image/jpeg, image/png, etc. may be displayed right
here in the buffer.

Granted, we can delete boundaries and header field we don't want to
see, but what to do with big bodyparts like attached images? Where to
store them so that the user does not normally see them, but can
access them anytime in the future?

Also, please note that if we delete any MIME-related information, we
will not be able to parse the message again later. Well, we will need
some other parser. This way we invent another format. I don't like
this, that's why I don't agree that we should delete something we
don't want to see on the screen.
As I proposed before, I would like to hide the information using the
"invisible" property. I'm open to suggestions.


Another problem is that we currently brake the email by inserting
"simplified" header between original header and the message body (in
rmail-reformat-message function). After this is done, MIME-parsing
function does not work anymore.

I would very like to hear your ideas.
Thanks to anybody in advance.


-- 
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] 101+ messages in thread
* Re: RMAIL, MIME-related bug
@ 2003-10-28  2:01 Bill Wohler
  0 siblings, 0 replies; 101+ messages in thread
From: Bill Wohler @ 2003-10-28  2:01 UTC (permalink / raw)
  Cc: juri, monnier, Satyaki Das, emacs-devel

Richard Stallman <rms@gnu.org> writes:

>     I am a huge fan of mail indexing programs like: swish++, mairix,
>     glimpse, namazu etc.
>
> I seem to recall that glimpse is or was non-free.  I don't know about
> the others.  Can you check which of these are non-free?  We don't
> want Gnus or MH-E to refer to them.

Glimpse support was dropped from CVS MH-E today.

A poll of MH-E users revealed one glimpse user who was going to switch
to another indexer anyway, and another who was happy to switch, so there
wasn't much pain involved. I use swish++ myself.

As Satyaki mentioned, Juri's concerns are unfounded with modern indexers
like swish that do base64 and qp decoding. MH-E can find text in a
base64 message somewhere in all of your mail and display it in a second.

We also support a default search engine called grep which does suffer
Yuri's concerns however.

Note that the Emacs mailcrypt package does have the option to write a
decrypted mail message back to the disk, which I find to be a useful
option since typing the pass phrase over and over again is a pain and
most times, encryption is used to protect the message in transport, not
on my disk.

I also don't think there would be any harm in saving the decoded base64
and qp body parts, just as long you left the body parts intact and set
the Content-Transfer-Encoding as necessary (8bit, for example) so that
these messages could be recoded if forwarded. I don't see any benefit
either.

-- 
Bill Wohler <wohler@newt.com>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.

^ permalink raw reply	[flat|nested] 101+ messages in thread

end of thread, other threads:[~2003-10-29 11:30 UTC | newest]

Thread overview: 101+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-07 19:29 RMAIL, MIME-related bug Alexander Pohoyda
2003-10-07 21:21 ` Eli Zaretskii
2003-10-07 22:14   ` Alexander Pohoyda
2003-10-07 22:54     ` Eli Zaretskii
2003-10-07 22:40   ` Alexander Pohoyda
2003-10-07 23:02     ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2003-10-12 19:47 Alexander Pohoyda
2003-10-14  1:50 ` Kenichi Handa
2003-10-14 14:05   ` Robert J. Chassell
2003-10-15  4:08     ` Richard Stallman
     [not found]     ` <bob@rattlesnake.com>
2003-10-15 19:59       ` Peter S Galbraith
2003-10-16  6:59 ` Eli Zaretskii
2003-10-16  7:41   ` Alexander Pohoyda
2003-10-16  9:40     ` Thien-Thi Nguyen
2003-10-16  9:48       ` Thien-Thi Nguyen
2003-10-16 13:27       ` Alexander Pohoyda
2003-10-16 14:15         ` Thien-Thi Nguyen
2003-10-16 11:20     ` Eli Zaretskii
2003-10-16 13:14       ` Alexander Pohoyda
2003-10-16 16:02         ` Eli Zaretskii
2003-10-16 18:27           ` David Kastrup
2003-10-16 21:18           ` Alexander Pohoyda
2003-10-17  7:00             ` Eli Zaretskii
2003-10-16 14:36       ` Ehud Karni
2003-10-16 16:06         ` Eli Zaretskii
2003-10-16 23:06     ` Richard Stallman
2003-10-16 23:06   ` Richard Stallman
2003-10-17  6:19     ` Alexander Pohoyda
2003-10-17  6:45     ` Eli Zaretskii
2003-10-16 16:54 ` Stefan Monnier
2003-10-16 17:21   ` Eli Zaretskii
2003-10-16 18:49     ` Stefan Monnier
2003-10-16 18:58       ` Eli Zaretskii
2003-10-16 19:21         ` Stefan Monnier
2003-10-17  6:24           ` Eli Zaretskii
2003-10-17 11:54             ` Stephen J. Turnbull
2003-10-17 18:10               ` Eli Zaretskii
2003-10-21  3:09                 ` Stephen J. Turnbull
2003-10-21  3:59                   ` Simon Josefsson
2003-10-21 10:50                     ` Stephen J. Turnbull
2003-10-21 11:56                       ` Lars Magne Ingebrigtsen
2003-10-22  9:25                   ` Richard Stallman
2003-10-22 10:52                     ` Stephen J. Turnbull
2003-10-22 10:52                     ` Kenichi Handa
2003-10-29 11:30                       ` 守岡知彦 / MORIOKA Tomohiko
2003-10-22 17:19                     ` Alexander Pohoyda
2003-10-22 19:53                       ` Lars Magne Ingebrigtsen
2003-10-22 23:47                       ` Kenichi Handa
2003-10-17 18:51             ` Satyaki Das
2003-10-17 18:57             ` Lars Magne Ingebrigtsen
2003-10-18  8:29               ` Eli Zaretskii
2003-10-18 23:05                 ` Richard Stallman
2003-10-19  5:50                   ` Eli Zaretskii
2003-10-19 10:38                     ` Alex Schroeder
2003-10-20  1:48                     ` Richard Stallman
2003-10-20  5:53                       ` Alexander Pohoyda
2003-10-20  6:51                         ` Lars Magne Ingebrigtsen
2003-10-20 17:39                           ` Alexander Pohoyda
2003-10-20 23:20                           ` Richard Stallman
2003-10-16 19:33         ` Ehud Karni
2003-10-17  6:20           ` Eli Zaretskii
2003-10-16 19:14       ` Ehud Karni
2003-10-16 21:56         ` Alexander Pohoyda
2003-10-16 22:21           ` Ehud Karni
2003-10-16 23:48             ` Luc Teirlinck
2003-10-17  2:20               ` Kenichi Handa
     [not found]     ` <eliz@elta.co.il>
2003-10-17  2:36       ` Peter S Galbraith
2003-10-17 15:39       ` Peter S Galbraith
2003-10-17 16:16         ` Stefan Monnier
     [not found]           ` <monnier@IRO.UMontreal.CA>
2003-10-17 16:22             ` Peter S Galbraith
2003-10-17 18:17         ` Eli Zaretskii
2003-10-17 18:33       ` Peter S Galbraith
2003-10-20 10:43         ` Richard Stallman
     [not found]           ` <rms@gnu.org>
2003-10-20 22:27             ` Peter S Galbraith
2003-10-17 20:46     ` Richard Stallman
2003-10-17 21:09       ` Stefan Monnier
2003-10-18 23:06         ` Richard Stallman
2003-10-19  7:46           ` Alexander Pohoyda
2003-10-16 21:44   ` Alexander Pohoyda
2003-10-16 22:07     ` Stefan Monnier
2003-10-16 21:44   ` Alexander Pohoyda
2003-10-19 20:59   ` Juri Linkov
2003-10-20  4:18     ` Kenichi Handa
2003-10-20  5:15       ` Juri Linkov
2003-10-20  5:21       ` Alexander Pohoyda
2003-10-20 13:03       ` Robert J. Chassell
2003-10-20  6:54     ` Lars Magne Ingebrigtsen
2003-10-20  8:11       ` Juri Linkov
2003-10-20  9:33         ` Lars Magne Ingebrigtsen
2003-10-20 13:56       ` Paul Michael Reilly
2003-10-20 17:14     ` Satyaki Das
2003-10-21 14:48       ` Richard Stallman
2003-10-21 16:48         ` Satyaki Das
2003-10-20 23:20     ` Richard Stallman
2003-10-21  5:30       ` Karl Eichwalder
2003-10-22  9:25         ` Richard Stallman
2003-10-20 23:38     ` Kevin Rodgers
2003-10-21  5:38       ` Juri Linkov
2003-10-23 18:24         ` Kevin Rodgers
2003-10-23 19:57           ` Kevin Rodgers
2003-10-28  2:01 Bill Wohler

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.