From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: debugging odd startup message
Date: Fri, 15 Jun 2018 17:48:15 -0400 [thread overview]
Message-ID: <jwvk1qzk9im.fsf-monnier+gmane.emacs.devel@gnu.org> (raw)
In-Reply-To: 20180615161309.2de0ec24@jabberwock.cb.piermont.com
"Perry E. Metzger" <perry@piermont.com> 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
next prev parent reply other threads:[~2018-06-15 21:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-15 20:13 debugging odd startup message Perry E. Metzger
2018-06-15 21:35 ` Joost Kremers
2018-06-15 22:46 ` Perry E. Metzger
2018-06-15 21:48 ` Stefan Monnier [this message]
2018-06-15 21:54 ` Noam Postavsky
2018-06-15 22:43 ` Perry E. Metzger
2018-06-16 0:59 ` Perry E. Metzger
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=jwvk1qzk9im.fsf-monnier+gmane.emacs.devel@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
/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).