Variable: denote-sort-dired-extra-prompts
denote-sort-dired-extra-prompts is a customizable variable defined in
denote.el.
Value
(sort-by-component reverse-sort)
Documentation
Determine what denote-sort-dired prompts for beside a search query.
This concerns the additional prompts issued by denote-sort-dired about
whether to sort by a given file name component and to then reverse the
sort.
The value is a list of symbols, which can include the symbols
sort-by-component, reverse-sort, and exclude-regexp. The order is
significant, with the leftmost symbol coming first.
These symbols correspond to the following:
- A choice to select the file name component to sort by.
- A yes or no prompt on whether to reverse the sorting.
- A string (or regular expression) of files to be excluded from the results.
If the value is nil, skip all prompts. In this scenario, the sorting is
done according to denote-sort-dired-default-sort-component and
denote-sort-dired-default-reverse-sort.
This variable was added, or its default value changed, in denote version 4.0.0.
Source Code
;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defcustom denote-sort-dired-extra-prompts '(sort-by-component reverse-sort)
"Determine what `denote-sort-dired' prompts for beside a search query.
This concerns the additional prompts issued by `denote-sort-dired' about
whether to sort by a given file name component and to then reverse the
sort.
The value is a list of symbols, which can include the symbols
`sort-by-component', `reverse-sort', and `exclude-regexp'. The order is
significant, with the leftmost symbol coming first.
These symbols correspond to the following:
- A choice to select the file name component to sort by.
- A yes or no prompt on whether to reverse the sorting.
- A string (or regular expression) of files to be excluded from the results.
If the value is nil, skip all prompts. In this scenario, the sorting is
done according to `denote-sort-dired-default-sort-component' and
`denote-sort-dired-default-reverse-sort'."
:type '(radio (const :tag "Do not prompt for anything" nil)
(set :tag "Available prompts" :greedy t
(const :tag "Sort by file name component" sort-by-component)
(const :tag "Reverse the sort" reverse-sort)
(const :tag "Exclude files matching regexp" exclude-regexp)))
:package-version '(denote . "4.0.0")
:group 'denote-sort)