help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] EmacsW32, gnuserv, pathes in .emacs


From: Lennart Borgman
Subject: Re: [h-e-w] EmacsW32, gnuserv, pathes in .emacs
Date: Tue, 04 Jul 2006 17:26:01 +0200
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

address@hidden wrote:
dear emacisians,
probably a simple question, but i am an emacs beginner. i want to use emacs and emacs32w with windows xp. i have installed the package from http://ourcomments.org/Emacs/EmacsW32.html. now i want to open all files in one frame, so i added the following line to the .emacs-file: (load "gnuserv")
You should not do this when you use EmacsW32. Gnuserv will be loaded automatically. See the EmacsW32 documentation that comes with the installation. It is in Emacs menus under "Help - EmacsW32 Introduction" and also here: http://ourcomments.org/Emacs/EmacsW32Util.html

(setq gnuserv-frame t)
Use the variable `gnuserv-reuse-frame' instead. It can be customized. Try

   M-x customize-option RET gnuser-reuse-frame RET

(gnuserv-start)
You should not do this when you use EmacsW32.

(setq gnuserv-frame (selected-frame))
See above about gnuserv-reuse-frame.

if i am now starting emacs for example via doubleclicking a txt-file emacs reports the following error-message An error has occurred while loading `c:/home/.emacs':
File error: Searching for program, no such file or directory, gnuserv
so i copied the bin-folder from the EmacsW32-folder to the bin-folder of the emacs-folder an additionally the file gnuserv.el to the folder ..\emacs\site-lisp an so it works fine.
This error happens because you tried to do more than needed. This should all work out of the box if you use the installation program for EmacsW32 (or EmacsW32+Emacs).

now my beginner-question: 1) is there any possibility to write the pathes in the .emacs-file, so that i don't have to copy the files
See above.

2) generally i didn't find until yet good .emacs-files or tutorials or at least a list with all possible parameters for an emacs-file. maybe anybody could give some hints to me. the
Use Customize. It is in the menus under "Options - Customize Emacs".





reply via email to

[Prev in Thread] Current Thread [Next in Thread]