[O] bug#32068: 26.1; problem with org-agenda and categories
Hi Nicolas. > > I still think this is a bug. Let me explain You why. > > If you try "M-x org-lint" on your document, you'll discover what is your > problem. In short, your usage of CATEGORY keyword is not possible > anymore. It's a global keyword, like any other keyword. I have tried org-lint it suggest me to use :CATEGORY: property. As I have done on my example. But still It Does not work. > Use headlines to separate your documents into parts with different > categories. I have created also headlines. But even with that. I can not get previous behaviour. see my modified file: --8<---cut here---start->8--- * the world cup on my agenda ** groups :CATEGORY: 0.6groups %%(diary-block 6 22 2018 6 22 2018) 7:00 wc: brazil - costa rica (sans petersburgo){GE2} %%(diary-block 6 22 2018 6 22 2018) 10:00 wc: nigeria - islanda (volgogrado){GD2} %%(diary-block 6 22 2018 6 22 2018) 13:00 wc: serbia - suiza (kaliningrado){GE2} %%(diary-block 6 23 2018 6 23 2018) 07:00 wc: belgica - tunez (otkrytiye, moscu){GG2} %%(diary-block 6 23 2018 6 23 2018) 10:00 wc: mexico - korea (rostov){GF2} %%(diary-block 6 23 2018 6 23 2018) 13:00 wc: alemania - suecia (sochi){GF2} %%(diary-block 6 24 2018 6 24 2018) 07:00 wc: inglaterra - panama (nizhny){GG2} %%(diary-block 6 24 2018 6 24 2018) 10:00 wc: japon - senegal (ekaterimburgo){GH2} %%(diary-block 6 24 2018 6 24 2018) 13:00 wc: colombia - polonia (kazán){GH2} %%(diary-block 6 25 2018 6 25 2018) 09:00 wc: uruguay - rusia (samara){GA3} %%(diary-block 6 25 2018 6 25 2018) 09:00 wc: egipto - arabia (volgogrado){GA3} %%(diary-block 6 25 2018 6 25 2018) 13:00 wc: portugal - iran (saransk){GB3} %%(diary-block 6 25 2018 6 25 2018) 13:00 wc: espanha - marruecos (kaliningrado){GB3} %%(diary-block 6 26 2018 6 26 2018) 09:00 wc: Dinamarca - francia (luzhniki, moscu){GC3} %%(diary-block 6 26 2018 6 26 2018) 09:00 wc: PERÙ - australia (sochi){GC3} %%(diary-block 6 26 2018 6 26 2018) 13:00 wc: argentina - nigeria (san petersburgo){GD3} %%(diary-block 6 26 2018 6 26 2018) 13:00 wc: croacia - islandia (rostov){GD3} %%(diary-block 6 27 2018 6 27 2018) 09:00 wc: corea - alemania (kazán){GF3} %%(diary-block 6 27 2018 6 27 2018) 09:00 wc: mexico - suecia (ekaterimburgo){GF3} %%(diary-block 6 27 2018 6 27 2018) 13:00 wc: brazil - serbia (otkrytiye, moscu){GE3} %%(diary-block 6 27 2018 6 27 2018) 13:00 wc: suiza - costa rica (nizhny){GE3} %%(diary-block 6 28 2018 6 28 2018) 09:00 wc: polonia - japon (volgogrado){GH3} %%(diary-block 6 28 2018 6 28 2018) 09:00 wc: colombia - senegal (samara){GH3} %%(diary-block 6 28 2018 6 28 2018) 13:00 wc: inglaterra - belgica (kaliningrado){GG3} %%(diary-block 6 28 2018 6 28 2018) 13:00 wc: panama - tunez (saransk){GG3} ** dieciseis :CATEGORY: hello %%(diary-block 6 30 2018 6 30 2018) 09:00 wc: 1cFrancia - 2dArgentina (kazán){16} %%(diary-block 6 30 2018 6 30 2018) 13:00 wc: 1aUruguay -2bPortugal (sochi){16} %%(diary-block 7 01 2018 7 01 2018) 09:00 wc: 2aRusia - 1bEspaña (moscu){16} %%(diary-block 7 01 2018 7 01 2018) 13:00 wc: 2cDinamarca - 1dCroacia (nizhny){16} %%(diary-block 7 02 2018 7 02 2018) 09:00 wc: 1eBrazil - 2fMexico (samara){16} %%(diary-block 7 02 2018 7 02 2018) 13:00 wc: 1gBelgica - 2hJapon (rostov){16} %%(diary-block 7 03 2018 7 03 2018) 09:00 wc: 2eSuiza - 1fSuecia (san petersburgo){16} %%(diary-block 7 03 2018 7 03 2018) 13:00 wc: 2gInglaterra - 1hColombia (moscu){16} ** octavos :CATEGORY: 0.octavos %%(diary-block 7 06 2018 7 06 2018) 09:00 wc: 1qfFrancia - 2qfUruguay (nizhny){4} %%(diary-block 7 06 2018 7 06 2018) 13:00 wc: 5qfBrasil - 6qfBelgica (kazán){4} %%(diary-block 7 07 2018 7 07 2018) 09:00 wc: 7qfRusia - 8qfCrocia (samara){4} %%(diary-block 7 07 2018 7 07 2018) 13:00 wc: 3qfSuecia - 4qfInglaterra (sochi){4} ** semifinales :CATEGORY: 0.6semifi %%(diary-block 7 10 2018 7 10 2018) 09:00 wc: 1sf - 2sf (san petersburgo){SF} %%(diary-block 7 11 2018 7 11 2018) 09:00 wc: 3sf - 4sf (moscu){SF} ** la final :CATEGORY: 0.6final %%(diary-block 7 14 2018 7 14 2018) 09:00 wc: 1p - 2p (san petersburgo){F} %%(diary-block 7 15 2018 7 15 2018) 09:00 wc: 1f - 2f (luzhniki, moscu){F} --8<---cut here---end--->8--- the output(incorrect) is: --8<---cut here---start->8--- Week-agenda (W28): Monday 9 July 2018 W28 Diary: Martyrdom of the Báb Tuesday10 July 2018 jl-diary.agendatest: 9:00.. wc: 1sf - 2sf (san petersburgo){SF} Wednesday 11 July 2018 jl-diary.agendatest: 9:00.. wc: 3sf - 4sf (moscu){SF} Thursday 12 July 2018 Friday 13 July 2018 Saturday 14 July 2018 jl-diary.agendatest: 9:00.. wc: 1p - 2p (san petersburgo){F} Sunday 15 July 2018 jl-diary.agendatest: 9:00.. wc: 1f - 2f (luzhniki, moscu){F} --8<---cut here---end--->8--- Regards
[O] bug#32068: 26.1; problem with org-agenda and categories
Hi Nicolas. I still think this is a bug. Let me explain You why. On my shared on this thread agenda file(jl_diary.agendatest.org). There are several categories on the items for being showed on the org-agenda. But org-mode chooses the last (among the categories) for showing on the agenda. In my opinion if something is bad my my agenda file (jl_diary.agendatest.org). It should be signaled when loading the agenda, as the org-agenda does when something is wrong with my agenda files, like the one I have shared (jl_diary.agendatest.org). >> I share my agenda among several devices with different emacs versions >> ("23.4" "25.1" "26.1|26.2|master") > > Note that recent Org, i.e., Org 9.0+ do not support Emacs 23 anymore. I just use the org bundled with emacs with every of this versions. And everything was smooth just until 26.1 Regards
[O] bug#32068: 26.1; problem with org-agenda and categories
Hi Nicolas. > It doesn't look like a bug. The OP may have missed > `org-agenda-time-grid' variable. ¿What is OP?. If I do the same on emacs 25.1 I get the expected behaviour. So something has changed between 25.1 and 26.1. ¿What is the change needed? for having the same result on both emacs versions 25.1 and 26.1. Regards
[O] bug#32068: 26.1; problem with org-agenda and categories
Hi Nicolas. > > ¿What is OP?. > > Original poster: you. Thanks for the explanation. > Emacs 25.1 and 26.1 do not ship the same Org. `org-agenda-time-grid' > changed between the two releases. You may want to double-check this > variable. on 25.1 --8<---cut here---start->8--- This is a list of three items --8<---cut here---end--->8--- On 26.1 --8<---cut here---start->8--- This is a list of four items --8<---cut here---end--->8--- It is possible for me to have the previous behaviour. on 26.1 ¿What change should i do?. - on the var - or on the data I share my agenda among several devices with different emacs versions ("23.4" "25.1" "26.1|26.2|master") Regards
[O] bug#32068: 26.1; problem with org-agenda and categories
Hi Eli. > > I am getting (which is not fine): > > Did you report this to the Org developers? If so, and if they said > this is a core Emacs bug, could you please point us to the relevant > discussions with Org developers? I have just done with org-submit-bug-report Thanks
[O] bug#32068: 26.1; problem with org-agenda and categories
Hello, andrés ramírez writes: > I have tried org-lint it suggest me to use :CATEGORY: property. As I > have done on my example. But still It Does not work. > * the world cup on my agenda > ** groups > :CATEGORY: 0.6groups The correct syntax is ** groups :PROPERTIES: :CATEGORY: 0.6groups :END: See (info "(org) Property Syntax") Regards, -- Nicolas Goaziou0x80A93738
[O] bug#32068: 26.1; problem with org-agenda and categories
Hello, "rrandr...@gmail.com" writes: > I still think this is a bug. Let me explain You why. > On my shared on this thread agenda file(jl_diary.agendatest.org). > There are several categories on the items for being showed on the > org-agenda. But org-mode chooses the last (among the categories) for > showing on the agenda. In my opinion if something is bad my my agenda > file (jl_diary.agendatest.org). It should be signaled when loading the > agenda, as the org-agenda does when something is wrong with my agenda > files, like the one I have shared (jl_diary.agendatest.org). If you try "M-x org-lint" on your document, you'll discover what is your problem. In short, your usage of CATEGORY keyword is not possible anymore. It's a global keyword, like any other keyword. Use headlines to separate your documents into parts with different categories. Regards, -- Nicolas Goaziou0x80A93738
[O] bug#32068: 26.1; problem with org-agenda and categories
Hello, andrés ramírez writes: > It is possible for me to have the previous behaviour. on 26.1 > ¿What change should i do?. You can definitely get the previous behaviour, but I cannot remember the change. Just look at the docstring, it is probably straightforward. > I share my agenda among several devices with different emacs versions > ("23.4" "25.1" "26.1|26.2|master") Note that recent Org, i.e., Org 9.0+ do not support Emacs 23 anymore. Regards, -- Nicolas Goaziou0x80A93738
[O] bug#32068: 26.1; problem with org-agenda and categories
Hello, andrés ramírez writes: >> It doesn't look like a bug. The OP may have missed >> `org-agenda-time-grid' variable. > > ¿What is OP?. Original poster: you. > If I do the same on emacs 25.1 I get the expected behaviour. So > something has changed between 25.1 and 26.1. ¿What is the change needed? > for having the same result on both emacs versions 25.1 and 26.1. Emacs 25.1 and 26.1 do not ship the same Org. `org-agenda-time-grid' changed between the two releases. You may want to double-check this variable. Regards, -- Nicolas Goaziou0x80A93738
[O] bug#32068: 26.1; problem with org-agenda and categories
> From: Nicolas Goaziou > Cc: rrandr...@gmail.com, 32...@debbugs.gnu.org > Date: Sat, 07 Jul 2018 13:05:53 +0200 > > It doesn't look like a bug. The OP may have missed > `org-agenda-time-grid' variable. > > I suggest to close this bug, if the OP doesn't object to it. Thanks. I will wait a few days and close it if no objections are posted.
[O] bug#32068: 26.1; problem with org-agenda and categories
Hello, Eli Zaretskii writes: >> When evaluating the snippet below: >> --8<---cut here---start->8--- >> (eval-after-load "org" >> '(progn >> overwrite some settings >> (setq org-startup-folded nil ;unfolded >>org-agenda-show-all-dates t >>org-confirm-elisp-link-function nil ;; 4 the scratch call >>org-agenda-include-diary t >>org-agenda-include-all-todo t >>) >> (when (file-directory-p "~/docs/org/deft/") >>(setq org-agenda-files (directory-files "~/docs/org/deft/" t >> ".*agendatest\.org$")) >>) >> (define-key org-mode-map (kbd "M-a") nil) >> )) >> >> (require 'org) >> >> (funcall 'org-agenda-list) >> --8<---cut here---end--->8--- >> >> I am getting (which is not fine): > > Did you report this to the Org developers? If so, and if they said > this is a core Emacs bug, could you please point us to the relevant > discussions with Org developers? It doesn't look like a bug. The OP may have missed `org-agenda-time-grid' variable. I suggest to close this bug, if the OP doesn't object to it. Regards, -- Nicolas Goaziou
[O] bug#32068: 26.1; problem with org-agenda and categories
> From: rrandr...@gmail.com > Date: Fri, 06 Jul 2018 00:46:14 + > > > When evaluating the snippet below: > --8<---cut here---start->8--- > (eval-after-load "org" > '(progn > overwrite some settings > (setq org-startup-folded nil ;unfolded >org-agenda-show-all-dates t >org-confirm-elisp-link-function nil ;; 4 the scratch call >org-agenda-include-diary t >org-agenda-include-all-todo t >) > (when (file-directory-p "~/docs/org/deft/") >(setq org-agenda-files (directory-files "~/docs/org/deft/" t > ".*agendatest\.org$")) >) > (define-key org-mode-map (kbd "M-a") nil) > )) > > (require 'org) > > (funcall 'org-agenda-list) > --8<---cut here---end--->8--- > > I am getting (which is not fine): Did you report this to the Org developers? If so, and if they said this is a core Emacs bug, could you please point us to the relevant discussions with Org developers? Thanks.