From: "Roland Winkler" <winkler@gnu.org>
To: 43678@debbugs.gnu.org
Subject: bug#43678: 27.1; compiler warning if code forgets to require cl-lib
Date: Mon, 28 Sep 2020 20:11:27 +0200 [thread overview]
Message-ID: <10063.90714.979619.24434@gargle.gargle.HOWL> (raw)
Until earlier today, several files in bbdb did not require cl-lib,
when they should have done that. Nonetheless, bbdb compiled fine
with emacs 25 and 26, but not anymore with emacs 27, see bug #30635.
The goal when fixing #30635 was to issue a warning if a library uses
cl-lib without requiring it. The problem with bbdb was, however,
that instead the emacs 27 byte compiler threw a rather unhelpful
error message about the cause of the problem. For bbdb-tex.el, it
said
In bbdb-TeX:
bbdb-tex.el:414:25:Error: Forgot to expand macro cl-progv in ( ...
I suggest that the byte compiler should issue a more helpful warning
about the cause of the problem.
In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
of 2020-08-31 built on regnitz
Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
System Description: Ubuntu 16.04.7 LTS
next reply other threads:[~2020-09-28 18:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-28 18:11 Roland Winkler [this message]
2020-09-28 19:19 ` bug#43678: 27.1; compiler warning if code forgets to require cl-lib 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
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
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=10063.90714.979619.24434@gargle.gargle.HOWL \
--to=winkler@gnu.org \
--cc=43678@debbugs.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).