Gnus development mailing list
 help / color / mirror / Atom feed
From: Hrvoje Niksic <hniksic@srce.hr>
Subject: Re: Inefficiency in mm-uu.el
Date: 30 Nov 1998 00:06:56 +0100	[thread overview]
Message-ID: <kigvhjym73j.fsf@jagor.srce.hr> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of "29 Nov 1998 22:37:48 +0100"

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Hrvoje Niksic <hniksic@srce.hr> writes:
> 
> > > Do you mean to automatically setup mm-uu-decode-function by
> > > searching uudecode on the system at loading time of mm-uu.el?
> > 
> > Yes.
> > 
> > > If so, please feel free to patch it.
> > 
> > Yes, if Lars will accept the patch.  I seem to recall he said
> > something about "not trusting external programs" for base64, so I
> > don't know if it applies to uuencode.  Lars?
> 
> Well, I, uhm (sorry, I'm watching _Schindler's List_ while listening
> to _Dots and Loops_ and answering mail) er, uhm, I think that having
> an external program to decode uuencoded things is probably fine.
> (Ooo.  Who knew those dastardly Germans were so *naughty*.  I'm glad we 
> have directors like Spielberg!)  External programs are a general cause 
> of breakage, especially in Emacs 20.3 -- how many bug reports have we
> had for NT-related metamail (etc.) breakages?  But I think it's fine
> to give users an opportunity to use external programs as long as it's
> not the default.

So my imaginary patch would not be accepted.

Because, we already have what you describe.  The following piece of
code in .emacs will enable the use of an external program:

    (setq mm-uu-decode-function 'uudecode-decode-region-external)

does it.  What I wanted to do is something along the lines of:

    (defvar mm-uu-decode-function (if (locate-file "uudecode" exec-path)
				      'uudecode-decode-region-external
				    'uudecode-decode-region))


P.S.
The latest XEmacs 21.2 has native base64 support.  Let us all
rejoice.  Sending flowers is optional.

P.S.
Fortunately, I *didn't* watch _Saving Private Ryan_ while typing this.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
AMAZING BUT TRUE: There is so much sand in Northern Africa that if
it were spread out it would completely cover the Sahara Desert.


  reply	other threads:[~1998-11-29 23:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <kigaf1d3ya0.fsf@jagor.srce.hr>
1998-11-29  9:26 ` Shenghuo ZHU
1998-11-29 14:44   ` Hrvoje Niksic
1998-11-29 21:37     ` Lars Magne Ingebrigtsen
1998-11-29 23:06       ` Hrvoje Niksic [this message]
1998-11-30 13:59       ` Jan Vroonhof
1998-11-30 14:29         ` Steinar Bang
1998-11-30 14:41           ` Jean-Yves Perrier
1998-11-30 17:15           ` Jan Vroonhof
1998-11-29 21:31   ` Lars Magne Ingebrigtsen
1998-11-29 23:08     ` Hrvoje Niksic
1998-11-30  2:46       ` Lars Magne Ingebrigtsen

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

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

  git send-email \
    --in-reply-to=kigvhjym73j.fsf@jagor.srce.hr \
    --to=hniksic@srce.hr \
    /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.
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 NNTP newsgroup(s).