unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* rmail-enable-mime
@ 2003-10-08  0:12 Luc Teirlinck
  2003-10-08  1:24 ` rmail-enable-mime Luc Teirlinck
  0 siblings, 1 reply; 3+ messages in thread
From: Luc Teirlinck @ 2003-10-08  0:12 UTC (permalink / raw)
  Cc: Alexander Pohoyda, emacs-devel

Eli Zaretskii wrote:

    > Date: Wed, 8 Oct 2003 00:40:34 +0200 (CEST)
    > From: Alexander Pohoyda <alexander.pohoyda@gmx.net>
    >
    > I just found out that if rmail-enable-mime is set, you cannot save a
    > message to file.

    That variable is not supposed to be set by humans.  See my other mail
    for more info.

Maybe this has already been pointed out before (this appears to have
been discussed several places) and I missed it, but the obvious
conclusion of the above statement is that, if this variable is kept at
all, the defcustom for it should be replaced by a defvar.  (Unless I
misunderstood the statement above.)

Sincerely,

Luc.

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

* Re: rmail-enable-mime
  2003-10-08  0:12 rmail-enable-mime Luc Teirlinck
@ 2003-10-08  1:24 ` Luc Teirlinck
  0 siblings, 0 replies; 3+ messages in thread
From: Luc Teirlinck @ 2003-10-08  1:24 UTC (permalink / raw)
  Cc: eliz, alexander.pohoyda, emacs-devel

>From my previous message:

   the obvious conclusion of the above statement is that, if this
   variable is kept at all, the defcustom for it should be replaced by
   a defvar.

On the other hand, from the documentation string:

  "*If non-nil, RMAIL uses MIME feature.
If the value is t, RMAIL automatically shows MIME decoded message.
If the value is neither t nor nil, RMAIL does not show MIME decoded message
until a user explicitly requires it."

This makes it seem that this is _really meant_ as a user option.
However setting the variable not only does nothing useful, but
actually causes trouble, as Alexander pointed out.  The documentation
string also suggests that (require 'mime), or maybe (require 'MIME),
or maybe something else that the user is just not smart enough to
think about, is supposed to enable mime support and make this variable
"work".  Regardless of whether the defcustom gets replaced by a
defvar, _if_ the variable is kept at all, should the documentation
string not contain a warning style:

  "*If non-nil, RMAIL uses MIME feature, if available.  
This variable only takes effect if you use some add-on package that
knows how to handle it it.  The feature MIME will only be defined if
you use such a package.  Do not set this variable to a non-nil value
if you are not using such a package, as this might cause trouble.

When using a proper add-on package, if the value is t, RMAIL
automatically shows MIME decoded message.  If the value is neither t
nor nil, RMAIL does not show MIME decoded message until a user
explicitly requires it."

The above is not really meant as a _literal_ suggestion, since I do
not really know the situation behind this variable well enough to
properly rewrite the documentation string in full detail.

Sincerely,

Luc.

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

* Re: rmail-enable-mime
@ 2003-10-12 20:06 Alexander Pohoyda
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Pohoyda @ 2003-10-12 20:06 UTC (permalink / raw)
  Cc: eliz, emacs-devel

>    the obvious conclusion of the above statement is that, if this
>    variable is kept at all, the defcustom for it should be replaced by
>    a defvar.

I think that we should delete this variable in the future. If the
message is MIME-encoded, there is no reason not to view it that way
if the mail client supports MIME.


-- 
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] 3+ messages in thread

end of thread, other threads:[~2003-10-12 20:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-12 20:06 rmail-enable-mime Alexander Pohoyda
  -- strict thread matches above, loose matches on Subject: below --
2003-10-08  0:12 rmail-enable-mime Luc Teirlinck
2003-10-08  1:24 ` rmail-enable-mime Luc Teirlinck

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