From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: uzibalqa Newsgroups: gmane.emacs.help Subject: ;;;###autoload declarations Date: Fri, 23 Jun 2023 11:09:55 +0000 Message-ID: <91a7W5OWdKtKD4A-ZeZZUeCLNTxNm82hYVDTZ-_uC1JiI1KzGZZVYF4HuUMdxyursZQ-CgIXKRziOKd2FRj9rL_7ADQ7Rjn7gu2CaCgSNA4=@proton.me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17067"; mail-complaints-to="usenet@ciao.gmane.io" To: uzibalqa via Users list for the GNU Emacs text editor Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 23 13:10:44 2023 Return-path: Envelope-to: geh-help-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 1qCege-0004EG-5v for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 23 Jun 2023 13:10:44 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCeg5-00066I-Ve; Fri, 23 Jun 2023 07:10:09 -0400 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 1qCeg4-00065w-N1 for help-gnu-emacs@gnu.org; Fri, 23 Jun 2023 07:10:08 -0400 Original-Received: from mail-4319.protonmail.ch ([185.70.43.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qCefz-0006MI-OD for help-gnu-emacs@gnu.org; Fri, 23 Jun 2023 07:10:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=zj35xk4pbbe4nd4vawazjr2fz4.protonmail; t=1687518600; x=1687777800; bh=JY1VJU98FbKfFfV3J6xZwgPwZH62DNSTEv3kLPTOxSU=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=jeakGOZWkxl/FDlXpOeChd/ZVRgceteWr1RHITAsgMVKhFd5KgcjZL5f+fapgz8xC ykBx52O5AmYBQKYnWzMuqVfDu7aD/VxsXYbc1S7AHPkTL+hnVg00ooT+GhW2MTI586 DasnzmGKsXheP6Obg6Bv9fgJv9bWYRvWHYgs33TAXTBa5ZP9+vAMyVi02YzSly9Jen 9FdB3ErVmULVQcuV7fYMWctAlLI37rVL2a/LB94/KZSr9gueObT7MhbWvpW/KxKnt0 X73SYGqe8OVEdT3LlXg5aOXOBShvUMPb6l6gL8LcOb3revTGGVQb8K10HGajl6f5Pf MjxDJVbC0U83g== Feedback-ID: 52887082:user:proton Received-SPF: pass client-ip=185.70.43.19; envelope-from=uzibalqa@proton.me; helo=mail-4319.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:144021 Archived-At: Have been looking at the ;;;###autoload declaration. Reading through the m= anual, the cookie just before the real definition of a function, indicates that a = specific function exists. Without such declaration, the function call would generat= e an error because the required function has not been properly included in the code be= fore=20 attempting to call the function. This is done so that emacs would not cons= ume system resources and slow down. Yet, one still needs a call to "require" which loads the file and all its d= effun's and defvar's even without any use of the ;;;###autoload declaration. It then seems to me that although autoloading is intended as described, tec= hnically=20 it is untrue, because everything seems to be evaluated all in one go. What is going on ?