[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Line number where eval-after-load is defined in my .emacs file
From: |
William G . Gardella |
Subject: |
Re: Line number where eval-after-load is defined in my .emacs file |
Date: |
Wed, 13 Nov 2013 17:05:04 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Hi Seb,
"Sebastien Vauban" <sva-news@mygooglest.com>
writes:
[...]
> Is there a way to "link" the messages to the `eval-after-load' blocks in my
> .emacs file by showing the line number where those blocks are defined?
>
> Or is there some other way to get such more or less the same type of
> information?
>
> Best regards,
> Seb
This seems analogous to the management problem that one can have after
putting a lot of lambdas which all look alike inside a hook variable.
Maybe a similar solution is warranted. I would rewrite your
`eval-after-load' blocks such that each of them calls one named function
(instead of an anonymous `progn'), which in turn contains all the stuff
to be done inside that `eval-after-load'. That way, when something goes
wrong, the backtrace will name the offending function.
Best,
WGG
Re: Line number where eval-after-load is defined in my .emacs file, Sebastien Vauban, 2013/11/13
Re: Line number where eval-after-load is defined in my .emacs file, Michael Heerdegen, 2013/11/13
Message not available
Re: Line number where eval-after-load is defined in my .emacs file, jack-mac, 2013/11/22