From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: jasonr (Jason Rumney) @ f2s.com Newsgroups: gmane.emacs.help Subject: Re: GNU Emacs windows dired mode on binaries from cygwin Date: 02 Jun 2003 23:42:07 +0100 Organization: freedom2surf Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <8ar86crw59.fsf@sm.intel.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054593856 6218 80.91.224.249 (2 Jun 2003 22:44:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 2 Jun 2003 22:44:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 03 00:44:11 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19My2E-0001bZ-00 for ; Tue, 03 Jun 2003 00:44:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19My3M-0002Nx-Dw for gnu-help-gnu-emacs@m.gmane.org; Mon, 02 Jun 2003 18:45:20 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!usenet-fr.net!mephistopheles.news.clara.net!news.clara.net!news.freedom2surf.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Original-NNTP-Posting-Host: 195.137.103.251 Original-X-Trace: news.freedom2surf.net 1054593745 26322 195.137.103.251 (2 Jun 2003 22:42:25 GMT) Original-X-Complaints-To: abuse@freedom2surf.net Original-NNTP-Posting-Date: Mon, 2 Jun 2003 22:42:25 +0000 (UTC) X-Face: .PruP48JRO{Z6Rfz?YkZ>)zR+7!Up"`!1Cvq{fGd)@K; y]C:8r\CrJ^Mj\_U"9*WD2 I#zdK_#tw]y9*Y$?ge&b23Zt7zpknL{)F7Px4DVSY6b9dg[^VtkN-R_$YJ0cL''j[,}O#k{k| User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:114011 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10505 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10505 Balaji Venkataraman writes: > I'm not sure whether this is the right place for this question. I have > cygwin (which has it's own different installation of Emacs 21.2.x). I also > have Emacs 21.3 (the standalone M$ Windows version) installed *separately*. > > These are with the Windows version of Emacs only: > > 1. When I use dired mode to list /cygwin/usr/{bin|lib} (I've made sure this > dir exists etc.) - this is on Win2K - emacs does not display *any* > files. The dired buffer just has ./ and ../ listed. Is this expected > behavior. This is expected behaviour if all you did was made sure the directory exists. If you made sure that it contained some files, then you would expect to see more. Be careful how you "make sure". If you use cygwin to make sure, then you might be fooled by its mount points. > 2. Another related question. Can the Windows only version of emacs, execute > cygwin binaries. Yes. Despite what the cygwin documentation might lead you to beleive, most cygwin binaries work perfectly well outside of the cygwin environment, as long as cygwin.dll is on your path or in the same directory as the binary you are running. > In other words when I invoke "M-x shell" I want it to run > /usr/bin/bash.exe instead of cmd.exe It is usually safer to include the drive letter on Windows. Even if you only have one hard drive, you might occasionally want to open a file on a CDROM or floppy in Emacs, in which case the current drive might become something other than C:, and /usr/bin/bash.exe will refer to something other than c:/usr/bin/bash.exe