Giter VIP home page Giter VIP logo

Comments (3)

alphapapa avatar alphapapa commented on May 28, 2024

No, org-super-agenda has no concept of time, it simply post-processes what's passed to org-agenda-finalize-entries. In the case of agendas spanning multiple days, Org calls that multiple times, once for each day. Combining entries from multiple days into a single group would require a different approach.

Essentially what you're asking for is a new, custom Agenda command (and I don't mean "custom Agenda command" in the sense that Org Agenda uses it; rather, I mean code that constructs the equivalent of an Agenda view from scratch, according to your needs).

Now having said that, it wouldn't be terribly difficult to build such a command using org-ql and org-ql-agenda. The key would be gathering all of the time-log entries and passing them to a custom grouping/formatting function that would group them by day and format all the day-groups into a single string.

BTW, I like the pretend events you used in the example. The extremely overdue "read the manual" and "check that crack in the helmet" cracked me up! :)

from org-super-agenda.

unhammer avatar unhammer commented on May 28, 2024

I figured there was a theme in your readme ;)

org-ql-agenda looks quite interesting! (I couldn't get the example to run though, I guess if-let* is from a newer Emacs than I have.) Anyway, I suppose this should be closed then, if it's outside super-agenda's scope and possible with org-ql once I upgrade.

from org-super-agenda.

alphapapa avatar alphapapa commented on May 28, 2024

Yes, very unfortunately, Emacs 26 decided to obsolete if-let with if-let*, so if I use the former, it will show a warning, and if I use the latter, Emacs 25 users will get a failure. Very frustrating. You can simply rename if-let* to if-let or -if-let* and it should work. And Emacs 26 isn't hard to install manually if you need to.

from org-super-agenda.

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.