all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#32068: 26.1; problem with org-agenda and categories
@ 2018-07-06  0:46 rrandresf
  2018-07-06  0:52 ` bug#32068: forgotten file Andrés Ramírez
  2018-07-06  6:06 ` bug#32068: 26.1; problem with org-agenda and categories Eli Zaretskii
  0 siblings, 2 replies; 17+ messages in thread
From: rrandresf @ 2018-07-06  0:46 UTC (permalink / raw
  To: 32068


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))





^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#32068: forgotten file
  2018-07-06  0:46 bug#32068: 26.1; problem with org-agenda and categories rrandresf
@ 2018-07-06  0:52 ` Andrés Ramírez
  2018-07-06  6:06 ` bug#32068: 26.1; problem with org-agenda and categories Eli Zaretskii
  1 sibling, 0 replies; 17+ messages in thread
From: Andrés Ramírez @ 2018-07-06  0:52 UTC (permalink / raw
  To: 32068

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---





^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#32068: 26.1; problem with org-agenda and categories
  2018-07-06  0:46 bug#32068: 26.1; problem with org-agenda and categories rrandresf
  2018-07-06  0:52 ` bug#32068: forgotten file Andrés Ramírez
@ 2018-07-06  6:06 ` Eli Zaretskii
  2018-07-06 13:22   ` andrés ramírez
  2018-07-07 11:05   ` Nicolas Goaziou
  1 sibling, 2 replies; 17+ messages in thread
From: Eli Zaretskii @ 2018-07-06  6:06 UTC (permalink / raw
  To: rrandresf; +Cc: 32068

> From: rrandresf@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.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#32068: 26.1; problem with org-agenda and categories
  2018-07-06  6:06 ` bug#32068: 26.1; problem with org-agenda and categories Eli Zaretskii
@ 2018-07-06 13:22   ` andrés ramírez
  2018-07-07 11:05   ` Nicolas Goaziou
  1 sibling, 0 replies; 17+ messages in thread
From: andrés ramírez @ 2018-07-06 13:22 UTC (permalink / raw
  To: Eli Zaretskii; +Cc: 32068

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#32068: 26.1; problem with org-agenda and categories
  2018-07-06  6:06 ` bug#32068: 26.1; problem with org-agenda and categories Eli Zaretskii
  2018-07-06 13:22   ` andrés ramírez
@ 2018-07-07 11:05   ` Nicolas Goaziou
  2018-07-07 11:36     ` Eli Zaretskii
  2018-07-07 13:02     ` andrés ramírez
  1 sibling, 2 replies; 17+ messages in thread
From: Nicolas Goaziou @ 2018-07-07 11:05 UTC (permalink / raw
  To: Eli Zaretskii; +Cc: 32068, rrandresf

Hello,

Eli Zaretskii <eliz@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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#32068: 26.1; problem with org-agenda and categories
  2018-07-07 11:05   ` Nicolas Goaziou
@ 2018-07-07 11:36     ` Eli Zaretskii
  2018-07-07 13:02     ` andrés ramírez
  1 sibling, 0 replies; 17+ messages in thread
From: Eli Zaretskii @ 2018-07-07 11:36 UTC (permalink / raw
  To: Nicolas Goaziou; +Cc: 32068, rrandresf

> From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
> Cc: rrandresf@gmail.com,  32068@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.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#32068: 26.1; problem with org-agenda and categories
  2018-07-07 11:05   ` Nicolas Goaziou
  2018-07-07 11:36     ` Eli Zaretskii
@ 2018-07-07 13:02     ` andrés ramírez
  2018-07-07 15:52       ` Nicolas Goaziou
  1 sibling, 1 reply; 17+ messages in thread
From: andrés ramírez @ 2018-07-07 13:02 UTC (permalink / raw
  To: Nicolas Goaziou; +Cc: 32068, Eli Zaretskii

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#32068: 26.1; problem with org-agenda and categories
  2018-07-07 13:02     ` andrés ramírez
@ 2018-07-07 15:52       ` Nicolas Goaziou
  2018-07-07 16:44         ` andrés ramírez
  0 siblings, 1 reply; 17+ messages in thread
From: Nicolas Goaziou @ 2018-07-07 15:52 UTC (permalink / raw
  To: andrés ramírez; +Cc: 32068, Eli Zaretskii

Hello,

andrés ramírez <rrandresf@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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#32068: 26.1; problem with org-agenda and categories
  2018-07-07 15:52       ` Nicolas Goaziou
@ 2018-07-07 16:44         ` andrés ramírez
  2018-07-07 23:34           ` Nicolas Goaziou
  0 siblings, 1 reply; 17+ messages in thread
From: andrés ramírez @ 2018-07-07 16:44 UTC (permalink / raw
  To: Nicolas Goaziou; +Cc: 32068, Eli Zaretskii

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#32068: 26.1; problem with org-agenda and categories
  2018-07-07 16:44         ` andrés ramírez
@ 2018-07-07 23:34           ` Nicolas Goaziou
  2018-07-08  0:32             ` rrandresf
  0 siblings, 1 reply; 17+ messages in thread
From: Nicolas Goaziou @ 2018-07-07 23:34 UTC (permalink / raw
  To: andrés ramírez; +Cc: 32068, Eli Zaretskii

Hello,

andrés ramírez <rrandresf@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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#32068: 26.1; problem with org-agenda and categories
  2018-07-07 23:34           ` Nicolas Goaziou
@ 2018-07-08  0:32             ` rrandresf
  2018-07-08  9:55               ` Nicolas Goaziou
  0 siblings, 1 reply; 17+ messages in thread
From: rrandresf @ 2018-07-08  0:32 UTC (permalink / raw
  To: Nicolas Goaziou; +Cc: 32068, Eli Zaretskii

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#32068: 26.1; problem with org-agenda and categories
  2018-07-08  0:32             ` rrandresf
@ 2018-07-08  9:55               ` Nicolas Goaziou
  2018-07-09  3:13                 ` andrés ramírez
  0 siblings, 1 reply; 17+ messages in thread
From: Nicolas Goaziou @ 2018-07-08  9:55 UTC (permalink / raw
  To: rrandresf@gmail.com; +Cc: 32068, Eli Zaretskii

Hello,

"rrandresf@gmail.com" <rrandresf@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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#32068: 26.1; problem with org-agenda and categories
  2018-07-08  9:55               ` Nicolas Goaziou
@ 2018-07-09  3:13                 ` andrés ramírez
  2018-07-09  7:23                   ` Nicolas Goaziou
  0 siblings, 1 reply; 17+ messages in thread
From: andrés ramírez @ 2018-07-09  3:13 UTC (permalink / raw
  To: Nicolas Goaziou; +Cc: 32068, Eli Zaretskii

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#32068: 26.1; problem with org-agenda and categories
  2018-07-09  3:13                 ` andrés ramírez
@ 2018-07-09  7:23                   ` Nicolas Goaziou
  2018-07-09 14:29                     ` bug#32068: obsolescense of #+CATEGORY on org-mode 9.x (was: bug#32068: 26.1; problem with org-agenda and categories) andrés ramírez
  0 siblings, 1 reply; 17+ messages in thread
From: Nicolas Goaziou @ 2018-07-09  7:23 UTC (permalink / raw
  To: andrés ramírez; +Cc: 32068, Eli Zaretskii

Hello,

andrés ramírez <rrandresf@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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#32068: obsolescense of #+CATEGORY on org-mode 9.x (was: bug#32068: 26.1; problem with org-agenda and categories)
  2018-07-09  7:23                   ` Nicolas Goaziou
@ 2018-07-09 14:29                     ` andrés ramírez
  2018-07-09 14:38                       ` bug#32068: obsolescense of #+CATEGORY on org-mode 9.x Nicolas Goaziou
  0 siblings, 1 reply; 17+ messages in thread
From: andrés ramírez @ 2018-07-09 14:29 UTC (permalink / raw
  To: Nicolas Goaziou; +Cc: 32068, Eli Zaretskii

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#32068: obsolescense of #+CATEGORY on org-mode 9.x
  2018-07-09 14:29                     ` bug#32068: obsolescense of #+CATEGORY on org-mode 9.x (was: bug#32068: 26.1; problem with org-agenda and categories) andrés ramírez
@ 2018-07-09 14:38                       ` Nicolas Goaziou
  2018-07-09 15:03                         ` andrés ramírez
  0 siblings, 1 reply; 17+ messages in thread
From: Nicolas Goaziou @ 2018-07-09 14:38 UTC (permalink / raw
  To: andrés ramírez; +Cc: 32068, Eli Zaretskii

Hello,

andrés ramírez <rrandresf@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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* bug#32068: obsolescense of #+CATEGORY on org-mode 9.x
  2018-07-09 14:38                       ` bug#32068: obsolescense of #+CATEGORY on org-mode 9.x Nicolas Goaziou
@ 2018-07-09 15:03                         ` andrés ramírez
  0 siblings, 0 replies; 17+ messages in thread
From: andrés ramírez @ 2018-07-09 15:03 UTC (permalink / raw
  To: Nicolas Goaziou; +Cc: 32068, Eli Zaretskii

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2018-07-09 15:04 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-06  0:46 bug#32068: 26.1; problem with org-agenda and categories rrandresf
2018-07-06  0:52 ` bug#32068: forgotten file Andrés Ramírez
2018-07-06  6:06 ` bug#32068: 26.1; problem with org-agenda and categories Eli Zaretskii
2018-07-06 13:22   ` andrés ramírez
2018-07-07 11:05   ` Nicolas Goaziou
2018-07-07 11:36     ` Eli Zaretskii
2018-07-07 13:02     ` andrés ramírez
2018-07-07 15:52       ` Nicolas Goaziou
2018-07-07 16:44         ` andrés ramírez
2018-07-07 23:34           ` Nicolas Goaziou
2018-07-08  0:32             ` rrandresf
2018-07-08  9:55               ` Nicolas Goaziou
2018-07-09  3:13                 ` andrés ramírez
2018-07-09  7:23                   ` Nicolas Goaziou
2018-07-09 14:29                     ` bug#32068: obsolescense of #+CATEGORY on org-mode 9.x (was: bug#32068: 26.1; problem with org-agenda and categories) andrés ramírez
2018-07-09 14:38                       ` bug#32068: obsolescense of #+CATEGORY on org-mode 9.x Nicolas Goaziou
2018-07-09 15:03                         ` andrés ramírez

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.