Git Product home page Git Product logo

Comments (3)

user86940 avatar user86940 commented on June 29, 2024 1

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.

sp1ff avatar sp1ff commented on June 29, 2024

from elfeed.

butter-radish avatar butter-radish commented on June 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.