all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jasonr (Jason Rumney) @  f2s.com
Subject: Re: GNU Emacs windows dired mode on binaries from cygwin
Date: 02 Jun 2003 23:42:07 +0100	[thread overview]
Message-ID: <ur86c5cg0.fsf@jasonrumney.net> (raw)
In-Reply-To: 8ar86crw59.fsf@sm.intel.com

Balaji Venkataraman <bvenkata+nospam@sm.intel.com> 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

  reply	other threads:[~2003-06-02 22:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-02 21:45 GNU Emacs windows dired mode on binaries from cygwin Balaji Venkataraman
2003-06-02 22:42 ` Jason Rumney [this message]
2003-06-03  2:24   ` Peter Lee
2003-06-05 17:05 ` Kai Großjohann

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=ur86c5cg0.fsf@jasonrumney.net \
    --to=jasonr@f2s.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.