From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Anand S. Dhankshirur" Newsgroups: gmane.emacs.help Subject: Re: .emacs is not getting executed Date: Mon, 24 Nov 2008 16:54:53 +0530 Organization: C-DOT Message-ID: <492A8F05.1050803@cdotb.ernet.in> 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> Reply-To: asd@cdotb.ernet.in NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1227546610 8074 80.91.229.12 (24 Nov 2008 17:10:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Nov 2008 17:10:10 +0000 (UTC) To: Peter Dyballa , GnuEmacs Help Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 24 18:11:12 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 1L4exq-000467-HH for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Nov 2008 18:11:11 +0100 Original-Received: from localhost ([127.0.0.1]:56452 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4ewh-0001dG-3I for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Nov 2008 12:09:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L4e0j-0004P7-Gx for help-gnu-emacs@gnu.org; Mon, 24 Nov 2008 11:10:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L4e0h-0004O0-Fe for help-gnu-emacs@gnu.org; Mon, 24 Nov 2008 11:10:04 -0500 Original-Received: from [199.232.76.173] (port=50562 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4dlP-0002Ag-1l for help-gnu-emacs@gnu.org; Mon, 24 Nov 2008 10:54:15 -0500 Original-Received: from ws9.cdotb.ernet.in ([202.41.72.121]:48591) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L4ZTK-0000nz-HP for help-gnu-emacs@gnu.org; Mon, 24 Nov 2008 06:19:22 -0500 Original-Received: from ws9.cdotb.ernet.in (localhost [127.0.0.1]) by localhost.cdotb.ernet.in (Postfix) with ESMTP id AEA15A301; Mon, 24 Nov 2008 16:48:48 +0530 (IST) Original-Received: from universe (universe.cdotb.ernet.in [192.168.42.10]) by ws9.cdotb.ernet.in (Postfix) with ESMTP id A9C41A24A; Mon, 24 Nov 2008 16:48:48 +0530 (IST) Original-Received: from [192.168.16.119] (vishwa.cdotb.ernet.in [192.168.16.119]) by universe (8.12.2+Sun/8.12.2) with ESMTP id mAOBIlmC004679; Mon, 24 Nov 2008 16:48:47 +0530 (IST) User-Agent: Thunderbird 1.5 (X11/20051201) In-Reply-To: X-TM-AS-Product-Ver: IMSS-7.0.0.7138-5.5.0.1026-16298.006 X-TM-AS-Result: No--10.400-5.0-31-1 X-imss-scan-details: No--10.400-5.0-31-1 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:60060 Archived-At: 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=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=20 > 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=20 > 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=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 this=20 > half, re-launch. If the error went away, then it was in the comment=20 > half. So un-comment this and comment the previously uncommented half.=20 > Iterate until the error is the only uncommented 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. > > --=20 > 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 > > >