Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.3.11i In-Reply-To: ; 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