Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: Large *.pif base64 attachments and Gnus...
Date: Sat, 11 Aug 2001 23:12:24 +0100	[thread overview]
Message-ID: <iluzo966ybb.fsf@barbar.josefsson.org> (raw)
In-Reply-To: <87lmks0xqa.fsf@deneb.enyo.de> (Florian Weimer's message of "Fri, 10 Aug 2001 16:57:01 +0200")

Florian Weimer <fw@deneb.enyo.de> writes:

>> Committed.  If `base64-decode-region' is broken in Emacs 20 it doesn't
>> help though.
>
> I finally managed to look at the documentation, and it's strange
> behavior is even documented:
>
> | Base64-decode the region between BEG and END.
> | Return the length of the decoded text.
> | If the region can't be decoded, return nil and don't modify the buffer.
>
> Is this different on Emacs 21?

Yes.  I think the current code should work with both schemes.

base64-decode-region is an interactive built-in function.
(base64-decode-region BEG END)

Base64-decode the region between BEG and END.
Return the length of the decoded text.
If the region can't be decoded, signal an error and don't modify the buffer.



      reply	other threads:[~2001-08-11 22:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-31 23:10 Pavel Janík
2001-08-03  0:57 ` Russ Allbery
2001-08-03  7:19   ` Pavel Janík
2001-08-04 15:51     ` Florian Weimer
2001-08-04 19:58       ` Pavel Janík
2001-08-04 23:36         ` Simon Josefsson
2001-08-05  7:42           ` Florian Weimer
2001-08-05  9:11           ` Pavel Janík
2001-08-09 19:36             ` Simon Josefsson
2001-08-10 14:57               ` Florian Weimer
2001-08-11 22:12                 ` Simon Josefsson [this message]

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=iluzo966ybb.fsf@barbar.josefsson.org \
    --to=jas@extundo.com \
    --cc=ding@gnus.org \
    /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).