From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Herbert Euler" Newsgroups: gmane.emacs.devel Subject: Re: Error report on startup Date: Thu, 01 Mar 2007 23:04:22 +0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: sea.gmane.org 1172762219 2800 80.91.229.12 (1 Mar 2007 15:16:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Mar 2007 15:16:59 +0000 (UTC) Cc: emacs-devel@gnu.org To: lekktu@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 01 16:16:50 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HMmpp-0005Qi-Kb for ged-emacs-devel@m.gmane.org; Thu, 01 Mar 2007 16:04:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HMmpo-0003R6-2B for ged-emacs-devel@m.gmane.org; Thu, 01 Mar 2007 10:04:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HMmpb-0003Ok-0S for emacs-devel@gnu.org; Thu, 01 Mar 2007 10:04:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HMmpX-0003Nx-Rp for emacs-devel@gnu.org; Thu, 01 Mar 2007 10:04:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HMmpX-0003Nt-KB for emacs-devel@gnu.org; Thu, 01 Mar 2007 10:04:27 -0500 Original-Received: from bay0-omc2-s23.bay0.hotmail.com ([65.54.246.159]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HMmpX-000153-1x for emacs-devel@gnu.org; Thu, 01 Mar 2007 10:04:27 -0500 Original-Received: from hotmail.com ([64.4.26.15]) by bay0-omc2-s23.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Thu, 1 Mar 2007 07:04:24 -0800 Original-Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 1 Mar 2007 07:04:23 -0800 Original-Received: from 64.4.26.200 by by112fd.bay112.hotmail.msn.com with HTTP; Thu, 01 Mar 2007 15:04:22 GMT X-Originating-IP: [221.216.144.167] X-Originating-Email: [herberteuler@hotmail.com] X-Sender: herberteuler@hotmail.com In-Reply-To: X-OriginalArrivalTime: 01 Mar 2007 15:04:23.0680 (UTC) FILETIME=[E5BBB800:01C75C12] X-detected-kernel: Windows 2000 SP4, XP SP1+ X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:67134 Archived-At: >I don't see anything confusing. You're manually loading some-file.el >and reading its content in the context of loading .emacs, so certainly >it is ~/.emacs which is not valid (or, which is doing something >invalid). That the error comes from processing an elisp module is >irrelevant. It's not different to loading a non-lispy data file in >.emacs and then doing some kind of processing with it that causes an >error. > >If instead you used `load' or `require' to load some-file.el you'd get: > > An error has occurred while loading `c:/home/.emacs': > > End of file during parsing: c:/emacs/site-lisp/some-file.el > > To ensure normal operation, you should investigate and remove the > cause of the error in your initialization file. Start Emacs with > the `--debug-init' option to view a complete error backtrace. It is just an explain to the general case. If you are loading a library, which you are not familiar with and it does this, how could you know which file is invalid? For me, the library is type-break mode, and the file is ~/.type-break. If I did not read the source and did some digging work, I cannot know it is the file ~/.type-break that causes the error. Regards, Guanpeng Xu _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/