Am 24.11.2008 um 05:15 schrieb Anand S. Dhankshirur:
Actually i don't know anything about the lisp programming.
This .emacs file, i took it from some one else.
...
I just want the key bindings to work.
So throw away everything you copied, except these empty statements
that are, empty or not empty, always the last ones in a user init file
(custom-set-variables
;; custom-set-variables was added by Custom -- don't edit or
cut/paste it!
;; Your init file should contain only one such instance.
)
(custom-set-faces
;; custom-set-faces was added by Custom -- don't edit or
cut/paste it!
;; Your init file should contain only one such instance.
)
and just leave your key binding things in it. With time you'll add
this or that, then knowing what you're doing.
If invocation with --debug-init does not point to the error, then try
to sanely comment have of your init file. If the error persits, then
it's in the not yet commented region. So comment, sanely, half of this
half, re-launch. If the error went away, then it was in the comment
half. So un-comment this and comment the previously uncommented half.
Iterate until the error is the only uncommented statement.
Another way: start with your key bindings and the two default
statements and add one statement after other from the .emacs copy you
fetched somewhere.
--
Greetings
Pete
There is no worse tyranny than to force a man to pay for what he does
not want merely because you think it would be good for him.
– Robert Heinlein