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 Message-Id: <5.1.0.14.0.20010620164744.02c379b0@mail> X-Sender: superbiskit AT mail X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 20 Jun 2001 16:48:34 -0400 To: klaus DOT berndl AT sdm DOT de, starksb AT ebi DOT ac DOT uk, cygwin AT cygwin DOT com From: "David A. Cobb" Subject: Re: AW: New version of cygwin-mount.el In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id AAA15168 Is not the place for this discussion the NTEmacs community / mail-list? IMHO, it's an emacs problem not a cygwin problem. At 5/18/01 04:25 PM (Friday), klaus DOT berndl AT sdm DOT de wrote: > > -----Ursprüngliche Nachricht----- > > Von: David Starks-Browning [mailto:starksb AT ebi DOT ac DOT uk] > > Gesendet am: Freitag, 18. Mai 2001 21:35 > > An: cygwin AT cygwin DOT com > > Betreff: Re: New version of cygwin-mount.el > > > > On Friday 18 May 01, Christopher Faylor writes: > > > On Fri, May 18, 2001 at 05:39:46PM +0200, klaus DOT berndl AT sdm DOT de wrote: > > > >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. > > > > 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? > >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. > >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??? > > > >Klaus > >-- >Want to unsubscribe from this list? >Check out: http://cygwin.com/ml/#unsubscribe-simple David A. Cobb, Software Engineer, Public Access Advocate, All around nice guy. Get my PGP key at : Fingerprint=0x{6E3E_DB8C_2E8C_4248_62B2_FE29_08EE_CF0A_3629_E954} "By God's Grace I am a Christian man, by my actions a great sinner." --The Way of a Pilgrim, R. M. French [tr.] <---.----!----.----!----.----!----.----!----.----!----.----!----.----> -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple