From: "Herbert Euler" <herberteuler@hotmail.com>
To: lekktu@gmail.com
Cc: emacs-devel@gnu.org
Subject: Re: Error report on startup
Date: Thu, 01 Mar 2007 23:04:22 +0800 [thread overview]
Message-ID: <BAY112-F5591858E3D65E5C20607DDA800@phx.gbl> (raw)
In-Reply-To: <f7ccd24b0703010630v3c6ae02cwed2c2e40c9678a4@mail.gmail.com>
>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/
next prev parent reply other threads:[~2007-03-01 15:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-01 13:48 Error report on startup Herbert Euler
2007-03-01 14:30 ` Juanma Barranquero
2007-03-01 15:04 ` Herbert Euler [this message]
2007-03-01 15:26 ` Juanma Barranquero
2007-03-02 1:23 ` Herbert Euler
2007-03-02 1:57 ` Juanma Barranquero
2007-03-02 8:26 ` Richard Stallman
2007-03-02 23:46 ` Richard Stallman
2007-03-05 1:41 ` Herbert Euler
2007-03-02 3:28 ` Richard Stallman
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=BAY112-F5591858E3D65E5C20607DDA800@phx.gbl \
--to=herberteuler@hotmail.com \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).