From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Current mode command discovery Date: Fri, 19 Feb 2021 14:45:59 +0100 Message-ID: <87h7m8rx0o.fsf@gnus.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> <83pn0w2qaf.fsf@gnu.org> <87zh00tevr.fsf@gnus.org> <83o8gg2pq9.fsf@gnu.org> <87ft1stdqp.fsf@gnus.org> <83h7m82n1c.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31281"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: ofv@wanadoo.es, dgutov@yandex.ru, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 19 14:48:38 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 1lD697-00082r-P8 for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Feb 2021 14:48:37 +0100 Original-Received: from localhost ([::1]:42816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lD696-00027j-Q0 for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Feb 2021 08:48:36 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lD66r-0000qm-IT for emacs-devel@gnu.org; Fri, 19 Feb 2021 08:46:17 -0500 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:49588) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lD66p-0002hM-Qo; Fri, 19 Feb 2021 08:46:17 -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=/UAC5IB6ebryWykqmpM1jc9SMAUEUjqXiXfPKPm5goQ=; b=GQV0Wzaak8kUqWoOwvL+uk986P JJ0JgVP/JUNbpu+cplUev0sWLJiJQjenWjrMvKxTYHO7MOnycDSTSe+f/YUsRRaeSIIm2RG+5yk0U xLn1/k7oywepi3kIwo/bsqv7PCwNlBtiom1K1OXw8zcoHWSXP5pbb7YWM4ZayeZR+7u0=; Original-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 1lD66a-0002Wp-JJ; Fri, 19 Feb 2021 14:46:10 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEUgEg9gRSy2mnv/ ///07xp6AAAAAWJLR0QDEQxM8gAAAAd0SU1FB+UCEw0kLHnZlZYAAAGcSURBVCjPbdKxbtswEADQ oxFq6BQDZlF76xb0K2ijEdBMEqAjIE4dKiPiV3hJ5riIOGhyAVMw7yt7x6BbNUh8FHnHIwnwn0ft G/msfsj7c/wu7fq1YEYLsFu9yCgXkcc9fxUgJcGQrgKc468vcJwzgO4rqtMDrAPDjIrq84UbCYCT +Ppw4vGRp1jQWAmC3RirJtxIvvntp4HVTaPke6XrhkOgLEFFuiilx/Uk+E2NbqucxzLHvxlbUyaZ k91JtzURPQo8tIPzFHpZ5KjOeEQKhv+EZ4XokDInUhyZeheIeJGraD/lIXKAPwwL3yh6RiwIlBjL DMArDzm5TNF9gHuJJo5WTZaxUJ4CYP3SBe4NORIM9d76vM2ZY0BX7Rt/8dQTzYCHU6PfHZU8uLcN olRAHrgIM5iDAOGON3fdIi2UHBi419X7SGlIHgyiMp2nlNHzYXSAE5eTfQbFCOfrjm5jW2C23Y6r rsq5b47IW+D6ArMIcCo4zv7sb9gWhCdssNstBdsdJodPVKAxUN/78HGNEONjRP3vTt2t5079BfLO rQmAMz0ZAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTAyLTE5VDEzOjM2OjQ0KzAwOjAw8eFwSQAA ACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wMi0xOVQxMzozNjo0NCswMDowMIC8yPUAAAAASUVORK5C YII= X-Now-Playing: Kate Bush's _Never For Ever_: "The Infant Kiss" In-Reply-To: <83h7m82n1c.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 19 Feb 2021 15:40:47 +0200") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org 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_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:265251 Archived-At: Eli Zaretskii writes: > Unless "most" means 95% percent or so, and we can disregard the > remaining 5%, how is it useful to know that "most" autoloaded commands > are not mode-specific? We will need to handle both those that are and > those that aren't, so the fact that commands that are mode-specific > and yet are autoloaded are a minority doesn't help, does it? Of course we need to handle them -- that's never been a topic here. Dmitry asked whether using `put' as the mode specifier would increase the size of the autoload files significantly (as opposed to how I implemented it, which is to stick them in the interactive spec slot), and I said that based on initial tagging, that's not really much of a concern one way or another, because most ;;;###autoload functions are global. I.e., changing the implementation to use `put' won't blow the size of loaddefs.el up. So the minority status of ;;;###autoloaded mode-specific commands was the entire point. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no