* agenda time grid -- default time slot lines
@ 2014-10-03 17:31 hymie!
2014-10-06 8:58 ` Sebastien Vauban
0 siblings, 1 reply; 7+ messages in thread
From: hymie! @ 2014-10-03 17:31 UTC (permalink / raw)
To: emacs-orgmode
Greetings. I have two questions about the default time slots in the Agenda.
First question
When I open the Agenda Day View, I get a bunch of blank lines at the
default times 8am, 10am, 12noon, 2pm, 4pm, and so on.
Friday 3 October 2014
8:00...... ----------------
8:50...... now - - - - - - - - - - - - - - - - - - - - - - - - -
10:00...... ----------------
12:00...... ----------------
14:00...... ----------------
16:00...... ----------------
18:00...... ----------------
20:00...... ----------------
Then I did a few tasks, so my agenda for today looks like this:
Friday 3 October 2014
8:00...... ----------------
tasks: 8:45- 9:10 Clocked: (0:25) first attempt failed
tasks: 9:10- 9:45 Clocked: (0:35) troubleshoot
tasks: 9:45-10:45 Clocked: (1:00) restore image
10:00...... ----------------
tasks: 10:45-11:25 Clocked: (0:40) second attempt
12:00...... ----------------
13:20...... now - - - - - - - - - - - - - - - - - - - - - - - - -
14:00...... ----------------
Is there a way that I can suppress the 10:00 line in this case?
None of the org-agenda- variables that I found seemed to do this.
Second question
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.
Thanks.
--EbH
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: agenda time grid -- default time slot lines
2014-10-03 17:31 agenda time grid -- default time slot lines hymie!
@ 2014-10-06 8:58 ` Sebastien Vauban
2014-10-06 9:58 ` Mike McLean
2014-10-09 7:34 ` Detlef Steuer
0 siblings, 2 replies; 7+ messages in thread
From: Sebastien Vauban @ 2014-10-06 8:58 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: agenda time grid -- default time slot lines
2014-10-06 8:58 ` Sebastien Vauban
@ 2014-10-06 9:58 ` Mike McLean
[not found] ` <CANid5Q50ZKDBmhDTGY4Uu9m6L2OQ9ek9HqO2w3G4mHfVv1MC3w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-10-07 10:32 ` Nicolas Goaziou
2014-10-09 7:34 ` Detlef Steuer
1 sibling, 2 replies; 7+ messages in thread
From: Mike McLean @ 2014-10-06 9:58 UTC (permalink / raw)
To: Sebastien Vauban; +Cc: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 1329 bytes --]
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 <sva-news@mygooglest.com>
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
>
>
>
[-- Attachment #1.2: Type: text/html, Size: 2136 bytes --]
[-- Attachment #2: 0001-org-agenda.el-Update-docstring.patch --]
[-- Type: application/octet-stream, Size: 900 bytes --]
From 60112793e7d459b43cf59f96e77301488b7412d7 Mon Sep 17 00:00:00 2001
From: Mike McLean <mike.mclean@pobox.com>
Date: Mon, 6 Oct 2014 05:54:09 -0400
Subject: [PATCH] org-agenda.el: Update docstring.
* org-agenda.el (org-agenda-time-grid): Change docstring.
---
lisp/org-agenda.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 7a17160..157ed93 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -1470,6 +1470,7 @@ symbols specifying conditions when the grid should be displayed:
weekly if the agenda shows an entire week
today show grid on current date, independent of daily/weekly display
require-timed show grid only if at least one item has a time specification
+ remove-match skip grid times already present in an entry
The second item is a string which will be placed behind the grid time.
--
2.1.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: agenda time grid -- default time slot lines
[not found] ` <CANid5Q50ZKDBmhDTGY4Uu9m6L2OQ9ek9HqO2w3G4mHfVv1MC3w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2014-10-06 10:19 ` Sebastien Vauban
0 siblings, 0 replies; 7+ messages in thread
From: Sebastien Vauban @ 2014-10-06 10:19 UTC (permalink / raw)
To: Mike McLean; +Cc: emacs-orgmode
Mike McLean wrote:
> Attached is a patch that updates the Docstring of org-agenda-time-grid to
> match the actual options.
>
> From 60112793e7d459b43cf59f96e77301488b7412d7 Mon Sep 17 00:00:00 2001
> From: Mike McLean <mike.mclean-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org>
> Date: Mon, 6 Oct 2014 05:54:09 -0400
> Subject: [PATCH] org-agenda.el: Update docstring.
>
> * org-agenda.el (org-agenda-time-grid): Change docstring.
> ---
> lisp/org-agenda.el | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
> index 7a17160..157ed93 100644
> --- a/lisp/org-agenda.el
> +++ b/lisp/org-agenda.el
> @@ -1470,6 +1470,7 @@ symbols specifying conditions when the grid should be displayed:
> weekly if the agenda shows an entire week
> today show grid on current date, independent of daily/weekly display
> require-timed show grid only if at least one item has a time specification
> + remove-match skip grid times already present in an entry
>
> The second item is a string which will be placed behind the grid time.
Good job. This can be pushed -- but I don't have push access...
Best regards,
Seb
--
Sebastien Vauban
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: agenda time grid -- default time slot lines
2014-10-06 9:58 ` Mike McLean
[not found] ` <CANid5Q50ZKDBmhDTGY4Uu9m6L2OQ9ek9HqO2w3G4mHfVv1MC3w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2014-10-07 10:32 ` Nicolas Goaziou
1 sibling, 0 replies; 7+ messages in thread
From: Nicolas Goaziou @ 2014-10-07 10:32 UTC (permalink / raw)
To: Mike McLean; +Cc: Sebastien Vauban, emacs-orgmode
Hello,
Mike McLean <mike.mclean@pobox.com> writes:
> Attached is a patch that updates the Docstring of org-agenda-time-grid to
> match the actual options.
Applied. Thank you.
I added TINYCHANGE at the end of your commit message.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: agenda time grid -- default time slot lines
2014-10-06 8:58 ` Sebastien Vauban
2014-10-06 9:58 ` Mike McLean
@ 2014-10-09 7:34 ` Detlef Steuer
2014-10-09 8:33 ` Detlef Steuer
1 sibling, 1 reply; 7+ messages in thread
From: Detlef Steuer @ 2014-10-09 7:34 UTC (permalink / raw)
To: emacs-orgmode
Am Mon, 06 Oct 2014 10:58:44 +0200
schrieb Sebastien Vauban
<sva-news@mygooglest.com>:
> 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---
>
Does this actually work for you/anyone?
If I copy this verbatim in my init.el the grid
is gone. Nothing changes if I toggle the grid besides the message saying
I turned the grid on or off.
Org from git, emacs 24.3.1
Best regards
Detlef
> Best regards,
> Seb
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: agenda time grid -- default time slot lines
2014-10-09 7:34 ` Detlef Steuer
@ 2014-10-09 8:33 ` Detlef Steuer
0 siblings, 0 replies; 7+ messages in thread
From: Detlef Steuer @ 2014-10-09 8:33 UTC (permalink / raw)
To: emacs-orgmode
Am Thu, 9 Oct 2014 09:34:18 +0200
schrieb Detlef Steuer <detlef.steuer@gmx.de>:
> Am Mon, 06 Oct 2014 10:58:44 +0200
> schrieb Sebastien Vauban
> <sva-news@mygooglest.com>:
>
> > 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---
> >
>
> Does this actually work for you/anyone?
Sorry for the noise. I didn´t use a daily view ...
Works as expected.
Detlef
>
> If I copy this verbatim in my init.el the grid
> is gone. Nothing changes if I toggle the grid besides the message
> saying I turned the grid on or off.
>
> Org from git, emacs 24.3.1
>
> Best regards
> Detlef
>
>
> > Best regards,
> > Seb
>
>
>
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-10-09 8:33 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-03 17:31 agenda time grid -- default time slot lines hymie!
2014-10-06 8:58 ` Sebastien Vauban
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
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).