all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joost Kremers <joostkremers@fastmail.fm>
To: "Perry E. Metzger" <perry@piermont.com>
Cc: emacs-devel@gnu.org
Subject: Re: debugging odd startup message
Date: Fri, 15 Jun 2018 23:35:41 +0200	[thread overview]
Message-ID: <87o9gbohqq.fsf@fastmail.fm> (raw)
In-Reply-To: <20180615161309.2de0ec24@jabberwock.cb.piermont.com>


On Fri, Jun 15 2018, Perry E. Metzger wrote:
> 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.

First thing I'd do is check the *Messages* buffer (C-h e). You 
should find the errors there as well, but sometimes the *Messages* 
buffer also tells you which file produced the error.

Otherwise, comment out any files you're loading in your init file 
one by one and see which one produces the error.

-- 
Joost Kremers
Life has its moments



  reply	other threads:[~2018-06-15 21:35 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 [this message]
2018-06-15 22:46   ` Perry E. Metzger
2018-06-15 21:48 ` Stefan Monnier
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o9gbohqq.fsf@fastmail.fm \
    --to=joostkremers@fastmail.fm \
    --cc=emacs-devel@gnu.org \
    --cc=perry@piermont.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.