emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-agenda time grid broken ?
@ 2017-08-05 21:28 Julien Cubizolles
  2017-08-05 22:24 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Julien Cubizolles @ 2017-08-05 21:28 UTC (permalink / raw)
  To: emacs-orgmode

I noticed today (I hadn't used it in a long time) that the today and/or
time-grid view in the agenda seems broken.

With emacs -Q running Org mode version 9.0.9 (release_9.0.9 @ /usr/share/emacs/26.0.50/lisp/org/)

(setq org-agenda-files '("~/tmp/test-org/todo.org"))

todo.org
--8<---------------cut here---------------start------------->8---
# -*- coding: utf-8 -*-
* Beach
<2017-08-05 sam. 14:00-15:00>
--8<---------------cut here---------------end--------------->8---

org-agenda gives, as expected:
--8<---------------cut here---------------start------------->8---
Week-agenda (W31):
Monday     31 July 2017 W31
Tuesday     1 August 2017
Wednesday   2 August 2017
Thursday    3 August 2017
Friday      4 August 2017
Saturday    5 August 2017
               8:00...... ----------------
              10:00...... ----------------
              12:00...... ----------------
  todo:       14:00-15:00 Beach
              14:00...... ----------------
              16:00...... ----------------
              18:00...... ----------------
              20:00...... ----------------
              23:17...... now - - - - - - - - - - - - - - - - - - - - - - - - -
Sunday      6 August 2017
--8<---------------cut here---------------end--------------->8---

However, with Org mode version 9.0.9 (release_9.0.9 @ /home/wilk/git-repositories/org-mode/lisp/)

the info for today are missing: org-agenda gives (notice Saturday is missing)

--8<---------------cut here---------------start------------->8---
Week-agenda (W31):
Monday     31 July 2017 W31
Tuesday     1 August 2017
Wednesday   2 August 2017
Thursday    3 August 2017
Friday      4 August 2017
--8<---------------cut here---------------end--------------->8---

and attempting to switch to the day view gives the following message

--8<---------------cut here---------------start------------->8---
org-agenda-check-type: No Org agenda currently displayed
--8<---------------cut here---------------end--------------->8---

Did I miss an important change to the way org-agenda-files is to be
used ?

Julien.

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

* Re: org-agenda time grid broken ?
  2017-08-05 21:28 org-agenda time grid broken ? Julien Cubizolles
@ 2017-08-05 22:24 ` Nicolas Goaziou
  2017-08-06  6:27   ` Julien Cubizolles
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2017-08-05 22:24 UTC (permalink / raw)
  To: Julien Cubizolles; +Cc: emacs-orgmode

Hello,

Julien Cubizolles <j.cubizolles@free.fr> writes:

> Did I miss an important change to the way org-agenda-files is to be
> used ?

It is probably related to the change in `org-agenda-time-grid'. See new
docstring.


Regards,

-- 
Nicolas Goaziou

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

* Re: org-agenda time grid broken ?
  2017-08-05 22:24 ` Nicolas Goaziou
@ 2017-08-06  6:27   ` Julien Cubizolles
  2017-08-06  7:57     ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Julien Cubizolles @ 2017-08-06  6:27 UTC (permalink / raw)
  To: emacs-orgmode

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Julien Cubizolles <j.cubizolles@free.fr> writes:
>
>> Did I miss an important change to the way org-agenda-files is to be
>> used ?
>
> It is probably related to the change in `org-agenda-time-grid'. See new
> docstring.

I've looked into it but the example I provided is run from emacs -Q and
no change to the default value of org-agenda-time-grid, set to

((daily today require-timed)
 (800 1000 1200 1400 1600 1800 2000)
 "......" "----------------")

Also, I noticed two other things:

* when I'm using org from the git repo, a call to org-agenda throws this
  error:

  --8<---------------cut here---------------start------------->8---
  org-agenda-format-item: Symbol’s function definition is void: org-duration-to-minutes
  --8<---------------cut here---------------end--------------->8---

* I'm using
  --8<---------------cut here---------------start------------->8---
  (add-to-list 'load-path "~/git-repositories/org-mode/lisp")
  (add-to-list 'load-path "~/git-repositories/org-mode/contrib/lisp")
  --8<---------------cut here---------------end--------------->8---
  to choose the git version of org-mode. If I run org-reload immediately
  afterwards (which I didn't use to do up to now), the error disappears,
  at least with the minimalist example from my previous post.

Julien.
  

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

* Re: org-agenda time grid broken ?
  2017-08-06  6:27   ` Julien Cubizolles
@ 2017-08-06  7:57     ` Nicolas Goaziou
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2017-08-06  7:57 UTC (permalink / raw)
  To: Julien Cubizolles; +Cc: emacs-orgmode

Hello,

Julien Cubizolles <j.cubizolles@free.fr> writes:

> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>
>> Hello,
>>
>> Julien Cubizolles <j.cubizolles@free.fr> writes:
>>
>>> Did I miss an important change to the way org-agenda-files is to be
>>> used ?
>>
>> It is probably related to the change in `org-agenda-time-grid'. See new
>> docstring.
>
> I've looked into it but the example I provided is run from emacs -Q and
> no change to the default value of org-agenda-time-grid, set to
>
> ((daily today require-timed)
>  (800 1000 1200 1400 1600 1800 2000)
>  "......" "----------------")

I can reproduce it. It looks like the bug reported at
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-07/msg00519.html>.
>
> Also, I noticed two other things:
>
> * when I'm using org from the git repo, a call to org-agenda throws this
>   error:
>
>   --8<---------------cut here---------------start------------->8---
>   org-agenda-format-item: Symbol’s function definition is void: org-duration-to-minutes
>   --8<---------------cut here---------------end--------------->8---

Something is wrong in your set-up. `org-duration-to-minutes' was
introduced in master.

Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2017-08-06  7:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-05 21:28 org-agenda time grid broken ? Julien Cubizolles
2017-08-05 22:24 ` Nicolas Goaziou
2017-08-06  6:27   ` Julien Cubizolles
2017-08-06  7:57     ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).