[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/consult-recoll eab09d7fe6 44/50: documentation nits (se
From: |
ELPA Syncer |
Subject: |
[elpa] externals/consult-recoll eab09d7fe6 44/50: documentation nits (section levels) |
Date: |
Sat, 6 Aug 2022 18:57:43 -0400 (EDT) |
branch: externals/consult-recoll
commit eab09d7fe685ac3def86a7241a537d2f26a8d078
Author: jao <jao@gnu.org>
Commit: jao <jao@gnu.org>
documentation nits (section levels)
---
readme.org | 23 ++++++++++-------------
1 file changed, 10 insertions(+), 13 deletions(-)
diff --git a/readme.org b/readme.org
index 22efdb01f2..bad7703f54 100644
--- a/readme.org
+++ b/readme.org
@@ -15,17 +15,15 @@
[[https://www.lesbonscomptes.com/recoll/][Recoll]] is a local search engine
that knows how to index a wide variety of file
formats, including PDFs, org and other text files and emails. It also offers
-a sophisticated query language, and, for some document kinds, snippets of the
-text in the found document actually matching the query.
+a sophisticated query language, and, for some document kinds, snippets in the
+the found documents actually matching the query at hand.
This package provides an emacs interface to perform recoll queries, and
display its results, via [[https://github.com/minad/consult][consult]].
[[./consult-recoll.png]]
-* Usage
-
-** Searching
+* Searching
The entry point of ~consult-recoll~ is the interactive command
=consult-recoll=. Just invoke it (e.g., via =M-x consult-recoll=) to
perform
@@ -40,7 +38,7 @@ display its results, via
[[https://github.com/minad/consult][consult]].
You can fine tune how queries are issued by customizing
~consult-recoll-search-flags~.
-*** Tip: Two-level filtering
+** Tip: Two-level filtering
~consult-recoll~ builds on the asychronous logic inside =consult.el=,
so you can use consult's handy
[[https://github.com/minad/consult#asynchronous-search][two-level filtering]],
which allows
@@ -62,8 +60,7 @@ display its results, via
[[https://github.com/minad/consult][consult]].
at which point only matches containing "hofstadter" will be
offered.
-
-** Displaying results
+* Displaying results
For each matching result, ~consult-recoll~ retrieves its title, full file
name and mime type, and shows, by default, a line with the first two in the
@@ -81,7 +78,7 @@ display its results, via
[[https://github.com/minad/consult][consult]].
See [[#opening-results][Opening search results]] below for ways of
customizing how Emacs will
open selected results.
-*** Tip: formatting results list
+** Example: formatting results list
As mentioned, one can use ~consult-recoll-format-candidate~ to customize
how
search results are shown in the minibufer. For instance, i like to
shorten paths removing common prefixes and to show MIME types, so i use
@@ -101,21 +98,21 @@ display its results, via
[[https://github.com/minad/consult][consult]].
(setq consult-recoll-format-candidate #'jao-recoll-format)
#+end_src
-*** Tip: displaying snippets in results list
+** Tip: displaying snippets in results list
Instead of relying on a separate preview buffer to display snippets, you
can set ~consult-recoll-inline-snippets~ to ~t~ to show them in the
minibuffer,
as individual candidates.
[[./consult-recoll-inline.png]]
-*** Tip: disabling mime type groups
+** Tip: disabling mime type groups
By default, results are listed grouped by their mime type. You can
disable grouping by setting the customizable variable
~consult-recoll-group-by-mime~ to ~nil~.
[[./consult-recoll-no-groups.png]]
-** Opening search results
+* Opening search results
:PROPERTIES:
:CUSTOM_ID: opening-results
:END:
@@ -130,7 +127,7 @@ display its results, via
[[https://github.com/minad/consult][consult]].
number (or ~nil~ if it is not available, e.g., because the selected
candidate
is the one showing the document data)
-*** Tip: PDF open with external viewer
+** Example: PDF open with external viewer
For instance, if you want to use ~zathura~ to open PDF documents, you could
define an elisp helper like:
- [elpa] externals/consult-recoll 0105066d19 32/50: readme nits and screenshot, (continued)
- [elpa] externals/consult-recoll 0105066d19 32/50: readme nits and screenshot, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 370a31d1c4 09/50: MELPA review, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 357654bedd 04/50: customisable formatter and candidate openers, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 1b21fa157b 16/50: version bump, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll c824a2fea2 21/50: fix for C-u consult-recoll, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 8ba4d4b9b8 39/50: hide cursor in non-selected preview windows, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 3399c32322 23/50: readme, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll a2ee98e057 45/50: version bump, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 91ff9793b5 25/50: readme improvements, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 8e45c4d3df 42/50: new feature: inline snippets, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll eab09d7fe6 44/50: documentation nits (section levels),
ELPA Syncer <=
- [elpa] externals/consult-recoll d9bb5e191e 33/50: docstring nit, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 42dea1d40f 18/50: consult-recoll: prefix argument to ask for initial input, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 89457fe055 37/50: Revert "back to the previous regexp, it's more precise in the common case", ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll c57d3e7913 50/50: FSF copyright transfer and .gitignore, ELPA Syncer, 2022/08/06