Giter VIP home page Giter VIP logo

Comments (4)

hmw42 avatar hmw42 commented on May 28, 2024 1

Hello,
yes, I will do that next week.

Thank you
hmw

from org-super-agenda.

alphapapa avatar alphapapa commented on May 28, 2024

Hi,

I'm not sure exactly what you mean. I think what you're asking for is already provided by this:

:auto-group This selects items that have the agenda-group Org property set. By setting this property for a subtree, every item in it will be sorted into an agenda group by that name and placed into the agenda where the :auto-group selector is

So you can have an Org file like this:

* Heading
:PROPERTIES:
:agenda-group: foo
:END:

Then if you use the :auto-group selector, that subtree will appear in a foo group.

from org-super-agenda.

hmw42 avatar hmw42 commented on May 28, 2024

Hello,

that's what I'm using, yes. But the name of the property ('agenda-group') is hard coded. I want it to be customisable. With the following Org file (and a customised group property name) I want to gain the same result as with the snippet you posted:

* Heading
:PROPERTIES:
:foobar: foo
:END:

With the patch attached I had to (setq org-super-agenda-group-property-name "foobar") and be ready to go. The reason that I want this is that I already have properties named foobar all over my Org files which hold a string that can act as a group name in super agenda. Just duplicating and renaming them to 'agenda-group' doesn't sound too appealing to me ;).

Regards
hmw

customisable-group-property-name.patch.txt

from org-super-agenda.

alphapapa avatar alphapapa commented on May 28, 2024

Ah, now I understand. That seems like a good idea. Would you be willing to send the patch as a PR that includes documentation and a changelog entry in the readme?

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.