From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: .emacs is not getting executed Date: Mon, 24 Nov 2008 11:18:39 +0100 Message-ID: References: <4926308D.9030506@cdotb.ernet.in> <016CC2AD-2FD3-4A06-BFA5-354C52A856A7@Web.DE> <49269874.2090905@cdotb.ernet.in> <46DE244D-D339-4F49-9320-E09E6A2372DF@Web.DE> <492A2A44.9060506@cdotb.ernet.in> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1227545979 5354 80.91.229.12 (24 Nov 2008 16:59:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Nov 2008 16:59:39 +0000 (UTC) Cc: GnuEmacs Help To: asd@cdotb.ernet.in Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 24 18:00:41 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L4enL-00080h-9A for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Nov 2008 18:00:19 +0100 Original-Received: from localhost ([127.0.0.1]:50453 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4emC-0002EQ-22 for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Nov 2008 11:59:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L4dwi-0001tQ-1P for help-gnu-emacs@gnu.org; Mon, 24 Nov 2008 11:05:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L4dwh-0001sl-BY for help-gnu-emacs@gnu.org; Mon, 24 Nov 2008 11:05:55 -0500 Original-Received: from [199.232.76.173] (port=50554 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4dmB-00021j-OP for help-gnu-emacs@gnu.org; Mon, 24 Nov 2008 10:55:03 -0500 Original-Received: from fmmailgate02.web.de ([217.72.192.227]:52991) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L4YWg-0001Pt-Jn for help-gnu-emacs@gnu.org; Mon, 24 Nov 2008 05:18:42 -0500 Original-Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate02.web.de (Postfix) with ESMTP id 9F990F705552; Mon, 24 Nov 2008 11:18:41 +0100 (CET) Original-Received: from [91.35.198.147] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.109 #226) id 1L4YWf-0007CN-00; Mon, 24 Nov 2008 11:18:41 +0100 In-Reply-To: <492A2A44.9060506@cdotb.ernet.in> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/muo2SAoRw6M5vh1LQNfQ6a/Y15HE29pDQVoHa 7R+PvF0DciZM/JWJK7Qk5wuTkbyjD7Zp7+L0MjVFpLYYfF16od nA8rt0d81w52wFzAVAyw== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60059 Archived-At: 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 =20 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/=20 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 =20 it! ;; Your init file should contain only one such instance. ) and just leave your key binding things in it. With time you'll add =20 this or that, then knowing what you're doing. If invocation with --debug-init does not point to the error, then try =20= to sanely comment have of your init file. If the error persits, then =20 it's in the not yet commented region. So comment, sanely, half of =20 this half, re-launch. If the error went away, then it was in the =20 comment half. So un-comment this and comment the previously =20 uncommented half. Iterate until the error is the only uncommented =20 statement. Another way: start with your key bindings and the two default =20 statements and add one statement after other from the .emacs copy you =20= fetched somewhere. -- Greetings Pete There is no worse tyranny than to force a man to pay for what he does =20= not want merely because you think it would be good for him. =96 Robert Heinlein