Giter VIP home page Giter VIP logo

Comments (10)

bimawa avatar bimawa commented on May 28, 2024 2

Yeah going the same way, thanks a lot for advices!

from org-super-agenda.

fuxialexander avatar fuxialexander commented on May 28, 2024 1

@bimawa org-agenda-super-groups?

Shouldn't that be org-super-agenda-groups?

from org-super-agenda.

alphapapa avatar alphapapa commented on May 28, 2024

Try this:

(:name "Personal" :habit t)

from org-super-agenda.

bimawa avatar bimawa commented on May 28, 2024

No, it's not helping. Error still appear.

from org-super-agenda.

bimawa avatar bimawa commented on May 28, 2024

Yes, other fields work fine. Maybe I configure habits in org mode wrong?

from org-super-agenda.

alphapapa avatar alphapapa commented on May 28, 2024

Here are some suggestions:

  • Use toggle-debug-on-error and post a backtrace.
  • Post your org-super-agenda configuration.
  • Try using the example configuration in the readme.
  • Post the versions of Emacs, org-mode, and org-super-agenda that you have.
  • Post a minimal Org file that doesn't work properly. For example:
* Habit 1
:PROPERTIES:
:STYLE: habit
:END

See if that minimal file works correctly by setting the agenda restriction to that file and opening the agenda view on it.

  • Try to reproduce with emacs -q, i.e. run emacs -q, load the package system, load org, load org-super-agenda, and see if it works. If it does, you'll know it's a problem with your config.

from org-super-agenda.

bimawa avatar bimawa commented on May 28, 2024
(use-package org-super-agenda :config (org-super-agenda-mode))
(setq org-super-agenda-groups '((:log t) 
                              (:name "Personal"
                                     :habit t)
                              (:name "Schedule"
                                     :time-grid t)
                              (:name "Today"
                                     :scheduled today)
                              (:name "Due today"
                                     :deadline today)
                              (:name "Overdue"
                                     :deadline past)
                              (:name "Due soon"
                                     :deadline future)
                              (:name "Unimportant"
                                     :todo ("SOMEDAY" "MAYBE" "CHECK" "TO-READ" "TO-WATCH")
                                     :order 100)
                              (:name "Waiting..."
                                     :todo "WAITING"
                                     :order 98)
                              (:name "Scheduled earlier"
                                     :scheduled past)))
 (org-agenda-list)

its my groups;
This error appears on any org file. if it's empty too.

Use toggle-debug-on-error and post a backtrace.

nothing change in message layer i receive same:

 org-super-agenda-mode enabled.
 Appointment reminders enabled (no diary file found)
 Added 10 events for today
 (Spacemacs) Error in dotspacemacs/user-config: Invalid org-agenda-super-groups selector: 
 :habit

Done.
Press key for agenda command (unrestricted):
user-error: Invalid org-agenda-super-groups selector: :habit
Quit

Post the versions of Emacs, org-mode, and org-super-agenda that you have.

i'm user spacemacs with emacs Version 25.3 (9.0)
org-mode version 9.0.1 elpa
org-super-agenda verstion i'm not found. But it's installed from elpa

from org-super-agenda.

alphapapa avatar alphapapa commented on May 28, 2024

I can't explain why that would happen. Please post the value of the variable org-super-agenda-group-types.

from org-super-agenda.

bimawa avatar bimawa commented on May 28, 2024

Guys found why its not work, i'm not set org-modules variable. Found instruction here

(setq org-modules '(org-bbdb
                  org-gnus
                  org-drill
                  org-info
                  org-jsinfo
                  org-habit
                  org-irc
                  org-mouse
                  org-protocol
                  org-annotate-file
                  org-eval
                  org-expiry
                  org-interactive-query
                  org-man
                  org-collector
                  org-panel
                  org-screen
                  org-toc))
 (eval-after-load 'org
 '(org-load-modules-maybe t))

from org-super-agenda.

alphapapa avatar alphapapa commented on May 28, 2024

Ok, that explains it, because that selector is only defined when org-habit is actually loaded:

(with-eval-after-load 'org-habit
  (org-super-agenda--defgroup habit
    "Group habit items.
Habit items have a \"STYLE: habit\" Org property."
    :section-name "Habits"
    :test (org-is-habit-p (org-super-agenda--get-marker item))))

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.