From: Eli Zaretskii <eliz@gnu.org>
To: Matt Armstrong <matt@rfc20.org>
Cc: 58801@debbugs.gnu.org, stefankangas@gmail.com
Subject: bug#58801: [PATCH] Autoload the `calc-eval-error' variable
Date: Tue, 15 Nov 2022 20:42:08 +0200 [thread overview]
Message-ID: <83wn7wgiv3.fsf@gnu.org> (raw)
In-Reply-To: <8735ak6pq7.fsf@rfc20.org> (message from Matt Armstrong on Tue, 15 Nov 2022 10:24:00 -0800)
> Cc: 58801@debbugs.gnu.org
> From: Matt Armstrong <matt@rfc20.org>
> Date: Tue, 15 Nov 2022 10:24:00 -0800
>
> My first impression is that adding `defvar' to squash bytecomp warnings
> for symbols in other packages is the wrong default action
No, it's the standard solution for byte-compilation warnings. There
are a few others, all of them better than an actual require.
> and that the best idea is for
>
> (require 'foo)
>
> to provide all symbols 'foo-' that one might need when using the `foo'
> package in the normal way.
That actually loads the package foo, for no good reason. We don't
necessarily want to use foo, we just want to compile a reference to
its variable or function.
next prev parent reply other threads:[~2022-11-15 18:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-26 17:02 bug#58801: [PATCH] Autoload the `calc-eval-error' variable Matt Armstrong
2022-11-11 13:16 ` Stefan Kangas
2022-11-15 18:24 ` Matt Armstrong
2022-11-15 18:42 ` Eli Zaretskii [this message]
2022-11-24 19:50 ` Stefan Kangas
2022-11-26 16:58 ` Matt Armstrong
2023-09-07 7:51 ` Stefan Kangas
2023-11-05 16:38 ` Stefan Kangas
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=83wn7wgiv3.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=58801@debbugs.gnu.org \
--cc=matt@rfc20.org \
--cc=stefankangas@gmail.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.