emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Victor A. Stoichita <victor@svictor.net>
To: orgmode list <emacs-orgmode@gnu.org>
Subject: ordering events by hour in the agenda
Date: Mon, 27 Jun 2016 16:33:16 +0200	[thread overview]
Message-ID: <87k2hawvkj.fsf@bufni.kher> (raw)

Hi,

I need some help to understand the way the hour grid works in 
agenda displays. I read this page from the doc :

[1] 
http://orgmode.org/manual/Time_002dof_002dday-specifications.html

But my agenda doesn’t look like the examples there. Its timed 
events appear in seemingly random order and they are not reflected 
in the hourly grid when I display it.

Here’s a snippet from my weekly agenda without the grid:

--8<---------------cut here---------------start------------->8--- 
Monday     27 June 2016 W26 
  vic:        17:00...... Docteur Dupont vic:         9:00...... 
  Appeler Dupond 
Tuesday    28 June 2016 
  vic:        10:00...... Rencontrer Pierre vic: 
  14:00...... Voir Jacques vic:        14:00...... Rdv Paul?  vic: 
  12:00...... Visite Julie

--8<---------------cut here---------------end--------------->8---

Based on [1] I’d expect Appeler Dupond to appear before Docteur 
Dupont on Monday. There seems to be no logic in the order of the 
events on Tuesday either. All these events come from the same org 
file. None has a specific tag or something.

Here’s the same snippet with the hourly grid turned on:

--8<---------------cut here---------------start------------->8--- 
Monday     27 June 2016 W26 
  vic:        17:00...... Docteur Dupont vic:         9:00...... 
  Appeler Dupond 
              16:04...... 
              now - - - - - - - - - - - - - - - - - - - - - - - - - 
              20:00...... ---------------- 
              18:00...... ---------------- 
              16:00...... ---------------- 
              14:00...... ---------------- 
              12:00...... ---------------- 
              10:00...... ---------------- 
               8:00...... ---------------- 
Tuesday    28 June 2016 
  vic:        10:00...... Rencontrer Pierre vic: 
  14:00...... Voir Jacques vic:        14:00...... Rdv Paul?  vic: 
  12:00...... Visite Julie
  --8<---------------cut 
  here---------------end--------------->8---

Based on [1] I’d expect the two events at 9:00 and 17:00 on Monday 
to appear in the grid. I’d also expect the grid to progress from 
early at the top to late at the bottom. I’m not sure whether the 
line with "Now" should appear at the top (rather than at its place 
in the hour listing).

C-h v says that the value of org-agenda-time-grid is ((daily today 
require-timed) "----------------" (800 1000 1200 1400 1600 1800 
2000))
This is the default setting I think. I have not set any variable 
related to the time grid in my .emacs file.

Where else should I look to get the timed events arranged in their 
chrolonogical order?

I have Org-mode 8.3.4 with Emacs 24.5.1

Best regards,
Victor

             reply	other threads:[~2016-06-27 14:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-27 14:33 Victor A. Stoichita [this message]
     [not found] <82f0f13a45734a25bb965208bffe5d91@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-06-27 15:13 ` ordering events by hour in the agenda Eric S Fraga
2016-06-27 19:47   ` Victor A. Stoichita
2016-06-27 19:58     ` Victor A. Stoichita
2016-06-27 21:26       ` Nick Dokos
2016-06-28  7:50       ` Victor A. Stoichita
2016-06-27 19:48   ` Victor A. Stoichita

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k2hawvkj.fsf@bufni.kher \
    --to=victor@svictor.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).