From unknown Wed Jun 18 23:07:23 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#26888 <26888@debbugs.gnu.org> To: bug#26888 <26888@debbugs.gnu.org> Subject: Status: 25.2; doc of `with-eval-after-load' Reply-To: bug#26888 <26888@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:07:23 +0000 retitle 26888 25.2; doc of `with-eval-after-load' reassign 26888 emacs submitter 26888 Drew Adams severity 26888 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Thu May 11 12:01:06 2017 Received: (at submit) by debbugs.gnu.org; 11 May 2017 16:01:06 +0000 Received: from localhost ([127.0.0.1]:38969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d8qWY-0004Yr-Ag for submit@debbugs.gnu.org; Thu, 11 May 2017 12:01:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d8qWV-0004YG-66 for submit@debbugs.gnu.org; Thu, 11 May 2017 12:01:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8qWP-0005Db-09 for submit@debbugs.gnu.org; Thu, 11 May 2017 12:00:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56401) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d8qWO-0005DT-Mr for submit@debbugs.gnu.org; Thu, 11 May 2017 12:00:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8qWN-00038H-3H for bug-gnu-emacs@gnu.org; Thu, 11 May 2017 12:00:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8qWK-0005Bq-Gk for bug-gnu-emacs@gnu.org; Thu, 11 May 2017 12:00:55 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:31351) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d8qWK-0005AX-4J for bug-gnu-emacs@gnu.org; Thu, 11 May 2017 12:00:52 -0400 Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v4BG0mlX017698 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 11 May 2017 16:00:48 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v4BG0lID013564 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 11 May 2017 16:00:48 GMT Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v4BG0l9V010621 for ; Thu, 11 May 2017 16:00:47 GMT MIME-Version: 1.0 Message-ID: Date: Thu, 11 May 2017 09:00:46 -0700 (PDT) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 25.2; doc of `with-eval-after-load' X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6767.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) 1. The doc does not make clear that argument LIBRARY is evaluated or that argument BODY is _not_ evaluated, at the time the overall sexp is evaluated. 2. The doc string and the Elisp manual should use the same name, LIBRARY or FILE. 3. There is lots of information about the behavior that is missing from the doc of `with-eval-after-load' but is present in the doc of `eval-after-load'. They don't behave the same, but the latter makes use of the former. You cannot understand all of the the behavior of the former without consulting the doc (or the code) of the latter. We've done users a disservice by removing the doc for `eval-after-load' from the manual and by not, at least, providing equivalent information for `with-eval-after-load'. We've apparently intentionally tried to "dumb this down", but users deserve better help than this. At the very least, the doc for `with-eval-after-load' should refer to the more complete doc of `eval-after-load', and explain that the former just expands to the latter after wrapping BODY in an anonymous function. In GNU Emacs 25.2.1 (x86_64-w64-mingw32) of 2017-04-24 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --without-dbus --without-compress-install 'CFLAGS=3D-O2 -static -g3'' From debbugs-submit-bounces@debbugs.gnu.org Thu May 11 12:30:43 2017 Received: (at control) by debbugs.gnu.org; 11 May 2017 16:30:43 +0000 Received: from localhost ([127.0.0.1]:38982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d8qzD-0005Er-2t for submit@debbugs.gnu.org; Thu, 11 May 2017 12:30:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d8qzB-0005Eb-7L for control@debbugs.gnu.org; Thu, 11 May 2017 12:30:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8qz2-0005nr-B5 for control@debbugs.gnu.org; Thu, 11 May 2017 12:30:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8qz2-0005ni-8I for control@debbugs.gnu.org; Thu, 11 May 2017 12:30:32 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1d8qz1-0003dg-Pe for control@debbugs.gnu.org; Thu, 11 May 2017 12:30:32 -0400 Subject: control message for bug 26888 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Thu, 11 May 2017 12:30:31 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) merge 16810 26888 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 05 07:52:34 2021 Received: (at 26888) by debbugs.gnu.org; 5 Feb 2021 12:52:34 +0000 Received: from localhost ([127.0.0.1]:43089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l80bC-00050d-9D for submit@debbugs.gnu.org; Fri, 05 Feb 2021 07:52:34 -0500 Received: from quimby.gnus.org ([95.216.78.240]:41060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l80bA-00050M-Ah for 26888@debbugs.gnu.org; Fri, 05 Feb 2021 07:52:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=gX4CuKtq30bdUp3nhOaSeUnXSjX3KQodZ62vaQZxozE=; b=Csj7i128KZHwuszDG5UhJ8YrCe 6YfMNQN+O/aafh8SHncIpWhcJW/dXIFWuR54qXJJlKlnp+w7xTDHxunWpH4+akHOM2yYp+NIA0b0q QY58FRv88KvzAT+T/2mrxq+sF7SpWKnKXXBLkMXc/WYaNfvHe9nWuhGTV86v28whYDMk=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l80b0-0002bR-40; Fri, 05 Feb 2021 13:52:25 +0100 From: Lars Ingebrigtsen To: Drew Adams Subject: Re: bug#26888: 25.2; doc of `with-eval-after-load' References: X-Now-Playing: The Reasons's _Hard Day at the Office_: "Baby Bright Eyes" Date: Fri, 05 Feb 2021 13:52:20 +0100 In-Reply-To: (Drew Adams's message of "Thu, 11 May 2017 09:00:46 -0700 (PDT)") Message-ID: <87sg6ahe2j.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Drew Adams writes: > At the very least, the doc for `with-eval-after-load' should refer to > the more complete doc of `eval-after-load', and explain that the former > just expands to the latter after wrapping BODY in an [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 26888 Cc: 26888@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Drew Adams writes: > At the very least, the doc for `with-eval-after-load' should refer to > the more complete doc of `eval-after-load', and explain that the former > just expands to the latter after wrapping BODY in an anonymous function. The doc string here is now: FILE is normally a feature name, but it can also be a file name, in case that file does not provide any feature. See `eval-after-load' for more details about the different forms of FILE and their semantics." So I don't think there's more to be done here, and I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 05 07:52:54 2021 Received: (at control) by debbugs.gnu.org; 5 Feb 2021 12:52:54 +0000 Received: from localhost ([127.0.0.1]:43092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l80bI-00050z-S8 for submit@debbugs.gnu.org; Fri, 05 Feb 2021 07:52:54 -0500 Received: from quimby.gnus.org ([95.216.78.240]:41074) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l80bH-00050c-34 for control@debbugs.gnu.org; Fri, 05 Feb 2021 07:52:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=lfsuPz5Z+Z+1Xm9M9cyWAEaU7TPIvKdtDk85qQ7RM7o=; b=Jo/uiNiYHw0cnUgJeIpOHYeIUX fkphrUrQelxG3g42Ff6Sb+2OvZbbdyiXbHtwfuBBP1vdasYrGHtrCoSQyAI1COMcHZp2Ptu3sNguX secwbC0NwC2CQKG3bIG2/PUCDDKCoYqxPCJbLuRleHV8gVYgKoX5q9w8VsYBLrBN/ISY=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l80b9-0002bY-Ez for control@debbugs.gnu.org; Fri, 05 Feb 2021 13:52:33 +0100 Date: Fri, 05 Feb 2021 13:52:30 +0100 Message-Id: <87r1luhe29.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #26888 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 26888 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 26888 quit From unknown Wed Jun 18 23:07:23 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 06 Mar 2021 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator