emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: agenda time grid -- default time slot lines
Date: Mon, 06 Oct 2014 10:58:44 +0200	[thread overview]
Message-ID: <86ppe5h8vv.fsf@example.com> (raw)
In-Reply-To: m0mmh4$19f$1@ger.gmane.org

hymie! wrote:
> My Agenda for a-week-from-next-Tuesday looks like this:
>
> Tuesday    14 October 2014
>                8:00...... ----------------
>               10:00...... ----------------
>               12:00...... ----------------
>       tasks:  14:00-15:00 IT-Security meeting
>               14:00...... ----------------
>               16:00...... ----------------
>
> Assuming that I cannot suppress the 14:00 line in this case ...
> shouldn't the task line be **below** the 14:00 line?  I can "force"
> it by changing the meeting time from 14:00 to 14:01, but it seems like
> this is the wrong way to list them.  The meeting is not between 12:00
> and 14:00.  It's between 14:00 and 16:00.

False assumption!  ;-)

Use `remove-match':

--8<---------------cut here---------------start------------->8---
  (setq org-agenda-time-grid '((daily remove-match)
                               ""
                               (0800 1000 1200 1400 1600 1800 2000)))
--8<---------------cut here---------------end--------------->8---

Best regards,
  Seb

-- 
Sebastien Vauban

  reply	other threads:[~2014-10-06  8:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-03 17:31 agenda time grid -- default time slot lines hymie!
2014-10-06  8:58 ` Sebastien Vauban [this message]
2014-10-06  9:58   ` Mike McLean
     [not found]     ` <CANid5Q50ZKDBmhDTGY4Uu9m6L2OQ9ek9HqO2w3G4mHfVv1MC3w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-10-06 10:19       ` Sebastien Vauban
2014-10-07 10:32     ` Nicolas Goaziou
2014-10-09  7:34   ` Detlef Steuer
2014-10-09  8:33     ` Detlef Steuer

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=86ppe5h8vv.fsf@example.com \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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).