From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: How to get a file name with a warning like this
Date: Sat, 29 Aug 2020 01:12:37 -0400 [thread overview]
Message-ID: <jwv7dti2g1a.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: 87bliugywi.fsf@local.lan
> Warning (bytecomp): Use ‘with-current-buffer’ ....
> rather than save-excursion+set-buffer
Usually, this comes from the byte-compiler when it's called directly via
`byte-compile` with an Elisp expression as argument, rather than by
compiling a file, so the compiler has no idea which file it comes from.
You might try `M-x trace-function RET byte-compile RET` but you have to
do that before the warning is emitted.
Stefan
next prev parent reply other threads:[~2020-08-29 5:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-28 22:59 How to get a file name with a warning like this Harry Putnam
2020-08-29 2:02 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-29 2:12 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-29 5:12 ` Stefan Monnier [this message]
2020-08-29 5:32 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-29 5:36 ` Emanuel Berg via Users list for the GNU Emacs text editor
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=jwv7dti2g1a.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=help-gnu-emacs@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.
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).