package-lint VS compat

Compare package-lint vs compat and see what are their differences.

package-lint

A linting library for elisp package metadata (by purcell)

compat

COMPATibility Library for Emacs Lisp (by emacs-compat)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
package-lint compat
6 8
185 60
- -
7.7 7.8
8 days ago 10 days ago
Emacs Lisp Emacs Lisp
GNU General Public License v3.0 only GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

package-lint

Posts with mentions or reviews of package-lint. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-04.
  • Small elisp question
    2 projects | /r/emacs | 4 Feb 2023
    Exactly! This is also why I like Compat. I have to read through the Emacs NEWS anyway, then I can just as well add the functions directly to Compat. The small downside however is that Compat pretends that some function is available in your Emacs. If you write a package you must look twice where a function is coming from. This should not be a problem if you use package-lint, which you should! But see also https://github.com/purcell/package-lint/issues/227.
  • Compat 29.1.3.0
    6 projects | /r/emacs | 22 Jan 2023
    Thank you for reading that far. If you have feedback, questions or improvement proposals, please let me know. I hope that Compat is useful for you. If you miss some important functionality, feel free to open an issue on the issue tracker. Any help in adding missing functionality is welcome. In case you are interested in upstream development, you may want to help with scanning through years of the Emacs Git log for added functionality. A laborious process, but the Emacs library diffs from package-lint are useful. Unfortunately package-lint does not yet support Compat and warns if you use compatibility functions. Also package-lint does not yet track argument number changes. Help with those package-lint issues would be greatly appreciated.
  • Some of my plugins which will be published to MELPA
    4 projects | /r/emacs | 28 Dec 2022
    I would suggest using the checkdoc command in each of your package buffers. It will point out stylistic errors. flymake-mode will help catch byte-compilation errors as well. You should also install https://github.com/purcell/package-lint and M-x package-lint-current-buffer to get these up to par for MELPA.
  • org-custom-cookies: create custom statistics cookies in org-mode
    3 projects | /r/emacs | 27 Sep 2022
    (Note that the current minimum requirement for Emacs is set to 27.2, I'm pretty sure this can be lowered but I'm waiting on this issue for confirmation. Until then, if you have an older version, you should probably be able to install with quelpa just fine).
  • vanish.el: hide parts of a buffer
    8 projects | /r/emacs | 6 Aug 2022
    Also consider using checkdoc and package-lint before you publish stuff, it is really annoying to get warning pop-up for docs wider than 80 chars. Those are so easy to catch up. Generally, it is good to follow Melpa guidelines even if you don't plan to publish your package in Melpa.
  • [ANN]: fill-sentences-correctly.el: Fill sentences with two spaces after a period while accepting one
    2 projects | /r/emacs | 30 Dec 2021
    I strongly suggest you to use package-lint when writing packages. It will point out all version mismatches, and some other things.

compat

Posts with mentions or reviews of compat. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-12.
  • Don't make Emacs keymaps -- define them.
    1 project | /r/emacs | 14 Jun 2023
    With the Compat library you can use define-keymap right away in your packages. See also my post about Compat.
  • Which package manager should I use?
    5 projects | /r/emacs | 12 Apr 2023
    Exactly, I think printing a loud warning is a perfectly acceptable solution. The note should ideally tell the user to ensure that dependencies are met. It makes sense to teach users a little better about the limitations of Straight or Elpaca with respect to dependency handling since I've seen many reports across the ecosystem where people didn't properly update dependencies. I usually bump dependencies when I really need new functionality. In particular with our Compat package, versions are meaningful and should be respected.
  • The Compat Elisp Library: A Package Maintainer’s Best Friend
    1 project | /r/emacs | 16 Mar 2023
    Compat co-maintainer here. Thank you for writing this post! One minor correction: Compat supports Emacs 24.4 and newer. Please link to the upstream repository at https://github.com/emacs-compat/compat instead of the Straight mirror, since the mirror does not preserve the Git history.
  • Small elisp question
    2 projects | /r/emacs | 4 Feb 2023
    As /u/usaoc said, ensure-list can be used for this purpose - I use it all the time in my packages. I recommend to take advantage of the Compat package from GNU ELPA, such that you can use all new Emacs APIs even in packages targeting older Emacs versions. I am the maintainer of Compat. See also https://www.reddit.com/r/emacs/comments/10iep0o/compat_29130/ for more background.
  • compat: Compatibility Library for Emacs Lisp
    1 project | /r/planetemacs | 24 Jan 2023
  • Compat 29.1.3.0
    6 projects | /r/emacs | 22 Jan 2023
    I released version 29.1.3.0 of Compat, the Elisp forwards-compatibility library on GNU ELPA. This library may be interesting for you, if you want to use newer Emacs developments in your packages without breaking backward compatibility with older Emacs versions.
  • compat--inhibit-prefixed error in Org-Roam
    2 projects | /r/emacs | 19 Jul 2022
    I updated some packages which included updating the dependency compat.el to 28.1.2.0

What are some alternatives?

When comparing package-lint and compat you can also consider the following projects:

org-custom-cookies - An Emacs package that allows you to create custom cookies in org-mode

exec-path-from-shell - Make Emacs use the $PATH set up by the user's shell

dired-auto-readme - An Emacs package to automatically display a README file when one is present in a dired buffer.

smartparens - Minor mode for Emacs that deals with parens pairs and tries to be smart about it.

generators - Functions to generate data structures

vertico - :dizzy: vertico.el - VERTical Interactive COmpletion

obvious.el - Who needs comments when the code is so obvious

straight.el - 🍀 Next-generation, purely functional package manager for the Emacs hacker.

range-pattern - Range pattern for pcase

corfu - :desert_island: corfu.el - COmpletion in Region FUnction

vanish.el - vanish.el: hide different parts of a buffer

consult - :mag: consult.el - Consulting completing-read