Comments (3)
I had your same problem and this works (copy into the init file):
(defun my/elfeed-search-sort--feed-url (a b)
(>=
(elfeed-entry-date a)
(elfeed-entry-date b)))
then customise elfeed-search-sort-function to be: my/elfeed-search-sort--feed-url
Close this issue?
from elfeed.
from elfeed.
Sorry, I’d mixed it up while writing the issue, I wanted the reverse of what Elfeed does by default—I suppose now that would be a chronological feed view.
Switching the function in your code gets me that, thank you @user86940! And you too @sp1ff, even though I didn’t understand what you meant back then.
(defun my/elfeed-search-sort--feed-url (a b)
(<=
(elfeed-entry-date a)
(elfeed-entry-date b)))
But I don’t want to have it chronological all the time, the default reverse-chronological sorting works for most things; it’s only for a few things that I want the opposite. So I’d like to be able to easily toggle it, like with a ‘elfeed-search-live-filter’ (‘s’) search. “@1-week” reverse-chronologically sorts all the entries from the past week, maybe some other operator instead of ‘@’ prefixing the duration could list all the entries from that period chronologically.
from elfeed.
Related Issues (20)
- Line formatting when reading an entry HOT 3
- Hooks are sometimes not applied HOT 1
- Hook to add system notifications?
- (elfeed-deref (elfeed-entry-tags entry)) doesn't work HOT 4
- No tagging when masking user's `elfeed-feeds` with another list and running elfeed-update. HOT 1
- Multiple databases and elfeed-curate
- Posts marked as read keep reappearing in search HOT 1
- No error is displayed when updating feeds fails!
- Can someone give an example where elfeed-search-title-min-width actually does something? HOT 3
- A way to update feed based on feed title
- Manually changing entry date breaks search function HOT 2
- Performance issue when keys are long and similar
- Limit elfeed-search-browse-url to one URL HOT 1
- cannot update feeds HOT 1
- Set per-feed curl options
- elfeed-db-load: Wrong type argument: avl-tree-, nil with Emacs 29.3 and no upgrade HOT 3
- Where has feed meta-information gone? HOT 1
- How to clear the DB?
- curl forbidden to access rss HOT 1
- elfeed update mkdir error on emacs 29.1 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elfeed.