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

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

[GNU ELPA] Setup version 1.4.0


From: ELPA update
Subject: [GNU ELPA] Setup version 1.4.0
Date: Sat, 13 Apr 2024 05:03:53 -0400

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

Setup describes itself as:

  ===========================
  Helpful Configuration Macro
  ===========================

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

## Summary:

  The `setup' macro simplifies repetitive configuration patterns, by
  providing context-sensitive local macros in `setup' bodies.  These
  macros can be mixed with regular elisp code without any issues,
  allowing for flexible and terse configurations.  The list of local
  macros can be extended by the user via `setup-define'.  A list of
  currently known local macros are documented in the docstring for `setup'.

## Recent NEWS:

Version 1.4.0 (13Apr24)

- New :bind-to macro, that takes a key chord and binds the
  context-relevant function.  E.g.

  (setup (:package do-at-point)
    (:bind-to "C-'"))

- New :autoload-this creates an auto-load cookie for the
  context-relevant function by connecting it to the
  context-relevant feature.

- Avoid calling `package-refresh-contents' in :package if it is not
  necessary.  The check here was broken, as Ralf Schmitt noticed.

- Earl Hyatt improved the :repeatable keyword to support a prefix
  of non-repeating arguments.

- Passing a map to :bind-into has been deprecated, since there is
  no reliable way to deduce the feature that holds the map.  I
  apologise for the inconvenience.  The functionality will remain
  for a while, but I would advise rewriting affected configuration.



reply via email to

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