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.devel Subject: Re: Current mode command discovery Date: Fri, 19 Feb 2021 14:30:32 +0200 Message-ID: <83pn0w2qaf.fsf@gnu.org> References: <87v9aubm96.fsf@gnus.org> <87czwzfn9p.fsf@telefonica.net> <87eehfnd83.fsf@gnus.org> <1fb773f6-1480-53ce-08ae-1f7d0ba23428@yandex.ru> <87k0r637k4.fsf@gnus.org> <80e8c434-888d-23c5-13f0-c513bbf13ee4@yandex.ru> <8735xtznrh.fsf@gnus.org> <70fd2374-23ea-1c03-a4e4-97a370a41acf@yandex.ru> <87h7m9wjvl.fsf@gnus.org> <878s7kutzl.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10839"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ofv@wanadoo.es, emacs-devel@gnu.org, dgutov@yandex.ru To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 19 13:32:10 2021 Return-path: Envelope-to: ged-emacs-devel@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 1lD4x7-0002iB-Mk for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Feb 2021 13:32:09 +0100 Original-Received: from localhost ([::1]:41432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lD4x6-0005Cw-LM for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Feb 2021 07:32:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lD4vL-0003pZ-8m for emacs-devel@gnu.org; Fri, 19 Feb 2021 07:30:19 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42000) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lD4vK-0004Ns-RB; Fri, 19 Feb 2021 07:30:18 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1810 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lD4vJ-0008Df-Gl; Fri, 19 Feb 2021 07:30:18 -0500 In-Reply-To: <878s7kutzl.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 19 Feb 2021 13:23:10 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:265231 Archived-At: > From: Lars Ingebrigtsen > Date: Fri, 19 Feb 2021 13:23:10 +0100 > Cc: Óscar Fuentes , emacs-devel@gnu.org > > However, this may be a smaller issue than you'd think. Most things that > are tagged as ;;;###autoload won't be mode-specific: They are > autoloadable exactly because they can be called from anywhere in Emacs. That's not necessarily true. We also use ;;;###autoload as the means to load a mode when some command is invoked.