From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: master 0161c9d 1/2: Load all generic-x.el modes unconditionally Date: Fri, 12 Feb 2021 10:23:39 -0500 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25574"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: larsi@gnus.org, stefan@marxist.se, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 12 16:25: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 1lAaJh-0006YU-QS for ged-emacs-devel@m.gmane-mx.org; Fri, 12 Feb 2021 16:25:09 +0100 Original-Received: from localhost ([::1]:44786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAaJg-00017A-SU for ged-emacs-devel@m.gmane-mx.org; Fri, 12 Feb 2021 10:25:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46516) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAaIQ-0008RS-MW for emacs-devel@gnu.org; Fri, 12 Feb 2021 10:23:51 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:17034) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAaIK-0004K1-2S; Fri, 12 Feb 2021 10:23:49 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 251A780BB9; Fri, 12 Feb 2021 10:23:42 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id A61D580207; Fri, 12 Feb 2021 10:23:40 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1613143420; bh=WI22hXmIui8Vm/XeQ9YNPpdy9SqAJW2DnFO3nan8ZY0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=SJy8vJu6iiY56nN1qkROagppqmQizbCbNdAQbAAx+QuxcIrqzZsvlkU7bcNJ435Pw 8S2mBp/fzK+xP/luy70YhBYXB6bW6ZgXNGoj1/ICiM2UU9rFbr98LimmTbGkQgbPog 9Re9o6URHE/ZMZwFrxk8PWWgLUlSfnlmTH0oxnniJL3rTdHJmUvy+isf8BH2AmdT+g JaMsf1RzTNKm6aXvpxHm8dEhUKmlUMb/dFJxb6vqJm4WVkBRNRQCC4HAA2yqMafIKc 2yj/natmp/g0pYXezukom+QTh5HjQjYmfNWitji2A6F+nM/GfZGVTtdfidEaW0bRPF ASGb+mrIjTONQ== Original-Received: from alfajor (unknown [216.154.41.47]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 211F7120401; Fri, 12 Feb 2021 10:23:40 -0500 (EST) In-Reply-To: <83a6s9fhpm.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 12 Feb 2021 17:07:01 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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:264519 Archived-At: >> 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. 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. Stefan