Function: denote-grep

denote-grep is an autoloaded, interactive and byte-compiled function defined in denote.el.

Signature

(denote-grep QUERY)

Documentation

Search QUERY in the content of Denote files.

QUERY should be a regular expression accepted by xref-search-program.

The files to search for are those returned by denote-directory-files with a non-nil TEXT-ONLY argument.

Results are put in a buffer which allows folding and further filtering (see the manual for details).

You can insert a link to a grep search in any note by using the command denote-query-contents-link.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
;;;###autoload
(defun denote-grep (query)
  "Search QUERY in the content of Denote files.
QUERY should be a regular expression accepted by `xref-search-program'.

The files to search for are those returned by `denote-directory-files'
with a non-nil TEXT-ONLY argument.

Results are put in a buffer which allows folding and further
filtering (see the manual for details).

You can insert a link to a grep search in any note by using the command
`denote-query-contents-link'."
  (interactive (list (denote-query-prompt)))
  (let ((denote-query--omit-current nil))
    (denote-make-links-buffer query nil nil denote-grep-display-buffer-action)))