unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Anand S. Dhankshirur" <asd@cdotb.ernet.in>
To: Peter Dyballa <Peter_Dyballa@Web.DE>,
	GnuEmacs Help <help-gnu-emacs@gnu.org>
Subject: Re: .emacs is not getting executed
Date: Mon, 24 Nov 2008 16:54:53 +0530	[thread overview]
Message-ID: <492A8F05.1050803@cdotb.ernet.in> (raw)
In-Reply-To: <B997A29F-BB22-4AC6-9DAD-AD3060591232@Web.DE>

Hi,
I retained only the key bindings and last two statements.
The key bindings are working!! :-)

Peter Dyballa wrote:
>
> 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 11:24 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
2008-11-24 11:24           ` Anand S. Dhankshirur [this message]

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=492A8F05.1050803@cdotb.ernet.in \
    --to=asd@cdotb.ernet.in \
    --cc=Peter_Dyballa@Web.DE \
    --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).