From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike McLean Subject: Re: agenda time grid -- default time slot lines Date: Mon, 6 Oct 2014 05:58:49 -0400 Message-ID: References: <86ppe5h8vv.fsf@example.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a11c1b65a500e780504be22c2 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52849) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xb54Z-0008PM-1g for emacs-orgmode@gnu.org; Mon, 06 Oct 2014 05:59:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xb54T-0001Za-VN for emacs-orgmode@gnu.org; Mon, 06 Oct 2014 05:59:18 -0400 Received: from sasl.smtp.pobox.com ([208.72.237.25]:62109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xb54T-0001Ys-RP for emacs-orgmode@gnu.org; Mon, 06 Oct 2014 05:59:13 -0400 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 1A0E81091C for ; Mon, 6 Oct 2014 05:59:11 -0400 (EDT) Received: from pb-sasl1.int.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 121921091A for ; Mon, 6 Oct 2014 05:59:11 -0400 (EDT) Received: from mail-wg0-f45.google.com (unknown [74.125.82.45]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id 4CCF010919 for ; Mon, 6 Oct 2014 05:59:10 -0400 (EDT) Received: by mail-wg0-f45.google.com with SMTP id m15so6021681wgh.4 for ; Mon, 06 Oct 2014 02:59:09 -0700 (PDT) In-Reply-To: <86ppe5h8vv.fsf@example.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastien Vauban Cc: emacs-orgmode --001a11c1b65a500e780504be22c2 Content-Type: multipart/alternative; boundary=001a11c1b65a500e710504be22c0 --001a11c1b65a500e710504be22c0 Content-Type: text/plain; charset=UTF-8 Attached is a patch that updates the Docstring of org-agenda-time-grid to match the actual options. On Mon, Oct 6, 2014 at 4:58 AM, Sebastien Vauban wrote: > 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 > > > --001a11c1b65a500e710504be22c0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Attached is a patch that updates the Docstring of=C2=A0org-agenda-time-gr= id to match the actual options.


On Mon, Oct 6, 2014 at 4:58 AM, Sebastien= Vauban <sva-news@mygooglest.com> wrote:
hymie! wrote:
> My Agenda for a-week-from-next-Tuesday looks like this:
>
> Tuesday=C2=A0 =C2=A0 14 October 2014
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 8:00...... ----= ------------
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A010:00...... ----= ------------
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A012:00...... ----= ------------
>=C2=A0 =C2=A0 =C2=A0 =C2=A0tasks:=C2=A0 14:00-15:00 IT-Security meeting=
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A014:00...... ----= ------------
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A016:00...... ----= ------------
>
> Assuming that I cannot suppress the 14:00 line in this case ...
> shouldn't the task line be **below** the 14:00 line?=C2=A0 I can &= quot;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.=C2=A0 The meeting is not between 1= 2:00
> and 14:00.=C2=A0 It's between 14:00 and 16:00.

False assumption!=C2=A0 ;-)

Use `remove-match':

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

Best regards,
=C2=A0 Seb

--
Sebastien Vauban



--001a11c1b65a500e710504be22c0-- --001a11c1b65a500e780504be22c2 Content-Type: application/octet-stream; name="0001-org-agenda.el-Update-docstring.patch" Content-Disposition: attachment; filename="0001-org-agenda.el-Update-docstring.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_i0xnbtv00 RnJvbSA2MDExMjc5M2U3ZDQ1OWI0M2NmNTlmOTZlNzczMDE0ODhiNzQxMmQ3IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBNaWtlIE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