[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RFC: pruning some syntaxes
From: |
Benno Schulenberg |
Subject: |
RFC: pruning some syntaxes |
Date: |
Wed, 8 Apr 2020 12:07:33 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
Hi all,
Currently nano ships with 44 syntax files, that all get installed by default
into /usr/share/nano. But some of these syntaxes are not generally useful,
in my opinion.
So, I propose to add a subdirectory "extra/" to the syntax directory, and move
some of the syntaxes there.
1) debian.nanorc, gentoo.nanorc, and spec.nanorc -- these syntax files are
specific to certain distros and it makes no sense to install them by default
on other distros. The package maintainers of the relevant distros will have
to add a rule to their build script to copy the distro-specific syntax from
syntax/extra/.
2) pov.nanorc -- very few people will be using povray files, and when comparing
the syntax file to what midnight commander has, it appears far from complete.
Further I propose to remove mgp.nanorc altogether as it hardly contains
anything,
and to rename mutt.nanorc to email.nanorc (and rename the syntax to "email" too,
and add some rules for coloring "From:" and "Date" and "Subject:" lines).
Comments?
Also, having an extra/ subdir allows us to ship some more syntaxes in the
tarball
without burdening the default install with them. For which languages should
nano
ship a syntax file?
As nano is a simple text editor, I think it should have a syntax for Markdown
files. Who uses Markdown and can contribute a syntax for it?
Benno
signature.asc
Description: OpenPGP digital signature
- RFC: pruning some syntaxes,
Benno Schulenberg <=
- Re: RFC: pruning some syntaxes, Brand Huntsman, 2020/04/08
- Re: RFC: pruning some syntaxes, Benno Schulenberg, 2020/04/08
- Re: RFC: pruning some syntaxes, Brand Huntsman, 2020/04/08
- Re: RFC: pruning some syntaxes, Benno Schulenberg, 2020/04/09
- Re: RFC: pruning some syntaxes, Brand Huntsman, 2020/04/09
- Re: RFC: pruning some syntaxes, Benno Schulenberg, 2020/04/10
- Re: RFC: pruning some syntaxes, Brand Huntsman, 2020/04/11
- Re: RFC: pruning some syntaxes, Zach DeCook, 2020/04/11
- Re: RFC: pruning some syntaxes, Benno Schulenberg, 2020/04/12