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
Date: Fri, 18 May 2001 14:20:05 -0400
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: New version of cygwin-mount.el
Message-ID: <20010518142005.C7618@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <C9A98ED35114D31197D000805FEA668E027B1DAB@mucexch2.muc.sdm.de>
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: <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.berndl@sdm.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

