GNU bug report logs - #32068
26.1; problem with org-agenda and categories

Previous Next

Package: org-mode;

Reported by: rrandresf <at> gmail.com

Date: Fri, 6 Jul 2018 00:48:02 UTC

Severity: normal

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32068 in the body.
You can then email your comments to 32068 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#32068; Package emacs. (Fri, 06 Jul 2018 00:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to rrandresf <at> gmail.com:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 06 Jul 2018 00:48:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: rrandresf <at> gmail.com
To: bug-gnu-emacs <at> gnu.org
Subject: 26.1; problem with org-agenda and categories
Date: Fri, 06 Jul 2018 00:46:14 +0000
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):
--8<---------------cut here---------------start------------->8---
Week-agenda (W27):
Monday      2 July 2018 W27
  final:       9:00...... wc: 1eBrazil - 2fMexico (samara){16}
  final:      13:00...... wc: 1gBelgica - 2hJapon (rostov){16}
Tuesday     3 July 2018
  final:       9:00...... wc: 2eSuiza - 1fSuecia (san petersburgo){16}
  final:      13:00...... wc: 2gInglaterra - 1hColombia (moscu){16}
Wednesday   4 July 2018
  Diary:      Independence Day
Thursday    5 July 2018
Friday      6 July 2018
               0:38...... now - - - - - - - - - - - - - - - - - - - - - - - - -
               8:00...... ----------------
  final:       9:00...... wc: 1qfFrancia - 2qfUruguay (nizhny){4}
              10:00...... ----------------
              12:00...... ----------------
  final:      13:00...... wc: 5qfBrasil - 6qfBelgica (kazán){4}
              14:00...... ----------------
              16:00...... ----------------
              18:00...... ----------------
              20:00...... ----------------
Saturday    7 July 2018
  final:       9:00...... wc: 7qfRusia - 8qfCrocia (samara){4}
  final:      13:00...... wc: 3qfSuecia - 4qfInglaterra (sochi){4}
Sunday      8 July 2018
--8<---------------cut here---------------end--------------->8---

the output should be:
--8<---------------cut here---------------start------------->8---
Week-agenda (W27):
Monday      2 July 2018 W27
  8:           9:00...... wc: 1eBrazil - 2fMexico (samara){16}
  8:          13:00...... wc: 1gBelgica - 2hJapon (rostov){16}
Tuesday     3 July 2018
  8:           9:00...... wc: 2eSuiza - 1fSuecia (san petersburgo){16}
  8:          13:00...... wc: 2gInglaterra - 1hColombia (moscu){16}
Wednesday   4 July 2018
  Diary:      Independence Day
Thursday    5 July 2018
Friday      6 July 2018
  4:           9:00...... wc: 1qfFrancia - 2qfUruguay (nizhny){4}
  4:          13:00...... wc: 5qfBrasil - 6qfBelgica (kazán){4}
Saturday    7 July 2018
  4:           9:00...... wc: 7qfRusia - 8qfCrocia (samara){4}
  4:          13:00...... wc: 3qfSuecia - 4qfInglaterra (sochi){4}
Sunday      8 July 2018
--8<---------------cut here---------------end--------------->8---



In GNU Emacs 26.1 (build 2, armv7l-unknown-linux-gnueabihf, X toolkit, Xaw3d scroll bars)
 of 2018-06-28 built on sacsa
Windowing system distributor 'The X.Org Foundation', version 11.0.11903000
Recent messages:
setq: Opening directory: No such file or directory, /home/olla/doc/sorg/deft
Saving file /home/olla/docs/org/deft/jl-diary.agendatestel.org...
Wrote /home/olla/docs/org/deft/jl-diary.agendatestel.org
Preparing diary...done
Preparing diary...done
Preparing diary...done
Preparing diary...done
Preparing diary...done
Preparing diary...done
Preparing diary...done
Quit
Configured using:
 'configure '--program-transform-name=s/^ctags$/ctags.emacs/'
 --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/usr/share --with-x-toolkit=lucid
 --mandir=/usr/share/man --pdfdir=/usr/share/doc/emacs --with-modules
 --with-xft --without-gconf --without-gsettings --with-imagemagick
 --without-xwidgets --without-pop --with-gameuser=:games 'CFLAGS=-Og
 -g3' CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

Configured features:
XAW3D XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS NOTIFY ACL
GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS
LUCID X11 MODULES THREADS LIBSYSTEMD LCMS2

Important settings:
  value of $LC_COLLATE: C
  value of $LANG: C
  locale-coding-system: nil

Major mode: Org-Agenda Week Diary Ddl Grid

Minor modes in effect:
  diff-auto-refine-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug sendmail view cal-china lunar solar
cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs vc-git
diff-mode diary-lib diary-loaddefs cal-iso org-agenda edmacro kmacro
org-rmail org-mhe org-irc org-info org-gnus nnir gnus-sum gnus-group
gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls
utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range message rmc
puny seq byte-opt gv bytecomp byte-compile cconv rfc822 mml mml-sec
password-cache epa derived epg epg-config mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus
nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums
mail-utils mm-util mail-prsvr wid-edit org-docview doc-view jka-compr
image-mode org-bibtex bibtex org-bbdb org-w3m org-element cl-seq
avl-tree generator org advice org-macro org-footnote org-pcomplete
pcomplete org-list org-faces org-entities noutline outline easy-mmode
org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table
ob-keys ob-exp ob-comint comint ansi-color ring ob-core ob-eval
org-compat org-macs org-loaddefs format-spec find-func cal-menu easymenu
calendar cal-loaddefs misearch multi-isearch dired-aux cl-loaddefs
cl-lib dired dired-loaddefs elec-pair time-date mule-util tooltip eldoc
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win
x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow isearch timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote dbusbind inotify lcms2 dynamic-setting font-render-setting
x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 8 219191 14521)
 (symbols 24 33028 2)
 (miscs 20 118 836)
 (strings 16 70073 2629)
 (string-bytes 1 2236772)
 (vectors 12 29409)
 (vector-slots 4 704259 12516)
 (floats 8 739 501)
 (intervals 28 2244 707)
 (buffers 536 17))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32068; Package emacs. (Fri, 06 Jul 2018 00:53:02 GMT) Full text and rfc822 format available.

Message #8 received at 32068 <at> debbugs.gnu.org (full text, mbox):

From: rrandresf <at> gmail.com (Andrés Ramírez)
To: 32068 <at> debbugs.gnu.org
Subject: forgotten file
Date: Fri, 06 Jul 2018 00:52:04 +0000
the file ~/docs/org/deft/jl-diary.agendatest.org:
--8<---------------cut here---------------start------------->8---
* the world cup on my agenda
#+CATEGORY: groups
%%(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}

#+CATEGORY: 8
%%(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}

#+CATEGORY: 4
%%(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}
#+CATEGORY: semi-final
%%(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}
#+CATEGORY: final
%%(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---




bug reassigned from package 'emacs' to 'org-mode'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 06 Jul 2018 00:55:02 GMT) Full text and rfc822 format available.

bug No longer marked as found in versions 26.1. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 06 Jul 2018 00:55:02 GMT) Full text and rfc822 format available.

Information forwarded to emacs-orgmode <at> gnu.org:
bug#32068; Package org-mode. (Fri, 06 Jul 2018 06:07:02 GMT) Full text and rfc822 format available.

Message #15 received at 32068 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: rrandresf <at> gmail.com
Cc: 32068 <at> debbugs.gnu.org
Subject: Re: bug#32068: 26.1; problem with org-agenda and categories
Date: Fri, 06 Jul 2018 09:06:52 +0300
> From: rrandresf <at> gmail.com
> Date: Fri, 06 Jul 2018 00:46:14 +0000
> 
> 
> 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.




Information forwarded to emacs-orgmode <at> gnu.org:
bug#32068; Package org-mode. (Fri, 06 Jul 2018 13:23:01 GMT) Full text and rfc822 format available.

Message #18 received at 32068 <at> debbugs.gnu.org (full text, mbox):

From: andrés ramírez <rrandresf <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 32068 <at> debbugs.gnu.org
Subject: Re: bug#32068: 26.1; problem with org-agenda and categories
Date: Fri, 06 Jul 2018 13:22:08 +0000
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




Information forwarded to emacs-orgmode <at> gnu.org:
bug#32068; Package org-mode. (Sat, 07 Jul 2018 11:06:01 GMT) Full text and rfc822 format available.

Message #21 received at 32068 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 32068 <at> debbugs.gnu.org, rrandresf <at> gmail.com
Subject: Re: bug#32068: 26.1; problem with org-agenda and categories
Date: Sat, 07 Jul 2018 13:05:53 +0200
Hello,

Eli Zaretskii <eliz <at> gnu.org> 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




Information forwarded to emacs-orgmode <at> gnu.org:
bug#32068; Package org-mode. (Sat, 07 Jul 2018 11:37:03 GMT) Full text and rfc822 format available.

Message #24 received at 32068 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 32068 <at> debbugs.gnu.org, rrandresf <at> gmail.com
Subject: Re: bug#32068: 26.1; problem with org-agenda and categories
Date: Sat, 07 Jul 2018 14:36:41 +0300
> From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
> Cc: rrandresf <at> gmail.com,  32068 <at> 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.




Information forwarded to emacs-orgmode <at> gnu.org:
bug#32068; Package org-mode. (Sat, 07 Jul 2018 13:03:02 GMT) Full text and rfc822 format available.

Message #27 received at 32068 <at> debbugs.gnu.org (full text, mbox):

From: andrés ramírez <rrandresf <at> gmail.com>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 32068 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#32068: 26.1; problem with org-agenda and categories
Date: Sat, 07 Jul 2018 13:02:19 +0000
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




Information forwarded to emacs-orgmode <at> gnu.org:
bug#32068; Package org-mode. (Sat, 07 Jul 2018 15:53:02 GMT) Full text and rfc822 format available.

Message #30 received at 32068 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: andrés ramírez <rrandresf <at> gmail.com>
Cc: 32068 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#32068: 26.1; problem with org-agenda and categories
Date: Sat, 07 Jul 2018 17:52:03 +0200
Hello,

andrés ramírez <rrandresf <at> gmail.com> 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 Goaziou                                                0x80A93738




Information forwarded to emacs-orgmode <at> gnu.org:
bug#32068; Package org-mode. (Sat, 07 Jul 2018 16:45:02 GMT) Full text and rfc822 format available.

Message #33 received at 32068 <at> debbugs.gnu.org (full text, mbox):

From: andrés ramírez <rrandresf <at> gmail.com>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 32068 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#32068: 26.1; problem with org-agenda and categories
Date: Sat, 07 Jul 2018 16:44:27 +0000
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





Information forwarded to emacs-orgmode <at> gnu.org:
bug#32068; Package org-mode. (Sat, 07 Jul 2018 23:35:02 GMT) Full text and rfc822 format available.

Message #36 received at 32068 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: andrés ramírez <rrandresf <at> gmail.com>
Cc: 32068 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#32068: 26.1; problem with org-agenda and categories
Date: Sun, 08 Jul 2018 01:34:10 +0200
Hello,

andrés ramírez <rrandresf <at> gmail.com> 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 Goaziou                                                0x80A93738




Information forwarded to emacs-orgmode <at> gnu.org:
bug#32068; Package org-mode. (Sun, 08 Jul 2018 00:33:02 GMT) Full text and rfc822 format available.

Message #39 received at 32068 <at> debbugs.gnu.org (full text, mbox):

From: "rrandresf <at> gmail.com" <rrandresf <at> gmail.com>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 32068 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#32068: 26.1; problem with org-agenda and categories
Date: Sat, 7 Jul 2018 19:32:21 -0500
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




Information forwarded to emacs-orgmode <at> gnu.org:
bug#32068; Package org-mode. (Sun, 08 Jul 2018 09:57:01 GMT) Full text and rfc822 format available.

Message #42 received at 32068 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: "rrandresf\@gmail.com" <rrandresf <at> gmail.com>
Cc: 32068 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#32068: 26.1; problem with org-agenda and categories
Date: Sun, 08 Jul 2018 11:55:57 +0200
Hello,

"rrandresf <at> gmail.com" <rrandresf <at> 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 Goaziou                                                0x80A93738




Information forwarded to emacs-orgmode <at> gnu.org:
bug#32068; Package org-mode. (Mon, 09 Jul 2018 03:14:01 GMT) Full text and rfc822 format available.

Message #45 received at 32068 <at> debbugs.gnu.org (full text, mbox):

From: andrés ramírez <rrandresf <at> gmail.com>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 32068 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#32068: 26.1; problem with org-agenda and categories
Date: Mon, 09 Jul 2018 03:13:27 +0000
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
Tuesday    10 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




Information forwarded to emacs-orgmode <at> gnu.org:
bug#32068; Package org-mode. (Mon, 09 Jul 2018 07:24:01 GMT) Full text and rfc822 format available.

Message #48 received at 32068 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: andrés ramírez <rrandresf <at> gmail.com>
Cc: 32068 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#32068: 26.1; problem with org-agenda and categories
Date: Mon, 09 Jul 2018 09:23:47 +0200
Hello,

andrés ramírez <rrandresf <at> gmail.com> 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 Goaziou                                                0x80A93738




Information forwarded to emacs-orgmode <at> gnu.org:
bug#32068; Package org-mode. (Mon, 09 Jul 2018 14:30:02 GMT) Full text and rfc822 format available.

Message #51 received at 32068 <at> debbugs.gnu.org (full text, mbox):

From: andrés ramírez <rrandresf <at> gmail.com>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 32068 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: obsolescense of #+CATEGORY on org-mode 9.x (was: bug#32068: 26.1;
 problem with org-agenda and categories)
Date: Mon, 09 Jul 2018 14:29:00 +0000
Hi Nicolas.
> The correct syntax is
> 
>     ** groups
>     :PROPERTIES:
>     :CATEGORY: 0.6groups
>     :END:

it worked. It also worked on emacs 23.4 with org-mode-version 6.33x

> See (info "(org) Property Syntax")

Thanks. For your help on solving this incompatibility.

I would like to add a word here "discoverability".

¿What would have been the way a user should discover this incompatibility
or obsolescense of the "#+CATEGORY"?.

Actually I have seen this behaviour
for more than two months time. because sometimes I use master. So this behaviour has
more than two months or merged. But I think this could lead to an
opportunity for explaning how a user should react to this change. On my
case It have not been easy to find the right way of solving this.

Regards




Information forwarded to emacs-orgmode <at> gnu.org:
bug#32068; Package org-mode. (Mon, 09 Jul 2018 14:39:02 GMT) Full text and rfc822 format available.

Message #54 received at 32068 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: andrés ramírez <rrandresf <at> gmail.com>
Cc: 32068 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: obsolescense of #+CATEGORY on org-mode 9.x
Date: Mon, 09 Jul 2018 16:38:43 +0200
Hello,

andrés ramírez <rrandresf <at> gmail.com> writes:

> ¿What would have been the way a user should discover this incompatibility
> or obsolescense of the "#+CATEGORY"?.

I would suggest that user to read the releases notes, located in
ORG-NEWS files, in particular the "Incompatible changes" sections.

This particular change was announced in Org 8.3.

Also, this feature (multiple CATEGORY keywords) was strongly deprecated,
as pointed out in the old manual, since Org 5.14 (2008).

Regards,

-- 
Nicolas Goaziou                                                0x80A93738




Information forwarded to emacs-orgmode <at> gnu.org:
bug#32068; Package org-mode. (Mon, 09 Jul 2018 15:04:01 GMT) Full text and rfc822 format available.

Message #57 received at 32068 <at> debbugs.gnu.org (full text, mbox):

From: andrés ramírez <rrandresf <at> gmail.com>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 32068 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: obsolescense of #+CATEGORY on org-mode 9.x
Date: Mon, 09 Jul 2018 15:03:07 +0000
Hi Nicolas.
> > ¿What would have been the way a user should discover this incompatibility
> > or obsolescense of the "#+CATEGORY"?.
> 
> I would suggest that user to read the releases notes, located in
> ORG-NEWS files, in particular the "Incompatible changes" sections.
> 
> This particular change was announced in Org 8.3.
> 
> Also, this feature (multiple CATEGORY keywords) was strongly deprecated,
> as pointed out in the old manual, since Org 5.14 (2008).

I see. Something is missing on that comment "Use org-lint for a hint
about how to modify your agenda file".

/usr/share/emacs/26.1/etc/ORG-NEWS

emacs 25.1 has org-version 8.2.10

Debian still have 24.5 as default emacs on debian strech. So this issue
is going to arise again in the future. So just for the notice of future
users.

this:
--8<---------------cut here---------------start------------->8---
#+CATEGORY: world cup
--8<---------------cut here---------------end--------------->8---

should be changed to:
--8<---------------cut here---------------start------------->8---
** world cup (not showed on agenda view)
    :PROPERTIES:
    :CATEGORY: world cup
    :END:
--8<---------------cut here---------------end--------------->8---

Regards




bug closed, send any further explanations to 32068 <at> debbugs.gnu.org and rrandresf <at> gmail.com Request was from Nicolas Goaziou <mail <at> nicolasgoaziou.fr> to control <at> debbugs.gnu.org. (Thu, 20 Sep 2018 19:23:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 19 Oct 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 184 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.