Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Search syntax: '+' should mean 'any category' #67
I my opinion the plus character '+' should match 'any category' in a search string.
I keep trying to reduce key strokes that I repeat a lot. I usually start elfeed session by reading the most common new categories first and for me that is 'Daily News' : '+n'. When I am done with those, I replace that part of the search string with '+j' that lists new science journal feeds. After that I go for the next most numerous category. (They all have one letter codes) Backspacing the search string from '... +n' to '...+' still does not display any articles because '+' has a special meaning to note a category and does not match anything.
However, in practice all articles have some category (default being something like '+read' or but there is no reason to ever show that as a string). Therefore a better semantic for '+' is 'any category'.
In other words, the effect of the following two search strings should be the same:
That would allow me to use the former to see the most numerous category, and type in the corresponding one letter category and enter to start reading those articles. ... And it makes more semantic sense, at least to me.
(In my response, for consistency I'll be using the standard Elfeed terms
I like this train of thought. Right now a lone + will find all entries
As a side note: for quickly switching between different common filters,