[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Better startup error handling
From: |
Stefan Monnier |
Subject: |
Re: Better startup error handling |
Date: |
Sat, 28 Apr 2012 15:39:15 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
>> > Downsides: loads the byte-compiler even in sessions that
>> > don't need it, and notably inefficient.
>> Exactly: in theory it's straightforward, but doing it well
>> will require more work. IIRC there are some other issues such as
>> the fact that .emacs code tends to be very different from typical
>> code in Elisp packages, and the kinds of things we want to flag
>> aren't all the same (some things are acceptable/normal/unavoidable
>> in one but not in the other).
> No flames please, but I have a different objection to this idea.
> Perhaps you hinted at in in your last sentence - not sure. Anyhooo...
I largely agree, and that's indeed some of the issues I was hinting at.
Rather than try to detect errors (such as wrong-number of args) which
will/would be detected at run-time anyway, the purpose would be to
detect use of obsolete/deprecated vars/functions/functionality.
But as you mention, such warnings should be kept sufficiently discreet
since a user may elect to keep "old" code if she uses the same .emacs
with various versions/flavors of emacs.
Stefan
- 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/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, 2012/04/28
- RE: Better startup error handling, Drew Adams, 2012/04/28
- Re: Better startup error handling,
Stefan Monnier <=
- 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
- Re: proposal to make null string handling more emacs-y, Richard Stallman, 2012/04/28
- Re: proposal to make null string handling more emacs-y, Stefan Monnier, 2012/04/28