From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#8158: Definition of auto-mode-alist Date: Fri, 22 Oct 2021 17:15:45 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28397"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 8158@debbugs.gnu.org, monnier@iro.umontreal.ca, rrt@sc3d.org To: Richard Stallman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 23 02:17:18 2021 Return-path: Envelope-to: geb-bug-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 1me4iq-00079t-Kr for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Oct 2021 02:17:16 +0200 Original-Received: from localhost ([::1]:39876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1me4ip-0001BB-I0 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Oct 2021 20:17:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57856) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1me4hf-0000Ry-4X for bug-gnu-emacs@gnu.org; Fri, 22 Oct 2021 20:16:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50698) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1me4he-0007HM-SH for bug-gnu-emacs@gnu.org; Fri, 22 Oct 2021 20:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1me4he-0001jZ-Mw for bug-gnu-emacs@gnu.org; Fri, 22 Oct 2021 20:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Oct 2021 00:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8158 X-GNU-PR-Package: emacs Original-Received: via spool by 8158-submit@debbugs.gnu.org id=B8158.16349481526616 (code B ref 8158); Sat, 23 Oct 2021 00:16:02 +0000 Original-Received: (at 8158) by debbugs.gnu.org; 23 Oct 2021 00:15:52 +0000 Original-Received: from localhost ([127.0.0.1]:34006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1me4hU-0001id-AX for submit@debbugs.gnu.org; Fri, 22 Oct 2021 20:15:52 -0400 Original-Received: from mail-pg1-f182.google.com ([209.85.215.182]:38643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1me4hT-0001iS-Eh for 8158@debbugs.gnu.org; Fri, 22 Oct 2021 20:15:51 -0400 Original-Received: by mail-pg1-f182.google.com with SMTP id e65so4712038pgc.5 for <8158@debbugs.gnu.org>; Fri, 22 Oct 2021 17:15:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=nHZZsz5QWaHpMJPZCN07FHMxa/lRSsZvNHB3guAHCLE=; b=55/pQG0UufRh54oOOtFKdbv/0V2LM779QiQISvnLUu/QHmbA2xSROg7EXDax3vO5IE iNA/BOdjsAHaPqS8ON/D2vFnUbSsdPnnIuVrTb8Ru83nIT+V1A9RHcn4K/76Ie7ZbKCu eYsIUi5SoHdJhzPN5n7YmqmzcrenTklIzRz0lcQnxojpeYfUiwTQR+Pe+bWOz5jfKr2o MWO0qtVN86ZmHjVZ15Z7KZZj7n83NMhNwbgBNUUvsBK7HeyCZtJSdhIqWzd3ZB7wSxjf 5B9QVBzpxVILcFh2mr0fOXcxspfB4JN8lmiEcPmnPiytMqLVQ00srJFNzaoNaK9Bs49D BSsQ== X-Gm-Message-State: AOAM530vrriN6MKH4xFEU2JE3wxN9C7nHGp6ELp4a3OlRDYYU4HID/dm n8mpkpcmHSfLn5z4G1kzeFY0c+QY9dOgTrNbcW4= X-Google-Smtp-Source: ABdhPJysWJMX5BsRh7XDsx9r4RhhvMHEWWCsftW2CStPB5h5T9grE6NZGalzhvy5nA7s4fJxR3w/ZGMF3lLKjQ+0gyI= X-Received: by 2002:aa7:978b:0:b0:44c:abf1:a8b8 with SMTP id o11-20020aa7978b000000b0044cabf1a8b8mr3244449pfp.35.1634948145820; Fri, 22 Oct 2021 17:15:45 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 22 Oct 2021 17:15:45 -0700 In-Reply-To: (Richard Stallman's message of "Fri, 22 Oct 2021 19:45:57 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:217929 Archived-At: Richard Stallman writes: > > > I agree, but I think Richard disagrees. > > What is the question that maybe I disagree about? The full initial message was: > A comment in files.el says: > > ;; Note: The entries for the modes defined in cc-mode.el (c-mode, > ;; c++-mode, java-mode and more) are added through autoload > ;; directives in that file. That way is discouraged since it > ;; spreads out the definition of the initial value. > > Isn't this a bit unmodular as Emacs continues to grow, and given loaddefs.el? > > If the maintainers agree, then the last sentence should be changed to > encourage the removal of the initial values back into the relevant > mode files. What I propose is to make no concrete change besides removing that comment. This avoids people rushing off to change everything around, which is probably not what we want at this point, but also doesn't very strongly discourage a more modular design. If any problems crop up, we can address them with specific fixes.