unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Lars Ingebrigtsen <larsi@gnus.org>, Juri Linkov <juri@linkov.net>
Cc: 50674@debbugs.gnu.org
Subject: bug#50674: Major mode for etc/AUTHORS with basic font-locking
Date: Tue, 21 Sep 2021 01:28:05 -0700	[thread overview]
Message-ID: <CADwFkm=83qAOEz7HFAQxJU5KcDiUbsragrHYd_KQ-=2z28Jg0A@mail.gmail.com> (raw)
In-Reply-To: <87tuiecv9n.fsf@gnus.org>

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Juri Linkov <juri@linkov.net> 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.





  parent reply	other threads:[~2021-09-21  8:28 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-19 14:12 bug#50674: Major mode for etc/AUTHORS with basic font-locking Stefan Kangas
2021-09-19 15:19 ` Lars Ingebrigtsen
2021-09-19 16:25 ` Eli Zaretskii
2021-09-19 21:58   ` Stefan Kangas
2021-09-21 19:54     ` Stefan Kangas
2021-09-19 16:33 ` Juri Linkov
2021-09-19 17:38   ` Stefan Kangas
2021-09-20  6:41     ` Juri Linkov
2021-09-20  7:42       ` Stefan Kangas
2021-09-20  9:14         ` Stefan Kangas
2021-09-20 15:24           ` Juri Linkov
2021-09-21  6:12             ` Lars Ingebrigtsen
2021-09-21  6:25               ` Eli Zaretskii
2021-09-21  6:28                 ` Lars Ingebrigtsen
2021-09-21  7:57                   ` Stefan Kangas
2021-09-21  8:36                   ` Eli Zaretskii
2021-09-21  8:58                     ` Stefan Kangas
2021-09-21  9:24                       ` Eli Zaretskii
2021-09-21 11:18                         ` Stefan Kangas
2021-09-21 11:25                           ` Eli Zaretskii
2021-09-21  8:28               ` Stefan Kangas [this message]
2021-09-21 16:51                 ` Lars Ingebrigtsen
2021-09-21 17:56                 ` Lars Ingebrigtsen
2021-09-21 18:33                   ` Stefan Kangas
2021-09-21 18:41                     ` Juri Linkov
2021-09-21 18:56                       ` Eli Zaretskii
2021-09-21 19:22                       ` Stefan Kangas
2021-09-21 17:28 ` Juri Linkov
2021-09-21 18:33   ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkm=83qAOEz7HFAQxJU5KcDiUbsragrHYd_KQ-=2z28Jg0A@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=50674@debbugs.gnu.org \
    --cc=juri@linkov.net \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).