Giter VIP home page Giter VIP logo

Comments (6)

alphapapa avatar alphapapa commented on May 28, 2024

Hi Joakim,

That's very cool! I've never seen anyone use more than the default set of priorities before. If you have any non-sensitive data like that, would you mind sharing a sample of it? I'd like to see how you use it, maybe give it a try myself.

This is an interesting idea. I hadn't thought about selecting priorities like that. So I guess what you need is something like:

(:priority (> "A"))

And that would select items whose numeric priority is greater than the numeric value of A, right? Or maybe something like:

(:priority> "A")

What do you think? I think the second would be easier to implement. I think that won't be too difficult.

from org-super-agenda.

alphapapa avatar alphapapa commented on May 28, 2024

I think this should do it! Please let me know what you think. :)

from org-super-agenda.

jave avatar jave commented on May 28, 2024

Thanks, I'll try your solution!

The reason I have so many priority levels is because the way I work with org. I write down every idea I have and I have many ideas. I wont find time to do most of them, but if I write them down I can postpone ideas with peace of mind. atm I have 1300 open TODO:s. Of course this becomes unmanageable, so I sift TODO:s upwards in priority until I actually do them. That means priority A is mostly not high enough to be done immediately. As an aside, since priorities above A arent intuitive, because you have to know ascii by heart, I have also colorcoded the priority cookies to make them more readable.

Anyway, thanks for your work on org!

from org-super-agenda.

alphapapa avatar alphapapa commented on May 28, 2024

As an aside, since priorities above A arent intuitive, because you have to know ascii by heart, I have also colorcoded the priority cookies to make them more readable.

That sounds really interesting! Would you mind sharing the code that does that?

from org-super-agenda.

jave avatar jave commented on May 28, 2024

the colors arent the best, but this is how you can do it:

(defun jv-org-faces ()
(setq org-priority-faces
`(
(59 . (:foreground ,(color-lighten-name "Red" 10) :background ,(color-lighten-name "Red" 10) :weight bold :underline t))
(60 . (:foreground "White" :background "Red" :weight bold :underline t))
(61 . (:foreground "White" :background "DarkRed" :weight bold :underline t))
(62 . (:foreground "White" :background ,(color-darken-name "DarkRed" 10) :weight bold :underline t))
(63 . (:foreground "White" :background ,(color-darken-name "DarkRed" -10) :weight bold :underline t))
(64 . (:foreground ,(color-lighten-name "Yellow" 0) :background ,(color-lighten-name "Yellow" -10) ))
(65 . "DeepPink")
(66 . "firebrick")
(67 . "tomato"))
))

from org-super-agenda.

alphapapa avatar alphapapa commented on May 28, 2024

Thanks! I didn't even realize those color functions existed in Emacs!

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.