Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <007f01c00f69$62ea9f60$ed5f2240@cs.unc.edu>
From: "Jeffrey Juliano" <juliano@cs.unc.edu>
To: "cygwin mailing list" <cygwin@sourceware.cygnus.com>
Subject: NTemacs autodetect cygwin and understand cygwin mounts
Date: Sat, 26 Aug 2000 10:24:46 -0400
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_007C_01C00F47.DB3126A0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

------=_NextPart_000_007C_01C00F47.DB3126A0
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: 7bit

Recently I posted to the emacs newsgroups a pointer to a web page with my
emacs setup.  Using my setup, NTemacs autodetects if it's running under
cygwin and does some configuration.  The big thing is that it understands
cygwin mount points.

I've attached that announcement.

Last week, someone else posted some elisp that makes NTemacs understand
cygwin symlinks.  I haven't looked at that yet, but it's in the
gnu.emacs.sources newsgroup as a followup to my post of cygwin-mount.el.

Feedback welcome.  Many thanks to the original authors of cygwin-mount
(which I originally found on the cygwin mailing list).

enjoy,

-jeff


------=_NextPart_000_007C_01C00F47.DB3126A0
Content-Type: message/rfc822;
	name=".emacs autodetecting unix, cygwin_NT, non-cygwin_NT.nws"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=".emacs autodetecting unix, cygwin_NT, non-cygwin_NT.nws"

Path: unc-cs!juliano
From: juliano@cs.unc.edu (Jeffrey Juliano)
Newsgroups: gnu.emacs.sources,gnu.emacs.help
Subject: .emacs autodetecting unix, cygwin/NT, non-cygwin/NT
Followup-To: gnu.emacs.help
Date: 19 Aug 2000 17:28:15 GMT
Organization: Department of Computer Science, UNC-CH
Lines: 38
Message-ID: <slrn8pth44.aric.juliano@evans.cs.unc.edu>
NNTP-Posting-Host: evans.cs.unc.edu
X-Trace: ashe.cs.unc.edu 966706095 440 152.2.128.192 (19 Aug 2000 17:28:15 GMT)
X-Complaints-To: uncnews@cs.unc.edu
NNTP-Posting-Date: 19 Aug 2000 17:28:15 GMT
User-Agent: slrn/0.9.6.2 (IRIX64)
Xref: unc-cs gnu.emacs.sources:8318 gnu.emacs.help:79506

[crossposted to gnu.emacs.sources and gnu.emacs.help.
 Followups set to gnu.emacs.help.]

After seeing interest in my modified version of cygwin-mount, I've finally
made the time to post some more stuff that's useful for cross-platform
environments.  At

  http://www.cs.unc.edu/~juliano/my_emacs_files/

 (our web server seems to be messed up.  Please manually click on the file
  the-README-file.)

I've placed my .emacs file and my site-start.el file.  Together, they
address a few cross-platform issues.  Namely:

 * my .emacs file works on all three platforms as-is.  Same .emacs file
   everywhere.

 * Auto-detects if unix, cygwin, or non-cygwin windows, and does things
   appropriate to the particular platform.

 * Loads cygwin-mount only if emacs was run from cygwin.  Uses INFOPATH
   and cygwin-mount to set the info search path to find the cygwin info
   stuff.

 * Addresses the problem that NTemacs doesn't have a shared site-lisp
   directory on its default auto-list path.

 * Printing stuff, shell stuff, etc., tailored to the platform.

Feel free to use any of this.  Since my emacs setup is a moving target, I
thought it more appropriate to post a URL than the actual files.  I don't
claim that any of it is advanced, but I hope someone finds it useful
anyway.  I'm open to suggestions and criticism.

Enjoy,

-jeff

------=_NextPart_000_007C_01C00F47.DB3126A0
Content-Type: text/plain; charset=us-ascii

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
------=_NextPart_000_007C_01C00F47.DB3126A0--

