unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: asd@cdotb.ernet.in
Cc: GnuEmacs Help <help-gnu-emacs@gnu.org>
Subject: Re: .emacs is not getting executed
Date: Mon, 24 Nov 2008 11:18:39 +0100	[thread overview]
Message-ID: <B997A29F-BB22-4AC6-9DAD-AD3060591232@Web.DE> (raw)
In-Reply-To: <492A2A44.9060506@cdotb.ernet.in>


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







  reply	other threads:[~2008-11-24 10:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-21  3:52 .emacs is not getting executed Anand S. Dhankshirur
     [not found] ` <347eb82e0811202004u4d7a73dah544be3e1db40f93d@mail.gmail.com>
2008-11-21  4:24   ` Anand S. Dhankshirur
2008-11-21  5:44     ` liouys
2008-11-21 10:01 ` Peter Dyballa
     [not found]   ` <49269874.2090905@cdotb.ernet.in>
     [not found]     ` <46DE244D-D339-4F49-9320-E09E6A2372DF@Web.DE>
2008-11-24  4:15       ` Anand S. Dhankshirur
2008-11-24 10:18         ` Peter Dyballa [this message]
2008-11-24 11:24           ` Anand S. Dhankshirur

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B997A29F-BB22-4AC6-9DAD-AD3060591232@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=asd@cdotb.ernet.in \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).