[lug] Re: [lug} scrollmouse & xemacs
Tkil
tkil at scrye.com
Fri Sep 6 11:38:50 MDT 2002
>>>>> "Todd" == Todd Ruskell <truskell at Mines.EDU> writes:
Todd> Thanks for all your responses.
Todd> I finally resorted to tkil's
Todd> (require 'mwheel)
Todd> (mwheel-install)
Todd> but I had to place it in ~/.xemacs/custom.el , which is loaded
Todd> by ~/.emacs
Todd> No other locations for those commands seemed to work.
Weird. I'd also expect them to work if you put it into
~/.xemacs/init.el ... not that big a deal, but I fear that using any
emacs customization features might cause custom.el to be rewritten,
overwriting any manual additions to that file.
You might have to create init.el on your own. XEmacs, when it
converted my .emacs file, replaced it with:
| ;;; XEmacs backwards compatibility file
| (setq user-init-file
| (expand-file-name "init.el"
| (expand-file-name ".xemacs" "~")))
| (setq custom-file
| (expand-file-name "custom.el"
| (expand-file-name ".xemacs" "~")))
|
| (load-file user-init-file)
| (load-file custom-file)
You shouldn't need to do this manually.
The documentation seems to indicate that init.el is the preferred
file, anyway. See node "(xemacs)Init File":
When you start Emacs, it normally loads either `.xemacs/init.el' or
the file `.emacs' (whichever comes first) in your home directory.
This file, if it exists, should contain Lisp code. It is called
your initialization file or "init file". Use the command line
switch `-q' to tell Emacs whether to load an init file (*note
Entering Emacs::). Use the command line switch `-user-init-file'
(*note Command Switches::) to tell Emacs to load a different file
instead of `~/.xemacs/init.el'/`~/.emacs'.
t.
More information about the LUG
mailing list