all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Roland Winkler" <winkler@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 43678@debbugs.gnu.org
Subject: bug#43678: 27.1; compiler warning if code forgets to require cl-lib
Date: Mon, 28 Sep 2020 23:06:02 +0200	[thread overview]
Message-ID: <20538.53030.515906.24434@gargle.gargle.HOWL> (raw)
In-Reply-To: <jwvmu19y6vs.fsf-monnier+emacs@gnu.org>

On Mon Sep 28 2020 Stefan Monnier wrote:
> This is not specific to `cl-lib`.  It can happen with any macro if you
> forget to `require` the file that provides this macro, but the macro
> expansion (including compiler macros's expansion, i.e. optimizations) of
> some of the rest of your function ends up loading the file that provides
> this macro.

Then it seems to me that the error message could say that possibly we
forgot to require *a* library.   (You surely know the speculations
about the cause of a problem issued by the TeX compiler.  I do not
remember I ever saw such speculations coming from Emacs.  Maybe the
byte compiler should first run a session with a doctor
(M-x emacs-psychotherapist) to narrow down the cause of the
problem...)





  reply	other threads:[~2020-09-28 21:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-28 18:11 bug#43678: 27.1; compiler warning if code forgets to require cl-lib Roland Winkler
2020-09-28 19:19 ` Stefan Monnier
2020-09-28 19:33   ` Roland Winkler
2020-09-28 20:04     ` Stefan Monnier
2020-09-28 20:31       ` Roland Winkler
2020-09-28 20:42         ` Stefan Monnier
2020-09-28 21:06           ` Roland Winkler [this message]
2020-09-29 14:53       ` Lars Ingebrigtsen
2020-09-30  5:10         ` Howard Melman
2020-09-30 14:12           ` Lars Ingebrigtsen

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=20538.53030.515906.24434@gargle.gargle.HOWL \
    --to=winkler@gnu.org \
    --cc=43678@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.