Gnus development mailing list
 help / color / mirror / Atom feed
* Bug in gnus/uudecode.el (was: Possible bug in TRAMP?)
       [not found]       ` <87is3k70im.fsf@tleepslib.sk.tsukuba.ac.jp>
@ 2005-03-22 11:48         ` Reiner Steib
  2005-03-22 14:55           ` Bug in gnus/uudecode.el Stephen J. Turnbull
  0 siblings, 1 reply; 2+ messages in thread
From: Reiner Steib @ 2005-03-22 11:48 UTC (permalink / raw)
  Cc: xemacs-beta

On Tue, Mar 22 2005, Stephen J. Turnbull wrote:

>>>>>> "Andrew" == Andrew Nesbit <andrew@siru.org> writes:
>
>     Andrew> OK, thanks for pointing that out. So it seems it's a bug
>     Andrew> in some uudecode/uuencode tool on the remote Mac OS X.
>
> No, it's a bug in the uudecode library in Gnus, which assumes that
> 'nil is always a valid coding system pair.  In XEmacs it isn't.

Could you be more specific (which function, ...) and maybe provide a
patch making it compatible with XEmacs, please?

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



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

* Re: Bug in gnus/uudecode.el
  2005-03-22 11:48         ` Bug in gnus/uudecode.el (was: Possible bug in TRAMP?) Reiner Steib
@ 2005-03-22 14:55           ` Stephen J. Turnbull
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen J. Turnbull @ 2005-03-22 14:55 UTC (permalink / raw)
  Cc: xemacs-beta

>>>>> "Reiner" == Reiner Steib <reinersteib+gmane@imap.cc> writes:

    >> No, it's a bug in the uudecode library in Gnus, which assumes
    >> that 'nil is always a valid coding system pair.  In XEmacs it
    >> isn't.

    Reiner> Could you be more specific (which function, ...) and maybe
    Reiner> provide a patch making it compatible with XEmacs, please?

*sigh* I hate doing this---I don't have very good reason to suppose
this will work for anyone but me---but I don't have time to do it
right.  Here's a patch against current XEmacs package CVS, but it
should be pretty close for this ancient protocol.

Index: lisp/uudecode.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/gnus/lisp/uudecode.el,v
retrieving revision 1.3
diff -u -p -r1.3 uudecode.el
--- lisp/uudecode.el	28 Sep 2004 02:21:21 -0000	1.3
+++ lisp/uudecode.el	22 Mar 2005 14:51:09 -0000
@@ -99,7 +99,7 @@ (defun uudecode-decode-region-external
 			      (make-temp-name "uu")
 			      uudecode-temporary-file-directory))))
 	(let ((cdir default-directory)
-	      default-process-coding-system)
+	      (default-process-coding-system '(binary . binary)))
 	  (unwind-protect
 	      (with-temp-buffer
 		(insert "begin 600 " (file-name-nondirectory tempfile) "\n")



-- 
School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.



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

end of thread, other threads:[~2005-03-22 14:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <ad610dceaf0159c66422b9fff5ee85ce@siru.org>
     [not found] ` <r7iap69b.fsf@smtprelay.t-online.de>
     [not found]   ` <acoyp5xh.fsf@smtprelay.t-online.de>
     [not found]     ` <15e6f5b15d94c65b9e3a05c698edf628@siru.org>
     [not found]       ` <87is3k70im.fsf@tleepslib.sk.tsukuba.ac.jp>
2005-03-22 11:48         ` Bug in gnus/uudecode.el (was: Possible bug in TRAMP?) Reiner Steib
2005-03-22 14:55           ` Bug in gnus/uudecode.el Stephen J. Turnbull

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