From: Juri Linkov <juri@linkov.net>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: Philip Kaludercic <philipk@posteo.net>,
Jonas Bernoulli <jonas@bernoul.li>,
rms@gnu.org, emacs-devel@gnu.org
Subject: Re: [NonGNU ELPA] New package proposal: git-modes
Date: Fri, 22 Oct 2021 09:50:39 +0300 [thread overview]
Message-ID: <87wnm5imu0.fsf@mail.linkov.net> (raw)
In-Reply-To: <CADwFkmk_LnKZErOqLo_=Z5xsWObXa489Dame=-hY8g1VeLN6Rg@mail.gmail.com> (Stefan Kangas's message of "Thu, 21 Oct 2021 19:13:08 -0700")
>> gitignore-mode is completely trivial, basically just font-lock keywords.
>
> Couldn't .gitignore-mode basically just be replaced with
> `conf-unix-mode'? I have gitignore-mode running locally, but I'm not
> sure the syntax highlighting it does have is very helpful. Why
> highlight "/" in "foo/bar", for example?
.gitignore is already font-locked after (require 'generic-x),
but specific gitignore-mode is still needed to fontify at least
important syntax of the negation character "!".
But why not add this to generic-x.el?
next prev parent reply other threads:[~2021-10-22 6:50 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-18 18:08 [NonGNU ELPA] New package proposal: git-modes Jonas Bernoulli
2021-10-18 19:18 ` Stefan Monnier
2021-10-18 19:50 ` Philip Kaludercic
2021-10-18 22:13 ` Jonas Bernoulli
2021-10-20 6:46 ` Richard Stallman
2021-10-20 13:02 ` Stefan Kangas
2021-10-22 23:44 ` git-modes Richard Stallman
2021-10-20 18:52 ` [NonGNU ELPA] New package proposal: git-modes Philip Kaludercic
2021-10-21 22:42 ` Richard Stallman
2021-10-22 0:08 ` Jonas Bernoulli
2021-10-22 2:13 ` Stefan Kangas
2021-10-22 6:50 ` Juri Linkov [this message]
2021-10-22 7:57 ` Stefan Kangas
2021-10-23 18:14 ` Juri Linkov
2021-10-22 18:05 ` Jonas Bernoulli
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=87wnm5imu0.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=emacs-devel@gnu.org \
--cc=jonas@bernoul.li \
--cc=philipk@posteo.net \
--cc=rms@gnu.org \
--cc=stefankangas@gmail.com \
/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).