From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#58801: [PATCH] Autoload the `calc-eval-error' variable Date: Tue, 15 Nov 2022 20:42:08 +0200 Message-ID: <83wn7wgiv3.fsf@gnu.org> References: <87fsfaa56t.fsf@rfc20.org> <8735ak6pq7.fsf@rfc20.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20113"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58801@debbugs.gnu.org, stefankangas@gmail.com To: Matt Armstrong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 15 19:43:09 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ov0to-0004z9-RT for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Nov 2022 19:43:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ov0tk-0007b0-19; Tue, 15 Nov 2022 13:43:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ov0ti-0007Yi-Bz for bug-gnu-emacs@gnu.org; Tue, 15 Nov 2022 13:43:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ov0ti-00075J-32 for bug-gnu-emacs@gnu.org; Tue, 15 Nov 2022 13:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ov0th-0004kR-KH for bug-gnu-emacs@gnu.org; Tue, 15 Nov 2022 13:43:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Nov 2022 18:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58801 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 58801-submit@debbugs.gnu.org id=B58801.166853772618185 (code B ref 58801); Tue, 15 Nov 2022 18:43:01 +0000 Original-Received: (at 58801) by debbugs.gnu.org; 15 Nov 2022 18:42:06 +0000 Original-Received: from localhost ([127.0.0.1]:55232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ov0so-0004jF-IW for submit@debbugs.gnu.org; Tue, 15 Nov 2022 13:42:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ov0sj-0004ii-Ug for 58801@debbugs.gnu.org; Tue, 15 Nov 2022 13:42:05 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ov0sd-0006yz-Il; Tue, 15 Nov 2022 13:41:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=npqz69DNH8D43MqDUTo9hdmNisu0sBIi8nqumqlGu8c=; b=mXpWRdOd19En 9GYiOM9X2aFprftI20GDBjstJlkyLDH+U6byKQwN4esLXWnkAEemBmDknXpjPvBNlI/lU1jSeNZp9 f7onqcbnta/+DzewpliRpGHpLXa3+J4nQkoXvsJqqq/kHVZ6hfvS6h+cVRwBeEDGufuT2QzrT5bSy AGAqEuNG09ObzPMiWqNUUtR0tk6/ZIAL93Svc9s++xn3zQLPdPedy1b5i9uPTx7kOy6G3c6VclAKR LEwGaMaMvT1FDOD25cOBXb13FV+VkmPuGz7MTRyoOrjKkYUqFd8nJ/KtliLXnAtqU10t4VNpvt9i0 b6sjwwndh4dduqOFK3FgDw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ov0sc-00089S-Ai; Tue, 15 Nov 2022 13:41:55 -0500 In-Reply-To: <8735ak6pq7.fsf@rfc20.org> (message from Matt Armstrong on Tue, 15 Nov 2022 10:24:00 -0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247965 Archived-At: > Cc: 58801@debbugs.gnu.org > From: Matt Armstrong > 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.