Gnus development mailing list
 help / color / mirror / Atom feed
From: Michael Sperber <sperber@informatik.uni-tuebingen.de>
Subject: uudecode barfs on XEmacs
Date: Sat, 20 May 2006 19:22:30 +0200	[thread overview]
Message-ID: <y9lfyj48vc9.fsf@informatik.uni-tuebingen.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 444 bytes --]


Specifically, it says:

Error while decoding: (invalid-state Bogus value for `default-process-coding-system' nil)

Now, I can't say I know what I'm doing (or that this works on GNU
Emacs), but this fixed it for me:

2006-05-20  Michael Sperber  <sperber@deinprogramm.de>

	* uudecode.el (uudecode-decode-region-external): Use '(binary
	. binary) for `default-process-coding-system' instead of nil to
	keep `call-process-region' from barfing.


[-- Attachment #2: Type: text/plain, Size: 700 bytes --]

*** lisp/uudecode.el~	Wed Feb  8 05:17:15 2006
--- lisp/uudecode.el	Sat May 20 19:21:04 2006
***************
*** 98,104 ****
  			      (make-temp-name "uu")
  			      uudecode-temporary-file-directory))))
  	(let ((cdir default-directory)
! 	      default-process-coding-system)
  	  (unwind-protect
  	      (with-temp-buffer
  		(insert "begin 600 " (file-name-nondirectory tempfile) "\n")
--- 98,104 ----
  			      (make-temp-name "uu")
  			      uudecode-temporary-file-directory))))
  	(let ((cdir default-directory)
! 	      (default-process-coding-system '(binary . binary)))
  	  (unwind-protect
  	      (with-temp-buffer
  		(insert "begin 600 " (file-name-nondirectory tempfile) "\n")

[-- Attachment #3: Type: text/plain, Size: 77 bytes --]



-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

             reply	other threads:[~2006-05-20 17:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-20 17:22 Michael Sperber [this message]
2006-05-22 17:04 ` Reiner Steib

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=y9lfyj48vc9.fsf@informatik.uni-tuebingen.de \
    --to=sperber@informatik.uni-tuebingen.de \
    /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).