[Top][All Lists]

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

Re: base64-decode-region inserts carriage-returns

From: Eric Hanchrow
Subject: Re: base64-decode-region inserts carriage-returns
Date: Sat, 08 Jun 2002 21:06:22 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

I think 'no-conversion is a better suggestion than 'raw-text-unix.

And if the Emacs maintainers decide not to change Emacs, I can get
along just fine by putting the following in my .emacs:

    (fset 'builtin-base64-decode-region (symbol-function 'base64-decode-region))

    (defun base64-decode-region (beg end)
      "Just like `builtin-base64-decode-region', but avoids putting
    spurious carriage-returns in the output."
      (interactive "r")
      (builtin-base64-decode-region beg end)
      (set-buffer-file-coding-system 'no-conversion))

PGP Fingerprint: 3E7B A3F3 96CA 8958 ACC5  C8BD 6337 0041 C01C 5276

reply via email to

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