[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: debugging odd startup message
From: |
Stefan Monnier |
Subject: |
Re: debugging odd startup message |
Date: |
Fri, 15 Jun 2018 17:48:15 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
"Perry E. Metzger" <address@hidden> writes:
> On emacs startup, I'm getting this message:
>
> Warning (bytecomp): Use ‘with-current-buffer’ rather than
> save-excursion+set-buffer
> Warning (bytecomp): ‘next-line’ is for interactive use only; use
> ‘forward-line’ instead.
>
> Not sure how to figure out exactly where this is happening -- I'm
> guessing some file I'm loading, but I'm unsure. I'm not
> running bytecomp on startup, which also makes the error a bit odd.
>
> Anyway, if anyone can give me suggestions on how to figure out how to
> pin down what's causing this so I can fix it, I'd appreciate it.
You can add something like
(trace-function 'byte-compile)
at the beginning of your ~/.emacs file. Or alternatively something like
(debug-on-entry 'byte-compile)
might give you more information.
Stefan