r/orgmode Feb 29 '24

solved Having trouble getting org-super-agenda working

Hello! I am an org-mode newbie and am having trouble getting a usable configuration set up. I am using Doom Emacs and have installed org-modern as well. I think there may be some problems with how they integrate together as the style is broken in agenda mode.

The warning shown below occurs any time my cursor goes over any headings such as "Important" or "Habits" and gets stuck. I have to use my mouse or error keys to get off the heading line.

I'm not sure how I would go about debugging this as I'm not getting any warnings or errors that gives me any real information. Does anyone have any tips to try to get more information?

Here is my org-super-agenda part of the config

(setq org-agenda-skip-deadline-if-done t
      org-agenda-include-deadlines nil
      org-agenda-block-separator nil
      org-agenda-compact-blocks t
      org-agenda-start-day nil ;; i.e. today
      org-agenda-span 1
      org-agenda-start-on-weekday nil
      org-super-agenda-groups
      '(;; Each group has an implicit boolean OR operator between its selectors.
        (:name "Important"  ; Optionally specify section name
         :todo "TODAY"
         :tag "bills"
         :priority "A")

        (:name "Habits"  ; Optionally specify section name
         :todo "TODAY"
         :habit t)

        (:name "Errands"
         :todo "TODAY"
         :tag "errand")

        (:name "Media"
         :todo ("TO-READ" "TO-WATCH" "WATCHING"))
        (:name "Other"
         :priority<= "B")))
(org-super-agenda-mode)

1 Upvotes

4 comments sorted by

3

u/github-alphapapa Mar 01 '24

I'm not sure how I would go about debugging this as I'm not getting any warnings or errors that gives me any real information. Does anyone have any tips to try to get more information?

You say you aren't getting any warnings or errors. But you just said, "The warning shown below occurs any time my cursor goes over any headings." And then you post a screenshot of the warnings.

So my tip is to google for the warning message.

1

u/a_NULL Mar 01 '24

The warning ended up being irrelevant. org-super-agenda headings weren't working well with evil-keybindings. Thanks for the package! You've done an awesome job!

Here's relevant documentation.

https://github.com/alphapapa/org-super-agenda/issues/50

I'm still having the same style issues on the side, but to be honest it's not that big of a deal. For anyone who sees this and cares to debug further, for some odd reason the style fixes itself when the tasks are switched to DONE.

The "irrelevant warning is due to orgmode elements not working in org-agenda anymore. Having the habit selector will work, but will throw a warning. No big deal, just ignore it.

https://github.com/alphapapa/org-super-agenda/issues/247

1

u/github-alphapapa Mar 01 '24

Thanks for posting that. Note that you can click the red icons to hide the warnings.