delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/18/18:00:02

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <80575AFA5F0DD31197CE00805F650D7602CF25@wilber.adroit.com>
From: "Robinow, David" <drobinow AT dayton DOT adroit DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: RE: New version of cygwin-mount.el
Date: Fri, 18 May 2001 17:54:32 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id RAA09568


> -----Original Message-----
> From: klaus DOT berndl AT sdm DOT de [mailto:klaus DOT berndl AT sdm DOT de]
> Subject: AW: New version of cygwin-mount.el
> > Von: David Starks-Browning [mailto:starksb AT ebi DOT ac DOT uk]
> > On Friday 18 May 01, Christopher Faylor writes:
> > > >Would this be possible?
> > > Yep.  DJ's regtool program could read the registry. ...
> > With all do respect to Klaus's elisp, this seems to stray a bit far
> > from Cygwin's remit.  If an NT-emacs user wants 
> cygwin-mount.el, can't
> > they just download it, put it where it belongs, and edit 
> their .emacs
> > (or _emacs) file?  Why should we expect setup.exe (or whatever) to
> > automate this?
> > 
> > Or am I missing something?
> 
> Maybe you are right. For me it doesn´t matter. Christopher asked if
> it could make sense to add cygwin-mount.el to the cygwin standard
> setup. I have answered for who it can make sense, namely for all
> NTEmacs _and_ cygwin users (unfortunately there is no really good
> cygwin-port for GNU Emacs, like for XEmacs).
> IMHO most of NTEmacs _and_ cygwin user can profit from 
> cygwin-mount.el,
> so why not offer it with the cygwin setup if it is easy possible?
 Because NTEmacs is not a cygwin program. I don't think setup
should be messing with the emacs installation.
> 
> Ok, if it should added to cygwin setup it should be done in 
> the following
> manner (thanks also to Ehud Karni):
> 1. Read with DJ's regtool the value of
>    HKEY_LOCAL_MACHINE\Software\GNU\Emacs\EMACSLOADPATH
>    (which is a ; separated list of directories)
> 2. If the key exists (means NTEmacs is installed), then put
>    cygwin-mount.el in the first directory of this list.
>    If the key does not exist (means NTEmacs is not installed), then
>    do not install cygwin-mount.el, means simply ignore the 
> setup for it.
 I would like the idea of a way to install elisp files in the correct place.
I can never remember where to put them (it's easy on unix  --
/usr/local/share/emacs/site-lisp ) but this is an NT and emacs problem and
has nothing to do with cygwin.
 NTEmacs could use an elisp loader but I'd prefer it to be written in elisp
and delivered as part of NTEmacs. Something based on w32-registry.el might
be the answer. (see http://www.gnusoftware.com/Emacs/Registry/ )
 The advantage of this is it would be useful for emacs users who do not run
cygwin (there actually are some!)
> 
> Cygwin-setup could also add at the end of the users .emacs 
> file the following
> two lines:
>   (require 'cygwin-mount)
>   (cygwin-mount-activate)
> But i´m not sure if this a good idea and if this should be 
> done automatically???
 I think it's a bad idea.  Are you familiar of calc-private-autoloads ? It's
part of the emacs calc package.  The idea is that you load the package once
and if you decide you like it you execute an elisp statement which appends
the correct lines to your .emacs file.  Much better.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019