Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emacs script
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
henning_bravo
Apprentice
Apprentice


Joined: 11 Apr 2007
Posts: 197

PostPosted: Wed Nov 28, 2007 10:36 pm    Post subject: Emacs script Reply with quote

Hello!

I'm trying out Emacs. I have a problem with a script I'm trying to use. The script is found here: http://groups.google.com/group/gnu.emacs.sources/browse_thread/thread/2d5e8e101df6e502?hl=en

I have added it to a folder and can use it with M-x light-symbol-mode. But what should I add to ~/.emacs so that it will be turned on automatically each time I start Emacs?

Also. I get this error every time I start Emacs even though the script works:
Code:
An error has occurred while loading `/home/bravo/.emacs':

error: Required feature `light-symbol' was not provided

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.


Thanks!
Back to top
View user's profile Send private message
smitty_one_each
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2004
Posts: 94
Location: Right coast, halfway up

PostPosted: Thu Nov 29, 2007 2:33 pm    Post subject: Re: Emacs script Reply with quote

henning_bravo wrote:
Hello!

I'm trying out Emacs. I have a problem with a script I'm trying to use. The script is found here: http://groups.google.com/group/gnu.emacs.sources/browse_thread/thread/2d5e8e101df6e502?hl=en

I have added it to a folder


I presume this folder is within the list owned by your load-path variable?

henning_bravo wrote:

and can use it with M-x light-symbol-mode. But what should I add to ~/.emacs so that it will be turned on automatically each time I start Emacs?


(load file /path/to/file/goes/here)
(light-symbol-mode)

It is beyond the scope of my elisp-fu, but I think that research on (require '[something]) and (provide '[something]) as well as the autoload magic might help show the bigger picture.

henning_bravo wrote:

Also. I get this error every time I start Emacs even though the script works:
Code:
An error has occurred while loading `/home/bravo/.emacs':

error: Required feature `light-symbol' was not provided

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.


Thanks!


Do the --debug-init thing, or, alternately, brows your *Messages* buffer for good justice.

Go, emacs. It is the way of life.
_________________
I'm just looking for clues at the scene of the crime.--Walsh
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum