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

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

[GNU ELPA] Consult version 2.1


From: ELPA update
Subject: [GNU ELPA] Consult version 2.1
Date: Tue, 11 Mar 2025 17:05:00 -0400

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

Consult describes itself as:

  ==========================
  Consulting completing-read
  ==========================

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

## Summary:

                 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                  CONSULT.EL - CONSULTING COMPLETING-READ
                 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

## Recent NEWS:

                        ━━━━━━━━━━━━━━━━━━━━━━━━
                         CONSULT.EL - CHANGELOG
                        ━━━━━━━━━━━━━━━━━━━━━━━━





1 Version 2.1 (2025-03-11)
══════════════════════════

  • Remove obsolete `consult--async-*' APIs.
  • File preview: Ensure that remote files do not slow down preview.
  • File preview: Do not preview gpg files.
  • `consult-yank-pop', `consult-history': Respect display properties
    when previewing to avoid leaking hidden data.
  • `consult-completion-in-region': Auto-detect completion UI.
  • `consult-completion-in-region': Improve handling of single
    candidates.


2 Version 2.0 (2025-01-28)
══════════════════════════

  • New features:
    ⁃ `consult--multi': Add support for asynchronous sources.
    ⁃ `consult-man': Add preview.
  • *BREAKING CHANGE*: New async API
    ⁃ Async functions must have the uniform curried form `(lambda (sink)
      (lambda (action) ...)' and are composed with
      `consult--async-pipeline'. See the docstring of
      `consult--async-pipeline' for details.
    ⁃ `consult--read': New `:async-wrap' keyword argument.
    ⁃ `consult--multi': Add support for `:async' sources.
    ⁃ `consult--async-min-input': New async function which enforces a
      minimum input length. The input length check has been removed from
      `consult--async-split'.
    ⁃ `consult--async-transform': Macro converted to function.
    ⁃ `consult--process-collection': New function replacing
      `consult--async-command'.  The function accepts keyword arguments
      to customize the pipeline.
    ⁃ `consult--dynamic-collection': The function accepts more keyword
      arguments to customize the pipeline.
    ⁃ `consult--async-refresh-timer' and
      `consult--async-refresh-immediate': Replaced by
      `consult--async-refresh' with a `DELAY' argument.
    ⁃ `consult--async-split-thingatpt' and
      `consult--async-split-initial': Removed since `consult--read'
      automatically inserts the splitter prefix if needed.
  • Minor changes:
    ⁃ Remove obsolete `consult-yank-rotate'.
    ⁃ Add customizable variable `consult-async-indicator'.
    ⁃ `consult-completion-in-region': When inside minibuffer, use
      minibuffer content as prompt.


3 Version 1.9 (2024-12-22)
══════════════════════════

  • Require Emacs 28.1.
  • `consult-grep', `consult-find' and similar commands: Ask for project
    first, when invoked with double prefix argument `C-u C-u'.
  • Deprecate `consult-yank-rotate' in favor of
    `yank-from-kill-ring-rotate'.
  • `consult-grep-max-columns': Support value `nil' to disable
    truncation.
  • `consult-line': Enforce global completion style settings for
    compatibility with buffer-local completion style settings, which may
    be used by Corfu.
  • Support the value 0 for `consult-async-min-input'.
  • Remove special `org-fold' code. Set `org-fold-core-style' to
    `overlays' if unfolding in Org files does not work for you.
  • `consult-info': Support sub files.
  • `consult-buffer', `consult-project-buffer': Add sources for known
    project roots.
  • `consult--multi': Support multiple narrow keys per source. Used by
    the project buffer and project recent file source.
  • `consult--async-sink': The new action `cancel' was added to the
    async protocol.
  • `consult--read': Add new keyword argument `:initial-narrow'.


4 Version 1.8 (2024-07-25)
══════════════════════════

  • `consult-preview-excluded-buffers': New customization variable.
  • `consult-fd': Support multiple paths.
  • Bump Compat dependency to Compat 30.


5 Version 1.7 (2024-05-23)
══════════════════════════

  • Emacs 30 bug fix: Ensure that font locking is enabled when
    previewing files.
  • `consult-preview-allowed-hooks': Global minor modes, which should be
    enabled during preview, can be added to this list. See the README
    for examples.
  • `consult-xref': Bug fix: Do not error when project root directory is
    nil.
  • `consult-fd': Bug fix: Avoid confusion of input pattern with options
    by prefixing the input pattern with `--and'.
  • `consult--buffer-sort-visibility': Bug fix: Only add current buffer
    to sorted list, if already present in the original list.


6 Version 1.6 (2024-05-15)
══════════════════════════

  • `consult-xref': Compatibility with xref.el in Emacs 30.
  • `consult-grep' (and similar): Preserve files which are already open
    literally and do not reopen them in normal mode.
  …  …

reply via email to

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