Giter Site home page Giter Site logo

Comments (5)

alphapapa avatar alphapapa commented on June 8, 2024

This does not appear to be the case to me. See the priority tests defined in test/test.el. Items with a scheduled date but no deadline appear in the proper groups. I just re-ran the tests with Cask, using Org 9.1.13, and all the tests pass.

Can you reproduce this with emacs -q?

from org-super-agenda.

SvenBre avatar SvenBre commented on June 8, 2024

Yes, I can.

$ emacs -Q --load "~/.emacs-test.el"

Content of .emacs-test.el:


(require 'package)
(package-initialize)

(eval-when-compile
(require 'use-package))

(require 'org)
(setq org-agenda-files (quote ("~/test.org")))

(global-set-key "\C-ca" 'org-agenda)

(setq org-todo-keywords
(quote ((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d)")
(sequence "WAITING(w@/!)" "HOLD(h@/!)" "SOMEDAY(s@/!)" "|" "CANCELLED(c@/!)" "PHONE" "IDEA" "MEETING"))))

(use-package org-super-agenda
:config (org-super-agenda-mode))

(setq org-agenda-custom-commands
(quote (
("p" "Priority=A"
((tags-todo "+PRIORITY="A""
((org-agenda-overriding-header "Priority A")
))))
(" " "Super Agenda View" (
(agenda "" ((org-agenda-span 'day)
(org-super-agenda-groups
'((:name "Today "
:time-grid t
:date today
:scheduled today
:order 1)
(:name "Important "
:priority "A"
:order 2
)
(:name "Overdue "
:scheduled past
:deadline past
:order 3)
(:name "Due Soon "
:deadline future
:order 4)
))))
)
) ; Super Agenda view
nil )))

Content of test.org:

  • TODO [#A] Test 1
  • TODO [#A] Test 2
    DEADLINE: <2018-07-22 So>
  • TODO [#A] Test 3
    SCHEDULED: <2018-07-23 Mo>
  • TODO [#B] Test 4
    DEADLINE: <2018-07-22 So>
  • NEXT Test 5
  • NEXT Test 6
    SCHEDULED: <2018-07-21 Sa>
  • Test appointment <2018-07-21 Sa 13:00>
  • TODO Test 7
    SCHEDULED: <2018-07-20 Fr>
  • TODO Test 8
    DEADLINE: <2018-07-20 Fr>

Output:

Day-agenda (W29):
Saturday 21 July 2018

Today
8:00...... ----------------
10:00...... ----------------
11:21...... now - - - - - - - - - - - - - - - - - - - - - - - - -
12:00...... ----------------
test: 13:00...... Test appointment
14:00...... ----------------
16:00...... ----------------
18:00...... ----------------
20:00...... ----------------
test: Scheduled: NEXT Test 6

Important
test: In 1 d.: TODO [#A] Test 2

Overdue
test: Sched. 1x: TODO Test 7
test: 1 d. ago: TODO Test 8

Due Soon
test: In 1 d.: TODO [#B] Test 4

I wonder whether the problem could be related to the interplay between Emacs 26 and Orgmode. At least something more is strange when I filter for priorities in the standard way (C-c a p above). But I have to make more tests.

Sven

from org-super-agenda.

SvenBre avatar SvenBre commented on June 8, 2024

Same result with Emacs downgraded to 25.3.

Sven

from org-super-agenda.

SvenBre avatar SvenBre commented on June 8, 2024

Got it. The problem is that the priority block is under an agenda command. It's working under an alltodo command. My bad.

from org-super-agenda.

alphapapa avatar alphapapa commented on June 8, 2024

Yes, org-super-agenda only groups items after Org Agenda collects them, and those items were not collected by it.

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.