This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: New version of cygwin-mount.el


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]