From owner-ntemacs-users@june  Mon Oct 21 06:51:18 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Mon" "21" "October" "1996" "09:16:56" "EDT" "David S. Rosinger" "dsrosing@fed3005.reston.ingr.com" nil "94" "RE: Trouble with Unusual File Names in Dired Mode (fwd)" "^From:" nil nil "10" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id GAA11352 for <voelker@june.cs.washington.edu>; Mon, 21 Oct 1996 06:51:17 -0700
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id GAA32784 for <voelker@joker.cs.washington.edu>; Mon, 21 Oct 1996 06:51:14 -0700
Received: from fed3005.reston.ingr.com (kat_pn.reston.ingr.com [129.135.242.4]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id GAA09730 for <ntemacs-users@cs.washington.edu>; Mon, 21 Oct 1996 06:11:13 -0700
Received: by fed3005.reston.ingr.com (5.65c/1.921207) 	id AA26862; Mon, 21 Oct 1996 09:16:58 -0400
Message-Id: <199610211316.AA26862@fed3005.reston.ingr.com>
Reply-To: dsrosing@ingr.com
X-Mailer: ELM [version 07.00.00.00 (2.3 PL11)]
From: dsrosing@fed3005.reston.ingr.com (David S. Rosinger)
To: ntemacs-users@cs.washington.edu
Subject: RE: Trouble with Unusual File Names in Dired Mode (fwd)
Date: Mon, 21 Oct 96 9:16:56 EDT

Forwarded message:
>From erich@MICROSOFT.com  Thu Oct 17 12:31:34 1996
Message-Id: <c=US%a=_%p=msft%l=RED-74-MSG-961017163134Z-48295@mail2.microsoft.com>
From: Eric Hanchrow <erich@MICROSOFT.com>
To: "'dsrosing@ingr.com'" <dsrosing@ingr.com>
Subject: RE: Trouble with Unusual File Names in Dired Mode
Date: Thu, 17 Oct 1996 09:31:34 -0700
X-Mailer:  Microsoft Exchange Server Internet Mail Connector Version 4.0.994.24
Encoding: 76 TEXT

Yup.  I noticed this too, and made a fix on my system that seems to
work.  I sent the fix in to the FSF, and I hope they include it in later
versions.

Here's the fix (it's a one-liner);

        --- ls-lisp.el        Tue Oct 08 20:41:26 1996
        +++ experimental-ls-lisp.el        Tue Oct 08 21:23:14 1996
        @@ -121,7 +121,15 @@
                            (function
                             (lambda (x)
        -                       ;; file-attributes("~bogus") bombs
        -                      (cons x (file-attributes
(expand-file-name x)))))
        +                      (cons x (file-attributes x))))
                            ;; inserting the call to directory-files
right here
                            ;; seems to stimulate an Emacs bug
                            ;; ILLEGAL DATATYPE (#o37777777727) or #o67


Note that this fix takes care of the problem involving files whose names
begin with a tilde; I doubt it'll fix the problem with the buffer whose
name begins with an asterisk.  You should report both problems to
bug-gnu-emacs@prep.ai.mit.edu.

>-----Original Message-----
>From:	dsrosing@fed3005.reston.ingr.com
>[SMTP:dsrosing@fed3005.reston.ingr.com]
>Sent:	Thursday, October 17, 1996 08:19 AM
>To:	ntemacs-users@cs.washington.edu
>Subject:	Trouble with Unusual File Names in Dired Mode
>
>BACKGROUND
>
>    I've just noticed some trouble with the handling of
>    certain files in Dired.  If the first character
>    of the filename is `~' or `*', some unusual
>    things happen.
>
>EXAMPLE #1
>
>    For example, suppose I create a file (with `notepad')
>    and name it `~junk.txt'.
>
>    1. Initially, the file does not show up in Dired.
>
>    2. If I run an Emacs shell, and then I refresh the Dired buffer,
>       the file suddenly shows up in Dired.
>
>    3. If I create a new buffer and name it `~junk2.txt',
>       the path attached to that buffer is in *another*
>       directory.
>
>EXAMPLE #2
>
>    Here's another related problem:
>
>    4. If I create a new buffer and name it `*junk.txt',
>       I cannot save it.
>
>SUMMARY
>
>    I am running version 19.33.1 as distributed from the
>    NT Emacs site on Windows NT 4.0 on a FAT file system.
>    Can anyone confirm this behavior and tell me if it is
>    unique to NT/95?
>
>    Andrew (Innes), is this issue possibly related to the
>    work you recently did to handle long file names?
>
>-- 
>+------------------------------------------------+
>| David S. Rosinger         /  dsrosing@ingr.com |
>| Intergraph Corporation   /   (703) 264-5737    |
>+------------------------------------------------+



-- 
+------------------------------------------------+
| David S. Rosinger         /  dsrosing@ingr.com |
| Intergraph Corporation   /   (703) 264-5737    |
+------------------------------------------------+

From owner-ntemacs-users@june  Thu Oct 17 08:48:14 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Thu" "17" "October" "1996" "11:19:05" "EDT" "David S. Rosinger" "dsrosing@fed3005.reston.ingr.com" nil "43" "Trouble with Unusual File Names in Dired Mode" "^From:" nil nil "10" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id IAA06330 for <voelker@june.cs.washington.edu>; Thu, 17 Oct 1996 08:48:14 -0700
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id IAA29393 for <voelker@joker.cs.washington.edu>; Thu, 17 Oct 1996 08:48:12 -0700
Received: from fed3005.reston.ingr.com (kat_pn.reston.ingr.com [129.135.242.4]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id IAA04035 for <ntemacs-users@cs.washington.edu>; Thu, 17 Oct 1996 08:13:27 -0700
Received: by fed3005.reston.ingr.com (5.65c/1.921207) 	id AA09764; Thu, 17 Oct 1996 11:19:07 -0400
Message-Id: <199610171519.AA09764@fed3005.reston.ingr.com>
Reply-To: dsrosing@ingr.com
X-Mailer: ELM [version 07.00.00.00 (2.3 PL11)]
From: dsrosing@fed3005.reston.ingr.com (David S. Rosinger)
To: ntemacs-users@cs.washington.edu
Subject: Trouble with Unusual File Names in Dired Mode
Date: Thu, 17 Oct 96 11:19:05 EDT

BACKGROUND

    I've just noticed some trouble with the handling of
    certain files in Dired.  If the first character
    of the filename is `~' or `*', some unusual
    things happen.

EXAMPLE #1

    For example, suppose I create a file (with `notepad')
    and name it `~junk.txt'.

    1. Initially, the file does not show up in Dired.

    2. If I run an Emacs shell, and then I refresh the Dired buffer,
       the file suddenly shows up in Dired.

    3. If I create a new buffer and name it `~junk2.txt',
       the path attached to that buffer is in *another*
       directory.

EXAMPLE #2

    Here's another related problem:

    4. If I create a new buffer and name it `*junk.txt',
       I cannot save it.

SUMMARY

    I am running version 19.33.1 as distributed from the
    NT Emacs site on Windows NT 4.0 on a FAT file system.
    Can anyone confirm this behavior and tell me if it is
    unique to NT/95?

    Andrew (Innes), is this issue possibly related to the
    work you recently did to handle long file names?

-- 
+------------------------------------------------+
| David S. Rosinger         /  dsrosing@ingr.com |
| Intergraph Corporation   /   (703) 264-5737    |
+------------------------------------------------+

From frank@goldrush.cs.ucla.edu  Tue Jul 30 17:25:21 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Tue" "30" "July" "1996" "17:27:03" "-0700" "Frank Fabbrocino" "frank@goldrush.cs.ucla.edu" nil "20" "Problem With Emacs Dirred Mode" "^From:" nil nil "7" nil nil nil nil]
	nil)
Received: from pelican.cs.ucla.edu (Pelican.CS.UCLA.EDU [131.179.128.17]) by june.cs.washington.edu (8.7.5/7.2ju) with SMTP id RAA07493 for <voelker@cs.washington.edu>; Tue, 30 Jul 1996 17:25:21 -0700
Received: from nitro.cs.ucla.edu by pelican.cs.ucla.edu (8.6.10/UCLACS-1.0) with ESMTP id RAA26815 for <voelker@cs.washington.edu>; Tue, 30 Jul 1996 17:21:09 -0700
Received: from goldrush.cs.ucla.edu by nitro.cs.ucla.edu (SMI-8.6/SMI-SVR4) 	id RAA10439; Tue, 30 Jul 1996 17:27:58 -0700
Received: by goldrush.cs.ucla.edu (SMI-8.6/SMI-SVR4) 	id RAA02579; Tue, 30 Jul 1996 17:27:03 -0700
Message-Id: <199607310027.RAA02579@goldrush.cs.ucla.edu>
From: Frank Fabbrocino <frank@goldrush.cs.ucla.edu>
To: voelker@cs.washington.edu
Subject: Problem With Emacs Dirred Mode
Date: Tue, 30 Jul 1996 17:27:03 -0700

I am having a problem with emacs v19.31 on Windows NT.  When I run dirred
mode if I select a directory name with "f" or by pressing the enter key
when the cursor is over the directory name, the name that emacs tries to
open is the directory name minus the last letter.  For example, let's say
that the current directory contains two directories "foo" and "bar".  If I
try to open "foo", emacs responds by attempting to open "fo".  If I try
"bar", emacs does "ba" instead.  However, it works if the name is a file
and not a directory.  Do you have any ideas as how to fix this?  Thanks!

Later,
Frank

----------------------------------------------------------------------------
Frank Fabbrocino                      | OK, I admit it: My girlfriend's just
Data Mining Laboratory                | an object to me.  Unfortunately
Computer Science Department           | there is some information hiding,
University of California Los Angeles  | but thankfully, she's fairly 
frank@cs.ucla.edu                     | encapsulated, nicely modular, and 
http://nugget.cs.ucla.edu:8001/~frank | has a very well defined interface!
----------------------------------------------------------------------------

From owner-ntemacs-users@june  Wed Jul 24 19:25:48 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Wed" "24" "July" "1996" "21:37:52" "-0400" "Peter Blicher" "blicher@research.nj.nec.com" nil "29" "dired and ~ interaction lossage" "^From:" nil nil "7" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.5/7.2ju) with SMTP id TAA19508 for <voelker@june.cs.washington.edu>; Wed, 24 Jul 1996 19:25:47 -0700
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id TAA40556 for <voelker@joker.cs.washington.edu>; Wed, 24 Jul 1996 19:25:37 -0700
Received: from zingo.nj.nec.com (zingo.nj.nec.com [138.15.150.106]) by june.cs.washington.edu (8.7.5/7.2ju) with ESMTP id SAA15498 for <ntemacs-users@cs.washington.edu>; Wed, 24 Jul 1996 18:38:00 -0700
Received: from malvern (malvern [138.15.162.8]) by zingo.nj.nec.com (8.7.4/8.7.3) with SMTP id VAA29219 for <ntemacs-users@cs.washington.edu>; Wed, 24 Jul 1996 21:37:59 -0400 (EDT)
Received:  by malvern (940816.SGI.8.6.9/cliff's joyful mailer #2) 	id VAA02771(malvern); Wed, 24 Jul 1996 21:37:52 -0400
Message-Id: <199607250137.VAA02771@malvern>
From: Peter Blicher <blicher@research.nj.nec.com>
To: ntemacs-users@cs.washington.edu
Subject: dired and ~ interaction lossage
Date: Wed, 24 Jul 1996 21:37:52 -0400

I had the impression that I saw this on the mailing list at some point, but
I can't find it in the archives.

If I create a dired of my home directory (which is C:/) by doing dired on
"~/", and then to examine ('e') a file or dir in that dired (i.e. something
in C:/*.*), the attempt fails because for some reason dired tries to use
the current directory (i.e. working directory) rather than C:/ to look in
for the file that dired is pointing at.

However, if I run dired asking for "C:/" (rather than "~/"), then my
attempts to examine from that dired buffer are successful.  However, trying
to come back up via examining ".." get me back to a dired invoked on "~/"
again, which exhibits the pathological behavior.

I've been trying to figure out what expand-file-name really does, but I
tire of reading obscure c code.

This is on nt 3.51, sp4, ntemacs 19.31.

Any suggestions?

Thanks.

--peter

-- 
A. Peter Blicher	NEC Research Institute
609-951-2716		4 Independence Way
609-951-2488 fax	Princeton, NJ  08540

From 72144.3704@CompuServe.COM  Sun Jul 21 05:40:22 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "" "21" "July" "1996" "08:37:51" "EDT" "Yigal Hochberg" "72144.3704@compuserve.com" nil "9" "zip program in ntemacs" "^From:" nil nil "7" nil nil nil nil]
	nil)
Received: from arl-img-5.compuserve.com (arl-img-5.compuserve.com [149.174.217.135]) by june.cs.washington.edu (8.7.5/7.2ju) with SMTP id FAA29970 for <voelker@cs.washington.edu>; Sun, 21 Jul 1996 05:40:22 -0700
Received: by arl-img-5.compuserve.com (8.6.10/5.950515) 	id IAA09009; Sun, 21 Jul 1996 08:40:21 -0400
Message-ID: <960721123751_72144.3704_IHC45-1@CompuServe.COM>
From: Yigal Hochberg <72144.3704@CompuServe.COM>
To: Geoff Voelker <voelker@cs.washington.edu>
Subject: zip program in ntemacs
Date: 21 Jul 96 08:37:51 EDT


Geoff,

In dired when viewing zip file, dired shows you the content ok.
When trying to view a specific file it is looking for pkunzip program.

I suggest to change the default program for nt/w95 to unzip.

- Yigal

From owner-ntemacs-users@june  Tue Nov 19 08:04:12 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Tue" "19" "November" "1996" "15:11:27" "GMT" "Andrew Innes" "andrewi@harlequin.co.uk" nil "31" "Re: Trouble with Unusual File Names in Dired Mode" "^From:" nil nil "11" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.8.3/7.2ju) with SMTP id IAA13405 for <voelker@june.cs.washington.edu>; Tue, 19 Nov 1996 08:04:11 -0800
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id IAA28467 for <voelker@joker.cs.washington.edu>; Tue, 19 Nov 1996 08:04:10 -0800
Received: from holly.cam.harlequin.co.uk (holly.cam.harlequin.co.uk [193.128.4.58]) by june.cs.washington.edu (8.8.3/7.2ju) with SMTP id HAA11053 for <ntemacs-users@cs.washington.edu>; Tue, 19 Nov 1996 07:11:57 -0800
Received: from propos.long.harlequin.co.uk by holly.cam.harlequin.co.uk; Tue, 19 Nov 1996 15:11:29 GMT
Received: from elan.long.harlequin.co.uk (elan [193.128.93.78]) by propos.long.harlequin.co.uk (8.6.12/8.6.12) with SMTP id PAA25575; Tue, 19 Nov 1996 15:11:27 GMT
Message-Id: <199611191511.PAA25575@propos.long.harlequin.co.uk>
In-Reply-To: <199610171519.AA09764@fed3005.reston.ingr.com> 	(dsrosing@fed3005.reston.ingr.com)
From: Andrew Innes <andrewi@harlequin.co.uk>
To: dsrosing@ingr.com
Cc: ntemacs-users@cs.washington.edu
Subject: Re: Trouble with Unusual File Names in Dired Mode
Date: Tue, 19 Nov 1996 15:11:27 GMT

[Trawling through old mail...]

On Thu, 17 Oct 96 11:19:05 EDT, dsrosing@fed3005.reston.ingr.com (David S. Rosinger) said:
>BACKGROUND
>
>    I've just noticed some trouble with the handling of
>    certain files in Dired.  If the first character
>    of the filename is `~' or `*', some unusual
>    things happen.

 [ .. ]

>    I am running version 19.33.1 as distributed from the
>    NT Emacs site on Windows NT 4.0 on a FAT file system.
>    Can anyone confirm this behavior and tell me if it is
>    unique to NT/95?
>
>    Andrew (Innes), is this issue possibly related to the
>    work you recently did to handle long file names?

There are two separate problems here: ~ at the start of a pathname
element has special meaning to Emacs - it is the syntax for referring to
home directories by user name.  It should be possible to escape the
tilde to override this interpretation, but this doesn't work on NT (or
indeed on Unix either).  This is a known problem with `expand-file-name'
which I've been asked to fix at some point.

The second problem is simply that '*' is an illegal character in
filenames on NT and Windows.

AndrewI

From owner-ntemacs-users@trout  Mon Mar 17 11:50:01 1997
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Sun" "16" "March" "1997" "19:51:05" "-0600" "TK Harris" "thomas@netdoor.com" nil "15" "dired-do-copy wierdness" "^From:" nil nil "3" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with SMTP id LAA23523 for <voelker@june.cs.washington.edu>; Mon, 17 Mar 1997 11:29:18 -0800
Received: from trout.cs.washington.edu (trout.cs.washington.edu [128.95.1.178]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id LAA16935 for <voelker@joker.cs.washington.edu>; Mon, 17 Mar 1997 11:31:14 -0800
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by trout.cs.washington.edu (8.8.5+CS/7.2ws+) with ESMTP id RAA14572 for <ntemacs-users@trout.cs.washington.edu>; Sun, 16 Mar 1997 17:51:01 -0800 (PST)
Received: from pike.netdoor.com (pike.netdoor.com [208.137.128.6]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with ESMTP id RAA24600 for <ntemacs-users@cs.washington.edu>; Sun, 16 Mar 1997 17:51:00 -0800
Received: from scimitar.netdoor.com (scimitar.netdoor.com [208.137.128.4])           by pike.netdoor.com (8.8.4/8.8.4) with SMTP 	  id TAA00521; Sun, 16 Mar 1997 19:50:52 -0600 (CST)
Message-ID: <Pine.WNT.3.96.970316184820.132U-100000@scimitar.netdoor.com>
X-X-Sender: thomas@pike.netdoor.com
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
From: TK Harris <thomas@netdoor.com>
To: ntemacs-users@cs.washington.edu, ange@hplb.hpl.hp.com
Subject: dired-do-copy wierdness
Date: Sun, 16 Mar 1997 19:51:05 -0600 (Central Standard Time)


I've noticed that when doing a dired-do-copy I will get the bogus error

c:/WINNT/Profiles/thomas/Desktop/pgp262s.zip: not in directory tree growing at /WINNT/Profiles/thomas/Desktop/

but *only* after an ange-ftp session.  The file path and filename are not
important, its just that when doing a dired-do-copy (and presumably other
dired-do's) on a local files after an ange-ftp session this error crops
up. 

Any clues?

TK Harris, IT Manager                      (601) 969-1434
NetDoor -> http://www.netdoor.com     FAX: (601) 969-3838


From owner-ntemacs-users@trout  Mon Mar 17 11:06:08 1997
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Mon" "17" "March" "1997" "09:36:49" "-0500" "Peter Breton" "pbreton@volte.i-kinetics.com" nil "15" "Re: dired-do-copy wierdness" "^From:" nil nil "3" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with SMTP id LAA21163 for <voelker@june.cs.washington.edu>; Mon, 17 Mar 1997 11:06:08 -0800
Received: from trout.cs.washington.edu (trout.cs.washington.edu [128.95.1.178]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id LAA16352 for <voelker@joker.cs.washington.edu>; Mon, 17 Mar 1997 11:08:03 -0800
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by trout.cs.washington.edu (8.8.5+CS/7.2ws+) with ESMTP id GAA00286 for <ntemacs-users@trout.cs.washington.edu>; Mon, 17 Mar 1997 06:39:27 -0800 (PST)
Received: from ns.i-kinetics.com (ns.i-kinetics.com [205.181.32.10]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with SMTP id GAA01098 for <ntemacs-users@cs.washington.edu>; Mon, 17 Mar 1997 06:39:25 -0800
Received: from i-kinetics.com (dirac.i-kinetics.com [192.31.81.157]) by ns.i-kinetics.com (8.6.12/8.6.9) with SMTP id KAA28495; Mon, 17 Mar 1997 10:29:08 -0500
Received: from volte.i-kinetics.com by i-kinetics.com (4.1/SMI-4.1/UUNET) 	id AA13576; Mon, 17 Mar 97 09:36:52 EST
Received: by volte.i-kinetics.com (SMI-8.6/SMI-SVR4) 	id JAA14265; Mon, 17 Mar 1997 09:36:49 -0500
Message-Id: <199703171436.JAA14265@volte.i-kinetics.com>
In-Reply-To: <Pine.WNT.3.96.970316184820.132U-100000@scimitar.netdoor.com>
References: <Pine.WNT.3.96.970316184820.132U-100000@scimitar.netdoor.com>
Reply-To: pbreton@i-kinetics.com
Mime-Version: 1.0 (generated by tm-edit 7.102)
Content-Type: text/plain; charset=US-ASCII
From: Peter Breton <pbreton@volte.i-kinetics.com>
To: TK Harris <thomas@netdoor.com>
Cc: ntemacs-users@cs.washington.edu, ange@hplb.hpl.hp.com
Subject: Re: dired-do-copy wierdness
Date: Mon, 17 Mar 1997 09:36:49 -0500


This message comes from the function dired-make-relative. This function
expects all the files in a tree to have a common root (ie, a substring)
and the drive letters confuse it. You can use the following to make it 
go away:

(defadvice dired-make-relative (before set-no-error activate)
   "For locate mode and Windows, don't return errors"
   (if (memq system-type (list 'windows-nt 'ms-dos))
       (ad-set-arg 2 t)
     ))

This should be fixed in the next version of Emacs.

			Peter

