From xemacs-m  Tue Aug  5 09:32:16 1997
Received: from newman.aventail.com (root@newman.aventail.com [199.238.236.1])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id JAA13356
	for <xemacs-beta@xemacs.org>; Tue, 5 Aug 1997 09:32:15 -0500 (CDT)
Received: from kramer.in.aventail.com (wmperry@kramer.in.aventail.com [192.168.1.12])
	by newman.aventail.com (8.8.5/8.8.5) with ESMTP id HAA04631
	for <xemacs-beta@xemacs.org>; Tue, 5 Aug 1997 07:32:15 -0700 (PDT)
Received: (from wmperry@localhost)
	by kramer.in.aventail.com (8.8.5/8.8.5) id HAA06022;
	Tue, 5 Aug 1997 07:31:35 -0700
Date: Tue, 5 Aug 1997 07:31:35 -0700
Message-Id: <199708051431.HAA06022@kramer.in.aventail.com>
From: "William M. Perry" <wmperry@aventail.com>
To: xemacs-beta@xemacs.org
Subject: PATCH - dired #%!@!age
Errors-to: wmperry@aventail.com
Reply-to: wmperry@aventail.com
X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7</SYF`{vYQ(&RI1&EiH[FvT;J}@f!4kfz
 x_!Y#=y{Uuj9GvUi=cPuajQ(Z42R[wE@{G,sn$qGr5g/wnb*"*ktI+,CD}1Z'wxrM2ag-r0p5I6\nA
 [WJopW_J.WY;

I'm not sure who put in the 'quick fix' to get dired working, but it
completely breaks non-windows systems.

Here's a quick fix to get around the other quick fix.  Could someone please 
fix this for real (by getting rid of the carriage return crap)?

-Bill P.

*** dired.el~	Fri Aug  1 06:38:51 1997
--- dired.el	Tue Aug  5 07:29:44 1997
***************
*** 2957,2963 ****
         ;; We seem to be picking up the carriage-return at the end of the
         ;; line, so here's a quick fix to get dired working.
         (if (eq system-type 'windows-nt)
!          (setq p2 (1- p2)))
         (setq file (buffer-substring p1 p2))
         ;; Check if ls quoted the names, and unquote them.
         ;; Using read to unquote is much faster than substituting
--- 2957,2964 ----
         ;; We seem to be picking up the carriage-return at the end of the
         ;; line, so here's a quick fix to get dired working.
         (if (eq system-type 'windows-nt)
! 	   (setq p2 (1- p2))
! 	 t)
         (setq file (buffer-substring p1 p2))
         ;; Check if ls quoted the names, and unquote them.
         ;; Using read to unquote is much faster than substituting

