[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[h-e-w] Re: Gnus, anyone?

From: richardk
Subject: [h-e-w] Re: Gnus, anyone?
Date: Tue, 18 Dec 2001 15:57:48 -0800

>>>>> "JR" == Jason Rumney <address@hidden> writes:
    JR> Paul Kinnucan <address@hidden> writes:
    >> I'm a bit further down this path than you. I tried
    >> the gnus for news and email route and hated it almost
    >> instantly.
    JR> Almost instantly is not sufficiently long to
    JR> accustom yourself to Gnus :-)
    >> There are a few tricks to using vm on Windows,
    >> including compiling the base64 encoder/decoder
    >> program that comes with the vm distribution.
    JR> What is so wrong with the built in base64 support
    JR> that VM needs to reinvent it?

I believe VM does use the built-in base64-encode-region and
base64-decode-region functions.  VM does not use
base64-decode-region under GNU Emacs though as shown below.

I quote from vm-mime.el from VM 6.97 :

(defun vm-mime-base64-decode-region (start end &optional crlf)


           ((and (featurep 'base64)
                 (fboundp 'base64-decode-region)
                 ;; W3 reportedly has a Lisp version of this, and
                 ;; there's no point running it.
                 (subrp (symbol-function 'base64-decode-region))
                 ;; The FSF Emacs version of this is unforgiving
                 ;; of errors, which is not in the spirit of the
                 ;; MIME spec, so avoid using it.
                 (not vm-fsfemacs-p))

Note the last comment which gives why GNU Emacs version of
base64-decode-region is not used.
However, base64-encode-region is used if available.

(defun vm-mime-base64-encode-region (start end &optional crlf B-encoding)

           ((and (featurep 'base64)
                 (fboundp 'base64-encode-region)
                 ;; W3 reportedly has a Lisp version of this, and
                 ;; there's no point running it.
                 (subrp (symbol-function 'base64-encode-region)))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]