GNU ELPA - consult-denote

consult-denote Atom Feed

Description
Use Consult in tandem with Denote
Latest
consult-denote-0.1.1.tar (.sig), 2024-Jul-04, 60.0 KiB
Maintainer
Protesilaos Stavrou <info@protesilaos.com>
Website
https://github.com/protesilaos/consult-denote
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

consult-denote for GNU Emacs

Glue code to integrate my denote package with Daniel Mendler's consult. The idea is to enhance minibuffer interactions, such as by providing a preview of the file-to-linked/opened and by adding more sources to the consult-buffer command.

  • Package name (GNU ELPA): consult-denote
  • Official manual: not available yet.
  • Change log: not available yet.
  • Git repositories:
  • Backronym: Consult-Orchestrated Navigation and Selection of Unambiguous Targets...denote.

Integrate the denote and consult packages:

  • Denote : A file-naming scheme to easily retrieve files of any type. Useful for note-taking and long-term storage files.
  • Consult: Enhanced interactivity for the standard Emacs minibuffer, such as a preview mechanism for buffers and an asynchronous grep/find.

The purpose of consult-denote is as follows:

  1. Upgrade all the minibuffer prompts of Denote: For the time being, this means that we show a preview of the file to-be-linked or to-be-opened. Simply enable the consult-denote-mode. The prompts use the same patterns of interaction as core Denote and will never deviate from this paradigm, such as to prettify titles or whatnot (that is an expensive operation that slows down Emacs).

  2. Easy search for the denote-directory: Implement Consult-powered Grep and Find commands which operate on the denote-directory regardless of where they are called from. See the commands consult-denote-grep and consult-denote-find. Customise which command they call by modifying the user options consult-denote-grep-command and consult-denote-find-command.

  3. Include Denote "sources" for consult-buffer: This is also part of the consult-denote-mode. It adds new headings/groups to the interface of the consult-buffer command. Those lists (i) the buffers that visit Denote files, (ii) the subdirectories of the denote-directory, and (iii) the silos listed in the value of the user option denote-silo-extras-directories (for those who opt in to that extension).

In the future we may use other features of Consult, based on user feedback.

Old versions

consult-denote-0.0.0.tar.lz2024-May-092.36 KiB