~pkal/public-inbox

[GNU ELPA] Setup version 1.4.0

Details
Message ID
<85il0lr5vq.fsf@elpa.gnu.org>
DKIM signature
missing
Download raw message
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 to thread Export thread (mbox)