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: master 0161c9d 1/2: Load all generic-x.el modes unconditionally Date: Fri, 12 Feb 2021 17:41:06 +0200 Message-ID: <831rdlfg4t.fsf@gnu.org> References: <20210209160550.18823.10795@vcs0.savannah.gnu.org> <83im71j96z.fsf@gnu.org> <83czx8k3gn.fsf@gnu.org> <83sg64hqzj.fsf@gnu.org> <83im6zj1bo.fsf@gnu.org> <83k0reh6l6.fsf@gnu.org> <83eehmh07n.fsf@gnu.org> <83y2ftg4hm.fsf@gnu.org> <83eehlfiy8.fsf@gnu.org> <83a6s9fhpm.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26761"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, stefan@marxist.se, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 12 16:43:48 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 1lAabj-0006re-Bg for ged-emacs-devel@m.gmane-mx.org; Fri, 12 Feb 2021 16:43:47 +0100 Original-Received: from localhost ([::1]:57048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAabi-0002kQ-BZ for ged-emacs-devel@m.gmane-mx.org; Fri, 12 Feb 2021 10:43:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAaZ3-0007Gp-7r for emacs-devel@gnu.org; Fri, 12 Feb 2021 10:41:01 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52304) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAaZ2-0003K3-Ep; Fri, 12 Feb 2021 10:41:00 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1486 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lAaZ1-0004mt-FH; Fri, 12 Feb 2021 10:41:00 -0500 In-Reply-To: (message from Stefan Monnier on Fri, 12 Feb 2021 10:23:39 -0500) 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:264522 Archived-At: > From: Stefan Monnier > Cc: stefan@marxist.se, larsi@gnus.org, emacs-devel@gnu.org > Date: Fri, 12 Feb 2021 10:23:39 -0500 > > >> Nothing terrible. The question for me was rather "what's the benefit?". > >> But among the disadvantages, the most obvious one is that you can't rely on > >> (require 'generic-x) to define your function. > > Yes, but the docs of the package explicitly documents this, so this is > > intended behavior. Like I said, the package is a bit unusual; but > > being unusual doesn't mean it's bad. It gets the job done. > > I think unusual is bad unless there's some clear benefit. This could be a valid argument 20+ years ago, when the package was added to Emacs. But that ship has sailed. > Having control over which modes are auto-activated via `auto-mode-alist` > is good, so it's a part we can keep. > > Having control over which functions are defined doesn't seem to offer > any benefit, so I'd rather get rid of this unusual aspect. Didn't I say that I'm okay with the former? It's fun to argue, I know, but since we agree, do we have to continue? I only mentioned reverting the whole changeset because I sensed Stefan Kangas was leaning towards it.