Re: [O] agenda time grid -- default time slot lines

2014-10-09 Thread Detlef Steuer
Am Mon, 06 Oct 2014 10:58:44 +0200
schrieb Sebastien Vauban
sva-n...@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






Re: [O] agenda time grid -- default time slot lines

2014-10-09 Thread Detlef Steuer
Am Thu, 9 Oct 2014 09:34:18 +0200
schrieb Detlef Steuer detlef.ste...@gmx.de:

 Am Mon, 06 Oct 2014 10:58:44 +0200
 schrieb Sebastien Vauban
 sva-n...@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
 
 
 
 
 






Re: [O] agenda time grid -- default time slot lines

2014-10-07 Thread Nicolas Goaziou
Hello,

Mike McLean mike.mcl...@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



Re: [O] agenda time grid -- default time slot lines

2014-10-06 Thread Sebastien Vauban
hymie! wrote:
 My Agenda for a-week-from-next-Tuesday looks like this:

 Tuesday14 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




Re: [O] agenda time grid -- default time slot lines

2014-10-06 Thread Mike McLean
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-n...@mygooglest.com
wrote:

 hymie! wrote:
  My Agenda for a-week-from-next-Tuesday looks like this:
 
  Tuesday14 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





0001-org-agenda.el-Update-docstring.patch
Description: Binary data


Re: [O] agenda time grid -- default time slot lines

2014-10-06 Thread Sebastien Vauban
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.mcl...@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:
   weeklyif 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



[O] agenda time grid -- default time slot lines

2014-10-03 Thread hymie!
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:

Tuesday14 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