~protesilaos/denote

7ed957be9622217b9be99c2070cb4fe812eec6c6 — Protesilaos Stavrou 2 months ago 0df2021
Add note about bug in dired in denote-sort-dired
1 files changed, 9 insertions(+), 1 deletions(-)

M denote-sort.el
M denote-sort.el => denote-sort.el +9 -1
@@ 184,7 184,15 @@ a non-nil value, respectively."
    (denote-sort-component-prompt)
    (y-or-n-p "Reverse sort? ")))
  (denote-sort--prepare-dired
   (format "Denote files matching `%s' sorted by %s" files-matching-regexp sort-by-component)
   ;; NOTE 2023-12-04: Passing the FILES-MATCHING-REGEXP here produces
   ;; an error if the regexp contains a wildcard for a directory.  I
   ;; can reproduce this in emacs -Q and am not sure if it is a bug.
   ;; Anyway, I will report it upstream, but even if it is fixed we
   ;; cannot use it for now (whatever fix will be available for Emacs
   ;; 30+).
   ;;
   ;; (format "Denote sort `%s' by `%s'" files-matching-regexp sort-by-component)
   (format "Denote sort by `%s'" sort-by-component)
   (denote-sort-get-directory-files files-matching-regexp sort-by-component reverse)))

(provide 'denote-sort)