From: Ergus <spacibba@aol.com>
To: "Óscar Fuentes" <ofv@wanadoo.es>
Cc: emacs-devel@gnu.org
Subject: Re: Feature request: CMake-mode
Date: Fri, 2 Oct 2020 02:53:25 +0200 [thread overview]
Message-ID: <20201002005325.xew6i3ypgdmnon5j@Ergus> (raw)
In-Reply-To: <87blhlfp7u.fsf@telefonica.net>
On Fri, Oct 02, 2020 at 02:25:57AM +0200, �scar Fuentes wrote:
>Ergus <spacibba@aol.com> writes:
>
>> Hi:
>>
>> I have just noticed that Emacs does not have any native mode for cmake,
>> not even in elpa. And cmake is becomming more and more popular these
>> days.
>
>Yes.
>
>> There is a package in melpa which is very poorly maintained by the
>> cmake community.
>>
>> https://melpa.org/packages/cmake-mode-20190710.1319.el
>> https://github.com/Kitware/CMake/blob/master/Auxiliary/cmake-mode.el
>
>And you think that we would do better? :-)
>
The package seems not really very maintained.
>> But it is indeed very poor and limited compared to others like:
>>
>> https://melpa.org/#/cmake-font-lock
>
>This one just adds advanced syntax highlighting, it does not provide
>indentation, etc.
>
Well, it is indeed better than the other. Also the other one covers
indentation decently fine.
But also the implementation of this one is much more complete.
>> and produces some conflicts when interacting.
>
>Those are bugs, because its README says
>
> This package is designed to be used together with a major mode for
> editing CMake files.
>
>and then goes on explicitly mentioning Kitware's mode.
>
Actually the problem is that part of the work the package does is
supposed to be implemented in the major mode not in a minor mode. Look
at this issue and the final comments:
https://github.com/Lindydancer/cmake-font-lock/issues/9
It has a similar issue with packages like rainbow.
>> Could we consider to add a native cmake mode to vanilla or contact the
>> Kitware people to add this one to elpa? Or in the worst case to change
>> the name of their package in order to release the name and add a GPL
>> versioned one to elpa?
>
>CMake releases new versions quite often, so an elpa package (not to
>mention a vanilla one) would soon be outdated unless someone (TM)
>commits to keeping it up to date.
>
That's true. But actually the Kitware file supports only the most basic
keywords. Most of the new features, and syntax are not included there
any way.
>I've interacted with the Kitware guys on the distant past and I *guess*
>that they would be glad to put their mode on elpa, but the relicensing
>and paper signing are not straightforward because right now I see 11
>contributors to that source file and most of them are not Kitware
>employees. Isn't there a new elpa repository for non-GNU packages? That
>would make this issue irrelevant.
>
next prev parent reply other threads:[~2020-10-02 0:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87mu15tw3d.fsf.ref@Ergus.i-did-not-set--mail-host-address--so-tickle-me>
2020-10-01 22:33 ` Feature request: CMake-mode Ergus
2020-10-02 0:25 ` Óscar Fuentes
2020-10-02 0:53 ` Ergus [this message]
2020-10-02 2:49 ` Óscar Fuentes
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=20201002005325.xew6i3ypgdmnon5j@Ergus \
--to=spacibba@aol.com \
--cc=emacs-devel@gnu.org \
--cc=ofv@wanadoo.es \
/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).