all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Problem with load-libraries on Emacs (Win98)
@ 2004-01-09 16:44 Rajat Jain
  0 siblings, 0 replies; 2+ messages in thread
From: Rajat Jain @ 2004-01-09 16:44 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 973 bytes --]

I have used Emacs on Win2000 in the past and recently installed it on my Win98 system. The version is Emacs-20.7. On Win2000 version, I had defined some libraries (like my-keyboard.el) which I had saved in "site-lisp" directory under Emacs. These libraries, which defined some customized values for font, color, keyboard functions etc, were then "called" from the .emacs file at startup.

When I installed Emacs-20.7 on Win98, I copied the Win2000 .emacs to my "HOME" directory. Since I did not see  a site-lisp directory, I copied all my library files (.el) to C:\Emacs\lisp. I also tried to create a "site-lisp" directory parallel to lisp directory, but then Emacs would not even start.

However, now when I start emacs, it gives an error like "Error in init file: Symbol's function definition is void: global-hl-line-mode" and none of my customized libraries get loaded.

I can't figure out the reason. If anyone can shed some light on this, I would appreciate it.

[-- Attachment #1.2: Type: text/html, Size: 1662 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem with load-libraries on Emacs (Win98)
       [not found] <mailman.311.1073671522.928.help-gnu-emacs@gnu.org>
@ 2004-01-12 16:25 ` kgold
  0 siblings, 0 replies; 2+ messages in thread
From: kgold @ 2004-01-12 16:25 UTC (permalink / raw)


"Rajat Jain" <rjain@doi.state.nv.us> writes:
> 
> I have used Emacs on Win2000 in the past and recently installed it on my =
> Win98 system. The version is Emacs-20.7. On Win2000 version, I had =
> defined some libraries (like my-keyboard.el) which I had saved in =
> "site-lisp" directory under Emacs. These libraries, which defined some =
> customized values for font, color, keyboard functions etc, were then =
> "called" from the .emacs file at startup.
> 
> When I installed Emacs-20.7 on Win98, I copied the Win2000 .emacs to my =
> "HOME" directory. Since I did not see  a site-lisp directory, I copied =
> all my library files (.el) to C:\Emacs\lisp. I also tried to create a =
> "site-lisp" directory parallel to lisp directory, but then Emacs would =
> not even start.
> 
> However, now when I start emacs, it gives an error like "Error in init =
> file: Symbol's function definition is void: global-hl-line-mode" and =
> none of my customized libraries get loaded.
> 
> I can't figure out the reason. If anyone can shed some light on this, I =
> would appreciate it.

To load a library from within .emacs, I do this:

(load "~/.emacs.common.el")

To put a directory in the load path:

(setq load-path
      (append '("e:/emacs") load-path))

In your case, I think you want to put in .emacs:

(load "C:/Emacs/lisp/my-keyboard.el")

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-12 16:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.311.1073671522.928.help-gnu-emacs@gnu.org>
2004-01-12 16:25 ` Problem with load-libraries on Emacs (Win98) kgold
2004-01-09 16:44 Rajat Jain

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.