Gnus development mailing list
 help / color / mirror / Atom feed
* uudecode barfs on XEmacs
@ 2006-05-20 17:22 Michael Sperber
  2006-05-22 17:04 ` Reiner Steib
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Sperber @ 2006-05-20 17:22 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-05-22 17:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-20 17:22 uudecode barfs on XEmacs Michael Sperber
2006-05-22 17:04 ` Reiner Steib

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).