elfeed icon indicating copy to clipboard operation
elfeed copied to clipboard

Function to tag all as read/unread

Open schvabodka-man opened this issue 8 years ago • 5 comments

Hi would be great if there would be interactive functions to tag all your feeds as unread/read

schvabodka-man avatar Sep 15 '17 05:09 schvabodka-man

Create a selection (C-SPC, C-x h, etc.), then r/u/+/- will modify every entry in the selection in one command. Use a filter (s, S) to narrow the displayed entries if necessary.

skeeto avatar Sep 15 '17 18:09 skeeto

Yes, i can do that, but it would be a lot better if i can just M-x elfeed-mark-all-read

schvabodka-man avatar Sep 16 '17 08:09 schvabodka-man

You can easily add this feature to your own configuration:

(defun my-elfeed-mark-all-read ()
  (interactive)
  (elfeed-untag elfeed-search-entries 'unread)
  (elfeed-search-update :force)) ; redraw

I don't want to add this to Elfeed because it doesn't need a unique function for every little thing someone might want to do. Far better to to have composable primitives whose cross product covers those needs — such as elfeed-search-untag-all applying to a selection.

skeeto avatar Sep 16 '17 18:09 skeeto

@schvabodka-man You might find this useful: https://github.com/skeeto/elfeed/issues/250

alphapapa avatar Nov 29 '17 11:11 alphapapa

@skeeto

I don't want to add this to Elfeed because it doesn't need a unique function for every little thing someone might want to do.

I dont think a Mark-All-As-Read function is a random "thing someone might want to do" Mark all as read is a common option in regular feed reader clients.

Although, thanks for the workaround

danrobi11 avatar Jun 07 '21 02:06 danrobi11