Fuco1 / dired-hacks

Collection of useful dired additions
GNU General Public License v3.0
878 stars 77 forks source link

dired-tag #178

Closed jcguu95 closed 8 months ago

jcguu95 commented 3 years ago

I am working on dired-tag that suppose to allow users to add tags on files easily. For example,

(dired-tag '(happiness memory) '("~/1.jpg" "~/2.jpg"))

Of course, it will come with tag retrieval, batch tagging/removing, tag statistics..

  1. Will this be welcome to this repo?
  2. Haven't looked into the internal of dired-filter, but do you think it's going to integrate with dired-tag well?
Fuco1 commented 3 years ago

dired-filter is very extendible, you can add new filters by defining a "filter" function which works on each file. So you can easily write functions to filter by tags or collections of tags.

Maybe having a separate package would be easier for distribution, but we can definitely add the filter specific code here. Although adding it from outside the package is also not a problem.