gnu-emacs-sources
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNU ELPA] Validate version 1.0.4


From: ELPA update
Subject: [GNU ELPA] Validate version 1.0.4
Date: Sun, 31 Mar 2024 06:05:02 -0400

Version 1.0.4 of package Validate has just been released in GNU ELPA.
You can now find it in M-x list-packages RET.

Validate describes itself as:

  ================================
  Schema validation for Emacs-lisp
  ================================

More at https://elpa.gnu.org/packages/validate.html

## Summary:

  This library offers two functions that perform schema validation.
  Use this is your Elisp packages to provide very informative error
  messages when your users accidentally misconfigure a variable.
  For instance, if everything is fine, these do the same thing:

    1.  (validate-variable 'cider-known-endpoints)
    2.  cider-known-endpoints

  However, if the user has misconfigured this variable, option
  1. will immediately give them an informative error message, while
  option 2. won't say anything and will lead to confusing errors down
  the line.

  The format and language of the schemas is the same one used in the
  `:type' property of a `defcustom'.

      See: (info "(elisp) Customization Types")

## Recent NEWS:

[Not provided 🙁]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]