From unknown Mon Jun 16 23:44:09 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#10982 <10982@debbugs.gnu.org> To: bug#10982 <10982@debbugs.gnu.org> Subject: Status: documentation bug eval-after-load Reply-To: bug#10982 <10982@debbugs.gnu.org> Date: Tue, 17 Jun 2025 06:44:09 +0000 retitle 10982 documentation bug eval-after-load reassign 10982 emacs submitter 10982 Le Wang severity 10982 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 09 12:35:10 2012 Received: (at submit) by debbugs.gnu.org; 9 Mar 2012 17:35:10 +0000 Received: from localhost ([127.0.0.1]:40802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S63if-0000sR-VI for submit@debbugs.gnu.org; Fri, 09 Mar 2012 12:35:10 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58471) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S63iS-0000rl-WF for submit@debbugs.gnu.org; Fri, 09 Mar 2012 12:35:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S63hB-0006Bm-9u for submit@debbugs.gnu.org; Fri, 09 Mar 2012 12:34:00 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:40823) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S63hB-0006Bi-4M for submit@debbugs.gnu.org; Fri, 09 Mar 2012 12:33:37 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S63h9-0000TC-7E for bug-gnu-emacs@gnu.org; Fri, 09 Mar 2012 12:33:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S63h7-0006BO-1P for bug-gnu-emacs@gnu.org; Fri, 09 Mar 2012 12:33:34 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:56437) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S63h6-0006B9-Ou for bug-gnu-emacs@gnu.org; Fri, 09 Mar 2012 12:33:32 -0500 Received: by werj55 with SMTP id j55so1590967wer.0 for ; Fri, 09 Mar 2012 09:33:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=7sw5qvNLXRoUAwXz91WFQ1OvG0dLPkHQ8R9XPt0j6zk=; b=XnZYex+7+q34aHW2Uejc/u2qm1gSIxQz+LIAsYFQ2HcIL4mbaUdNMHDAANYhhyhtxR btPvYvXIilapN+nf3ZJ6A7uFXXqqc2sMLhbnTZ7ethiidc3RKwuUI2DsRtv9tM0AoZ1D GntWuKxF7KPSlGcuP8CycJuEx1DMoPlGLSgGXrp7GPHYVLEw4g7edpX4KpM8anNHfhZW zbqFP35A10yIW6X1juGwawaVsf8Y55YBhLmX50sHTg0wsJ/FLLNq08k1RiJlnVDcUfKo yQukpIZd53FHD2iOu5rjhUlqowxvpB70Cn6ngvZPGoXgnLOOQVSph/Ds6ABazIfS1IxX SO+A== MIME-Version: 1.0 Received: by 10.180.98.8 with SMTP id ee8mr6762291wib.14.1331314410226; Fri, 09 Mar 2012 09:33:30 -0800 (PST) Received: by 10.216.29.130 with HTTP; Fri, 9 Mar 2012 09:33:30 -0800 (PST) Date: Sat, 10 Mar 2012 01:33:30 +0800 Message-ID: Subject: documentation bug eval-after-load From: Le Wang To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=f46d044287a681821304bad2ca13 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) --f46d044287a681821304bad2ca13 Content-Type: text/plain; charset=ISO-8859-1 Hi on this page: http://www.gnu.org/software/emacs/manual/html_node/elisp/Hooks-for-Loading.html#Hooks-for-Loading > library can also be a feature (i.e. a symbol), in which case form is evaluated when (provide library) is called. Then on this page http://www.gnu.org/software/emacs/manual/html_node/elisp/Named-Features.html > This function announces that feature is now loaded, or being loaded, into the current Emacs session. This means that the facilities associated with feature are or will be available for other Lisp programs. So two issue come up: should symbol even be supported by `eval-after-load` if the feature might not be finished loading? If it has to be kept for backward compatibility, documentation should explicitly say don't use symbol because the feature might not be finished loading. -- Le --f46d044287a681821304bad2ca13 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi on this page:

http://www.gnu.o= rg/software/emacs/manual/html_node/elisp/Hooks-for-Loading.html#Hooks-for-L= oading

> library can also be a feature (i.e. a symbol), in which= case form is evaluated when (provide library<= code>) is called.

Then on this page http://www.gnu.org/software= /emacs/manual/html_node/elisp/Named-Features.html

> This func= tion announces that feature is now loaded, or being loaded, into the current Emacs session. This means that the facilities associated with feature are or will be available for other Lisp programs.

So two issue come up:=A0 should symbol even b= e supported by `eval-after-load` if the feature might not be finished loadi= ng?=A0 If it has to be kept for backward compatibility, documentation shoul= d explicitly say don't use symbol because the feature might not be fini= shed loading.

--
Le
--f46d044287a681821304bad2ca13-- From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 09 12:41:53 2012 Received: (at 10982) by debbugs.gnu.org; 9 Mar 2012 17:41:53 +0000 Received: from localhost ([127.0.0.1]:40809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S63pB-00013p-1C for submit@debbugs.gnu.org; Fri, 09 Mar 2012 12:41:53 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:57595) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S63p8-00013h-NY for 10982@debbugs.gnu.org; Fri, 09 Mar 2012 12:41:51 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1S63oA-0007M4-Nu; Fri, 09 Mar 2012 12:40:51 -0500 From: Glenn Morris To: Le Wang Subject: Re: bug#10982: documentation bug eval-after-load References: X-Spook: COSCO CNCIS ANC Clinton [Hello to all my friends and fans X-Ran: d_H~fwfcSI]E-"IYauEA"&6ej@WznV]GIJ4y%|g$rz)/s1tqu,'@%E#@kA3l5YVHgWYy6K X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Fri, 09 Mar 2012 12:40:50 -0500 In-Reply-To: (Le Wang's message of "Sat, 10 Mar 2012 01:33:30 +0800") Message-ID: <55vcmdsme5.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 10982 Cc: 10982@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Le Wang wrote: > So two issue come up: should symbol even be supported by `eval-after-load` > if the feature might not be finished loading? If it has to be kept for > backward compatibility, documentation should explicitly say don't use > symbol because the feature might not be finished loading. The version of eval-after-load in the trunk handles this better, so that even if provide is not at the end of the file, the eval-after-load forms do not run until the file has finished loading. What is the second issue? From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 09 13:02:03 2012 Received: (at 10982) by debbugs.gnu.org; 9 Mar 2012 18:02:03 +0000 Received: from localhost ([127.0.0.1]:40838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S648h-0002Lj-B3 for submit@debbugs.gnu.org; Fri, 09 Mar 2012 13:02:03 -0500 Received: from mail-wi0-f174.google.com ([209.85.212.174]:45344) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S648d-0002LK-SV for 10982@debbugs.gnu.org; Fri, 09 Mar 2012 13:02:01 -0500 Received: by wibhr17 with SMTP id hr17so607402wib.15 for <10982@debbugs.gnu.org>; Fri, 09 Mar 2012 10:01:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=HifVcZWtX7hxqOUUVcg7uTcZrrnBY+hgHrBAYJsiyP4=; b=SsMBR0jhKjqS/RC+aikyKnyJMd6jXzlT3Xaanfe5MQgne24iCoXfZ9qtGya0WxcIPP rLOTKr8hLGNZHXHKVK579xdlAdADJURiZl77UsGayT0Tbl0MovJsOTZ4uVFArR5C2q0k T/lfWkIXWxoh0yEGBf4m+K/XMuZP08VKAfq6rrDvMiLm8E3/CeDTQ7w1bx68aepbK9iG xayumRa8sj2lgFhnk89T6W5//ioEsKOsYk0lBO0iPQDXDOjCZtXokjsUBJbtEXZmGPmT QPS4hh5bCDLHxeBfX0fMxCXhKwuTqLqFSMdB89iLQpNr8wlL5C+PLlWphsSsRr0pcAty IBIA== MIME-Version: 1.0 Received: by 10.180.106.9 with SMTP id gq9mr6894790wib.17.1331316062492; Fri, 09 Mar 2012 10:01:02 -0800 (PST) Received: by 10.216.29.130 with HTTP; Fri, 9 Mar 2012 10:01:02 -0800 (PST) In-Reply-To: <55vcmdsme5.fsf@fencepost.gnu.org> References: <55vcmdsme5.fsf@fencepost.gnu.org> Date: Sat, 10 Mar 2012 02:01:02 +0800 Message-ID: Subject: Re: bug#10982: documentation bug eval-after-load From: Le Wang To: Glenn Morris Content-Type: multipart/alternative; boundary=f46d04451a15fd16a104bad32c43 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10982 Cc: 10982@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) --f46d04451a15fd16a104bad32c43 Content-Type: text/plain; charset=ISO-8859-1 On Sat, Mar 10, 2012 at 1:40 AM, Glenn Morris wrote: > Le Wang wrote: > > > So two issue come up: should symbol even be supported by > `eval-after-load` > > if the feature might not be finished loading? If it has to be kept for > > backward compatibility, documentation should explicitly say don't use > > symbol because the feature might not be finished loading. > > The version of eval-after-load in the trunk handles this better, so that > even if provide is not at the end of the file, the eval-after-load forms > do not run until the file has finished loading. > > What is the second issue? > Sorry, the two issues are documentation and implementation. Clearly the implementation has been fixed, I just checked that the documentation is also correct. Please close this bug. -- Le --f46d04451a15fd16a104bad32c43 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sat, Mar 10, 2012 at 1:40 AM, Glenn Morris <rgm@gnu.org> wrote:=
Le Wang wrote:

> So two issue come up: =A0should symbol even be supported by `eval-afte= r-load`
> if the feature might not be finished loading? =A0If it has to be kept = for
> backward compatibility, documentation should explicitly say don't = use
> symbol because the feature might not be finished loading.

The version of eval-after-load in the trunk handles this better, so that even if provide is not at the end of the file, the eval-after-load forms do not run until the file has finished loading.

What is the second issue?

Sorry, the two issues are documentation and implemen= tation. Clearly the implementation has been fixed, I just checked that the = documentation is also correct.=A0 Please close this bug.

--
Le
--f46d04451a15fd16a104bad32c43-- From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 09 13:16:50 2012 Received: (at control) by debbugs.gnu.org; 9 Mar 2012 18:16:50 +0000 Received: from localhost ([127.0.0.1]:40880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S64Mz-0002hd-PD for submit@debbugs.gnu.org; Fri, 09 Mar 2012 13:16:50 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:58118) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S64Mx-0002hX-Vt for control@debbugs.gnu.org; Fri, 09 Mar 2012 13:16:48 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1S64M2-0005e6-EH for control@debbugs.gnu.org; Fri, 09 Mar 2012 13:15:50 -0500 Date: Fri, 09 Mar 2012 13:15:50 -0500 Message-Id: Subject: control message for bug 10982 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) close 10982 24.1 From unknown Mon Jun 16 23:44:09 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, 07 Apr 2012 11: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