delorie.com/archives/browse.cgi | search |
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 |
Date: | Fri, 18 May 2001 14:20:05 -0400 |
From: | Christopher Faylor <cgf AT redhat DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: New version of cygwin-mount.el |
Message-ID: | <20010518142005.C7618@redhat.com> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <C9A98ED35114D31197D000805FEA668E027B1DAB AT mucexch2 DOT muc DOT sdm DOT de> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.3.11i |
In-Reply-To: | <C9A98ED35114D31197D000805FEA668E027B1DAB@mucexch2.muc.sdm.de>; from klaus.berndl@sdm.de on Fri, May 18, 2001 at 05:39:46PM +0200 |
On Fri, May 18, 2001 at 05:39:46PM +0200, klaus DOT berndl AT sdm DOT de wrote: >>It should be possible. setup could extract the files to a temporary >>location and then run a script which would move the file to the correct >>location. The problem is figuring out the correct location, though. >>How would we do that? > >This should be not so difficult: NTEmacs stores in the Registry of NT >(Win9X, Millenium analogous) under the key >"HKEY_LOCAL_MACHINE/Software/GNU/Emacs/emacs_dir" the root directory >where NTEmacs is installed, e.g. D:\Programs\Editor\Emacs. The >cygwin-setup-script could read this directory and add "site-lisp" and >then store cygwin-mount.el in the resulting directory. If the >"site-lisp§ subdir does not exist it can savely create it. Example: >Root-directory of NTEmacs from Registry: D:\Programs\Editor\Emacs Then >the script should store cygwin-mount.el in >D:\Programs\Editor\Emacs\site-lisp. > >Would this be possible? Yep. DJ's regtool program could read the registry. The problem is what to do if the person isn't using NTemacs, though? Should we put the file in a temporary directory? Delete it? I dunno. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |