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#50674: Major mode for etc/AUTHORS with basic font-locking Date: Tue, 21 Sep 2021 01:28:05 -0700 Message-ID: References: <87o88oikye.fsf@mail.linkov.net> <87ee9jpxke.fsf@mail.linkov.net> <874kafqx57.fsf@mail.linkov.net> <87tuiecv9n.fsf@gnus.org> 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="24573"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50674@debbugs.gnu.org To: Lars Ingebrigtsen , Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 21 10:33:04 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 1mSbD6-00067L-Bl for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Sep 2021 10:33:04 +0200 Original-Received: from localhost ([::1]:54136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSbD4-0001Dg-Ax for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Sep 2021 04:33:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSb9D-0006q3-7g for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2021 04:29:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33279) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSb9C-0007kf-W2 for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2021 04:29:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mSb9C-0006pf-CL for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2021 04:29: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: Tue, 21 Sep 2021 08:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50674 X-GNU-PR-Package: emacs Original-Received: via spool by 50674-submit@debbugs.gnu.org id=B50674.163221289426196 (code B ref 50674); Tue, 21 Sep 2021 08:29:02 +0000 Original-Received: (at 50674) by debbugs.gnu.org; 21 Sep 2021 08:28:14 +0000 Original-Received: from localhost ([127.0.0.1]:44825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSb8P-0006oS-Nh for submit@debbugs.gnu.org; Tue, 21 Sep 2021 04:28:13 -0400 Original-Received: from mail-pg1-f181.google.com ([209.85.215.181]:35568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSb8O-0006oD-9r for 50674@debbugs.gnu.org; Tue, 21 Sep 2021 04:28:12 -0400 Original-Received: by mail-pg1-f181.google.com with SMTP id e7so20037917pgk.2 for <50674@debbugs.gnu.org>; Tue, 21 Sep 2021 01:28:12 -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:mime-version:date :message-id:subject:to:cc; bh=qEAQpn61g+1H4x74avfRWR9vt8yYnZbqdz23j0wux/w=; b=nJpPjoqKufMzh9+vuBu2UcY9zSLaXdPv/nRZspRLN1DDp33ysRy6lMYJkJ3MID+Re9 JSncd9NqRTf+WcHZL+6tRlmyXNgAgNem7v3Oj9SO9rQe5u69zgDyy86ONtcaltNC10+A h9z5j78g2LpctAF34QzS/pwrpSnoAvDj3aVWf3O7kVdM0ZaqDmrq9aNgKhkkm9pze+iD fkktzumC+GP5oHVSFJd9y/GmHok/cW5H+PXdmIfLlzRgoiXH+NkkbgH0UTuCQhmHDHKB eF41XkUZO+uu+I5378loDhjdZ3MSHRAKh+IhVIjpdxM5PZFt73CKeTPzLomBzAHaqGIk 2pIA== X-Gm-Message-State: AOAM530aP1S6/WyZqBhZjrF0sc3mNevTFp15fXJR3TT1oyxBKVTvuZmE 0IdXxU/ZcQhrrf/5nwwusi6nxVYoA6AX+FpvZtU= X-Google-Smtp-Source: ABdhPJx7JI0Fk3PlppMwhN0B9Olss5BwUY+cMIXT3QHKd9g0D3kbe39jo6aTHRZc8UML9BuFQBlUJGyUOaEyiiPr8jA= X-Received: by 2002:a63:a311:: with SMTP id s17mr26834990pge.359.1632212886423; Tue, 21 Sep 2021 01:28:06 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 21 Sep 2021 01:28:05 -0700 In-Reply-To: <87tuiecv9n.fsf@gnus.org> 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:214924 Archived-At: Lars Ingebrigtsen writes: > Juri Linkov writes: > >>> If the worry is that it will clutter >>> lisp/textmodes, perhaps we could add a new directory where such >>> "small" modes could go. >> >> It really will clutter lisp/textmodes. > > I'd prefer to have it as a separate file. Same. > However, it is a really, really specialised mode -- for one single > Emacs file -- so perhaps it would make sense to create a specific > sub-directory for it (and similar things that are kinda meta-Emacsey). Yes, we could add a new directory. It seems to me that very few things would be in a directory for meta-Emacsey things. The only other file I could think to add font-locking for is COPYING and perhaps DISTRIB (as those are reachable from the splash-screen). Maybe the tutorial could use some font-locking as well, but we could put that in tutorial.el. Another idea is to add, on the same level as progmodes and textmodes, a new directory "display-modes", in which we would put modes that are not really meant for editing. I can see several modes that would in principle fit in such a directory: help-mode, tabulated-list-mode, world-clock, etc. (There would be no immediate need to move anything, however.) Or, you know, we just live with having it in textmodes. I don't think it's too bad, all things considered. We are talking of a very small number of files here, and it's not like we add new textmodes every week. Worst case, we move it later; it's small enough that convenient access to its git history is probably not even a concern.