From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/10599 Path: main.gmane.org!not-for-mail From: Fabrice POPINEAU Newsgroups: gmane.emacs.gnus.general Subject: Re: UUdecode and NTemacs Date: 07 Apr 1997 09:51:17 +0200 Sender: popineau@esemetz.ese-metz.fr Message-ID: References: <199704040859.KAA27807@esemetz.ese-metz.fr> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by SEMI MIME-Edit 0.75) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035150443 25302 80.91.224.250 (20 Oct 2002 21:47:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:47:23 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.5/8.8.5) with SMTP id BAA12701 for ; Mon, 7 Apr 1997 01:13:55 -0700 Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Mon, 7 Apr 1997 09:52:30 +0200 Original-Received: (qmail 17023 invoked by uid 504); 7 Apr 1997 07:49:59 -0000 Original-Received: (qmail 17020 invoked from network); 7 Apr 1997 07:49:58 -0000 Original-Received: from esemetz.ese-metz.fr (192.70.65.1) by claymore.vcinet.com with SMTP; 7 Apr 1997 07:49:56 -0000 Original-Received: from NEUROMANCER.ese-metz.fr (neuromancer.ese-metz.fr [193.48.224.95]) by esemetz.ese-metz.fr (8.7.1/8.7.2) with SMTP id JAA24514 for ; Mon, 7 Apr 1997 09:52:18 +0200 (MET DST) Original-To: ding@gnus.org X-Emacs: 19.34 In-Reply-To: Lars Magne Ingebrigtsen's message of 05 Apr 1997 12:49:31 +0200 Original-Lines: 67 X-Mailer: Gnus v5.4.36/Emacs 19.34 Xref: main.gmane.org gmane.emacs.gnus.general:10599 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:10599 >>>>> "Lars" == Lars Magne Ingebrigtsen writes: Lars> Stainless Steel Rat writes: >> On this Fabrice is correct; neither COMMAND.COM nor CMD.EXE >> (the two Windows command interpreters) support CD with a drive >> spec. That may be the explanation for what follows. >> 4DOS and 4NT do with the CDD command, but they are comercial >> add-on shells. Also, COMMAND.COM does not have a command >> separator character at all; not sure about CMD.EXE. 4DOS and >> 4NT do; it is "^". Lars> Well, I don't use GatesOS. I wonder if I will ever be forgiven for running it :-) Lars> Could someone mail me patches for these things? I tried to debug this some weeks ago and was puzzled. Last weekn, I thought that I had the solution, and I'm still puzzled. In fact, the standard code *almost* works, provided you have: (setq gnus-shell-command-separator "&") But I'm getting various errors after the first "X u" processing, like: - can't remove gnus-uu-work-dir - try to select destroyed buffer when decoding in another group, - ... What is really strange is that if I apply the following patch, everything is OK: --- gnus-uu.el~ Thu Mar 13 01:29:04 1997 +++ g:/local/emacs/site-lisp/gnus/lisp/gnus-uu.el Mon Apr 07 09:50:16 1997 @@ -1416,9 +1416,10 @@ (start-process "*uudecode*" (get-buffer-create gnus-uu-output-buffer-name) - shell-file-name shell-command-switch - (format "cd %s %s uudecode" gnus-uu-work-dir - gnus-shell-command-separator)))) +; shell-file-name shell-command-switch +; (format "cd %s %s uudecode" gnus-uu-work-dir +; gnus-shell-command-separator)))) + "uudecode"))) (cd cdir))) (set-process-sentinel gnus-uu-uudecode-process 'gnus-uu-uudecode-sentinel) May be this code should be conditionalized by the shell-file-name's value: (string-match "cmd\\.exe" shell-file-name) -- Fabrice POPINEAU ------------------------ e-mail: popineau@ese-metz.fr | "God is real ... Fabrice.POPINEAU@supelec.fr | voice-mail: +33 (0) 387764715 | ... unless integer ?" surface-mail: Supelec, 2 rue E. Belin, | F-57078 Metz Cedex 3 |