From: Andrew Innes <andrewi@harlequin.co.uk>
Cc: ding@gnus.org, ntemacs-users@cs.washington.edu
Subject: Re: UUdecode and NTemacs
Date: Tue, 8 Apr 1997 19:05:35 +0100 (BST) [thread overview]
Message-ID: <199704081805.TAA20079@propos.long.harlequin.co.uk> (raw)
In-Reply-To: <199704040859.KAA27807@esemetz.ese-metz.fr> (message from Fabrice POPINEAU on Fri, 4 Apr 1997 10:59:10 +0200 (MET DST))
On Fri, 4 Apr 1997 10:59:10 +0200 (MET DST), Fabrice POPINEAU <popineau@esemetz.ese-metz.fr> said:
>Hi,
>
>The following code in gnus-uu.el (5.4.36) needs some modification to
>work under NTemacs:
>
> ;; Start a new uudecoding process.
> (let ((cdir default-directory))
> (unwind-protect
> (progn
> (cd gnus-uu-work-dir)
> (setq gnus-uu-uudecode-process
> (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))))
> "uudecode")))
> (cd cdir)))
>
>There are 2 problems:
>
>- gnus-uu-work-dir is "f:/tmp/gnusa00195" and if your shell is "cmd",
>it can't 'cd' to some path with '/', it needs '\'
You can solve this by binding directory-sep-char to '\' while calling
expand-file-name; this will give the correct format on Windows 95/NT.
>- anyway, I'm not sure NTemacs can accept "cd f:\\tmp\\gnusa00195 &&
>uudecode" as a program to start.
If you are "on" drive F at the time, then this will work on Windows NT.
It won't work on Windows 95, using the standard shell.
>As there was a (cd gnus-uu-work-dir) just before, is it useful to keep
>the "cd tmpdir &&" into the starting process ?
It should be a no-op, I think. If the original code above works without
that, then you have your solution.
AndrewI
--
Andrew Innes Software Developer, Electronic Publishing
Harlequin Limited, Longstanton House, Longstanton, Cambridge CB4 5BU, U.K.
Tel: +44 1954 785468 Fax: +44 1954 785444 WWW: http://www.harlequin.com
prev parent reply other threads:[~1997-04-08 18:05 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-04-04 8:59 Fabrice POPINEAU
1997-04-04 19:32 ` Lars Magne Ingebrigtsen
1997-04-04 23:08 ` Dewey M. Sasser
1997-04-04 23:17 ` Stainless Steel Rat
1997-04-05 10:49 ` Lars Magne Ingebrigtsen
1997-04-07 7:51 ` Fabrice POPINEAU
1997-04-07 16:42 ` Stainless Steel Rat
1997-04-07 8:01 ` Andy Eskilsson
1997-04-07 16:45 ` Stainless Steel Rat
1997-04-07 18:30 ` Scott Blachowicz
1997-04-07 19:00 ` Stainless Steel Rat
1997-04-07 19:41 ` Scott Blachowicz
1997-04-07 19:58 ` Richard Hoskins
1997-04-08 18:05 ` Andrew Innes [this message]
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=199704081805.TAA20079@propos.long.harlequin.co.uk \
--to=andrewi@harlequin.co.uk \
--cc=ding@gnus.org \
--cc=ntemacs-users@cs.washington.edu \
/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).