[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Better startup error handling
From: |
David Engster |
Subject: |
Re: Better startup error handling |
Date: |
Sat, 28 Apr 2012 17:42:24 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.1.50 (gnu/linux) |
Stefan Monnier writes:
>>> The way I see it, we should ideally be able to load the .emacs in such
>>> a way that an error doesn't prevent the rest of the file from being
>>> loaded, and the error should be clearly signaled to the user with some
>>> kind of line-number information.
>> Yes. This presumably means some sort of evaluator hook to execute some
>> code between each toplevel form, or wrap each top-level form in a
>> condition-case -- reader macros would I think handle it, but elisp
>> doesn't have those.
>
> Another way to do it is to not use `load' but to find-file .emacs and
> then eval-region chunk by chunk.
FWIW, I've written this for creating profiles of the init file:
http://www.emacswiki.org/emacs/ProfileDotEmacs
-David
- Re: proposal to make null string handling more emacs-y, (continued)
- Re: proposal to make null string handling more emacs-y, Miles Bader, 2012/04/26
- Re: proposal to make null string handling more emacs-y, Jeremiah Dodds, 2012/04/26
- Re: proposal to make null string handling more emacs-y, Miles Bader, 2012/04/26
- Re: proposal to make null string handling more emacs-y, Jeremiah Dodds, 2012/04/27
- Re: proposal to make null string handling more emacs-y, Miles Bader, 2012/04/27
- Re: proposal to make null string handling more emacs-y, Thien-Thi Nguyen, 2012/04/27
- Re: proposal to make null string handling more emacs-y, Nix, 2012/04/27
- Better startup error handling (was: proposal to make null string handling more emacs-y), Stefan Monnier, 2012/04/27
- Re: Better startup error handling, Nix, 2012/04/28
- Re: Better startup error handling, Stefan Monnier, 2012/04/28
- Re: Better startup error handling,
David Engster <=
- RE: Better startup error handling, Drew Adams, 2012/04/28
- Re: Better startup error handling, Stefan Monnier, 2012/04/28
- Re: Better startup error handling, Lars Magne Ingebrigtsen, 2012/04/28
- Re: Better startup error handling, Christian Lynbech, 2012/04/30
- Re: Better startup error handling, chad, 2012/04/30
- Re: proposal to make null string handling more emacs-y, Richard Stallman, 2012/04/27
- Re: proposal to make null string handling more emacs-y, Stefan Monnier, 2012/04/26
- Re: proposal to make null string handling more emacs-y, Lars Magne Ingebrigtsen, 2012/04/26
- Re: proposal to make null string handling more emacs-y, Richard Stallman, 2012/04/27
- Re: proposal to make null string handling more emacs-y, Eli Barzilay, 2012/04/28