Time Slots in Org-Agenda

2020-12-09 Thread Christopher Dimech
It would be good if the following org-agenda problem could be addressed.

Here is a section of a diary

Dec 05, 2020
06:13-08:34 Gnu Hackers Meeting
10:21-12:00 Richard Stallman Talk
12:00-12:34 Lunch
14:21-17:34 Hacking Session

This gives the following in Org-Agenda.


Saturday 5 December 2020
5:06.. now - - - - - - - - - - - - - - - - - - - - - - - - -
Diary: 7:55- 9:34 Gnu Hackers Meeting *
8:00.. 
10:00.. 
Diary: 10:21-12:00 Richard Stallman Talk
12:00.. 
Diary: 12:00-12:34 Lunch
14:00.. 
Diary: 14:21-17:34 Hacking Session *
16:00.. 
18:00.. 
20:00.. 


Loking at the entries with a star, end later than the
next time thresholds of 08:00 and 16:00, yet the entries
are not being populated for the later times.

I would be grateful if the slots at the later times would
also be filled. For instance, according to the setup below
(see the ** entries)

Saturday 5 December 2020
5:06.. now - - - - - - - - - - - - - - - - - - - - - - - - -
Diary: 7:55- 8:00 Gnu Hackers Meeting **
8:00.. 
Diary: 8:00- 9:34 Gnu Hackers Meeting **
10:00.. 
Diary: 10:21-12:00 Richard Stallman Talk
12:00.. 
Diary: 12:00-12:34 Lunch
14:00.. 
Diary: 14:21-16:00 Hacking Session **
16:00.. 
Diary: 17:00-17:34 Hacking Session **
18:00.. 
20:00.. 





Time Slots in Org-Agenda

2020-12-10 Thread pietru
Dear Christopher

Appointment slots are very useful when you don't know who needs to
meet with you, but you want to make yourself available. You can
offer people a block of time on your agenda that they can book
time slots within. For example, you can set aside 20 minutes that
you're available to meet with people.

It would also be useful to show the percentage of appointments for
the day, week, month.  With possible indication of empty slots.

Regards
Pietru



Pietru Caxaro
Director of Underground Sensing Techniques
Special Superintendence for the Archaeological Heritage of Rome

> Sent: Wednesday, December 09, 2020 at 8:50 PM
> From: "Christopher Dimech" 
> To: "Org-Mode mailing list" 
> Subject: Time Slots in Org-Agenda
>
> It would be good if the following org-agenda problem could be addressed.
>
> Here is a section of a diary
>
> Dec 05, 2020
> 06:13-08:34 Gnu Hackers Meeting
> 10:21-12:00 Richard Stallman Talk
> 12:00-12:34 Lunch
> 14:21-17:34 Hacking Session
>
> This gives the following in Org-Agenda.
>
>
> Saturday 5 December 2020
> 5:06.. now - - - - - - - - - - - - - - - - - - - - - - - - -
> Diary: 7:55- 9:34 Gnu Hackers Meeting *
> 8:00.. 
> 10:00.. 
> Diary: 10:21-12:00 Richard Stallman Talk
> 12:00.. 
> Diary: 12:00-12:34 Lunch
> 14:00.. 
> Diary: 14:21-17:34 Hacking Session *
> 16:00.. 
> 18:00.. 
> 20:00.. 
>
>
> Loking at the entries with a star, end later than the
> next time thresholds of 08:00 and 16:00, yet the entries
> are not being populated for the later times.
>
> I would be grateful if the slots at the later times would
> also be filled. For instance, according to the setup below
> (see the ** entries)
>
> Saturday 5 December 2020
> 5:06.. now - - - - - - - - - - - - - - - - - - - - - - - - -
> Diary: 7:55- 8:00 Gnu Hackers Meeting **
> 8:00.. 
> Diary: 8:00- 9:34 Gnu Hackers Meeting **
> 10:00.. 
> Diary: 10:21-12:00 Richard Stallman Talk
> 12:00.. 
> Diary: 12:00-12:34 Lunch
> 14:00.. 
> Diary: 14:21-16:00 Hacking Session **
> 16:00.. 
> Diary: 17:00-17:34 Hacking Session **
> 18:00.. 
> 20:00.. 
>
>
>
>



Re: Time Slots in Org-Agenda

2020-12-10 Thread steve-humphreys
> Sent: Thursday, December 10, 2020 at 8:31 PM
> From: pie...@caramail.com
> To: "Christopher Dimech" 
> Cc: "Org-Mode mailing list" 
> Subject: Time Slots in Org-Agenda
>
> Dear Christopher
>
> Appointment slots are very useful when you don't know who needs to
> meet with you, but you want to make yourself available. You can
> offer people a block of time on your agenda that they can book
> time slots within. For example, you can set aside 20 minutes that
> you're available to meet with people.
>
> It would also be useful to show the percentage of appointments for
> the day, week, month.  With possible indication of empty slots.

What I would like to know is how to make the slots with smaller time
durations.  Currently they are of two-hours, which I find too long.

I see that the slots remain empty even when there is an appointment
at that particular time.


> Regards
> Pietru
>
>
>
> Pietru Caxaro
> Director of Underground Sensing Techniques
> Special Superintendence for the Archaeological Heritage of Rome
>
> > Sent: Wednesday, December 09, 2020 at 8:50 PM
> > From: "Christopher Dimech" 
> > To: "Org-Mode mailing list" 
> > Subject: Time Slots in Org-Agenda
> >
> > It would be good if the following org-agenda problem could be addressed.
> >
> > Here is a section of a diary
> >
> > Dec 05, 2020
> > 06:13-08:34 Gnu Hackers Meeting
> > 10:21-12:00 Richard Stallman Talk
> > 12:00-12:34 Lunch
> > 14:21-17:34 Hacking Session
> >
> > This gives the following in Org-Agenda.
> >
> >
> > Saturday 5 December 2020
> > 5:06.. now - - - - - - - - - - - - - - - - - - - - - - - - -
> > Diary: 7:55- 9:34 Gnu Hackers Meeting *
> > 8:00.. 
> > 10:00.. 
> > Diary: 10:21-12:00 Richard Stallman Talk
> > 12:00.. 
> > Diary: 12:00-12:34 Lunch
> > 14:00.. 
> > Diary: 14:21-17:34 Hacking Session *
> > 16:00.. 
> > 18:00.. 
> > 20:00.. 
> >
> >
> > Loking at the entries with a star, end later than the
> > next time thresholds of 08:00 and 16:00, yet the entries
> > are not being populated for the later times.
> >
> > I would be grateful if the slots at the later times would
> > also be filled. For instance, according to the setup below
> > (see the ** entries)
> >
> > Saturday 5 December 2020
> > 5:06.. now - - - - - - - - - - - - - - - - - - - - - - - - -
> > Diary: 7:55- 8:00 Gnu Hackers Meeting **
> > 8:00.. 
> > Diary: 8:00- 9:34 Gnu Hackers Meeting **
> > 10:00.. 
> > Diary: 10:21-12:00 Richard Stallman Talk
> > 12:00.. 
> > Diary: 12:00-12:34 Lunch
> > 14:00.. 
> > Diary: 14:21-16:00 Hacking Session **
> > 16:00.. 
> > Diary: 17:00-17:34 Hacking Session **
> > 18:00.. 
> > 20:00.. 
> >
> >
> >
> >
>



Re: Time Slots in Org-Agenda

2020-12-10 Thread Ihor Radchenko
steve-humphr...@gmx.com writes:
> What I would like to know is how to make the slots with smaller time
> durations.  Currently they are of two-hours, which I find too long.

See org-agenda-time-grid

Best,
Ihor



Re: Time Slots in Org-Agenda

2020-12-10 Thread steve-humphreys



> Sent: Friday, December 11, 2020 at 6:43 AM
> From: "Ihor Radchenko" 
> To: steve-humphr...@gmx.com, pie...@caramail.com
> Cc: "Org-Mode mailing list" 
> Subject: Re: Time Slots in Org-Agenda
>
> steve-humphr...@gmx.com writes:
> > What I would like to know is how to make the slots with smaller time
> > durations.  Currently they are of two-hours, which I find too long.
>
> See org-agenda-time-grid

Where can I find some information on how to use it?


> Best,
> Ihor
>
>



Re: Time Slots in Org-Agenda

2020-12-10 Thread Ihor Radchenko
>> See org-agenda-time-grid
>
> Where can I find some information on how to use it?

Menu help -> Describe -> Describe variable org-agenda-time-grid 
or
 v org-agenda-time-grid 

Best,
Ihor



Re: Time Slots in Org-Agenda

2020-12-10 Thread steve-humphreys



> Sent: Friday, December 11, 2020 at 7:52 AM
> From: "Ihor Radchenko" 
> To: steve-humphr...@gmx.com
> Cc: "Org-Mode mailing list" 
> Subject: Re: Time Slots in Org-Agenda
>
> >> See org-agenda-time-grid
> >
> > Where can I find some information on how to use it?
>
> Menu help -> Describe -> Describe variable org-agenda-time-grid 
> or
>  v org-agenda-time-grid 

At first

I have started with the following command, but emacs does not like it

(setq times '(800 1000 1200))
(setq freq '("daily" "today"))
(setq org-agenda-time-grid '(freq times "---" "+++"))

I also tried variants thereof.  My elisp is not so good
but tried to have a look at the code.

But this second command works.

(setq org-agenda-time-grid '((daily today require-timed)
   (800 1000 1200 1400 1600 1800 2000)
   ".." ""))


> Best,
> Ihor
>
>



Re: Time Slots in Org-Agenda

2020-12-15 Thread Tim Landscheidt
steve-humphr...@gmx.com wrote:

>> >> See org-agenda-time-grid
>> >
>> > Where can I find some information on how to use it?

>> Menu help -> Describe -> Describe variable org-agenda-time-grid 
>> or
>>  v org-agenda-time-grid 

> At first

> I have started with the following command, but emacs does not like it

> (setq times '(800 1000 1200))
> (setq freq '("daily" "today"))
> (setq org-agenda-time-grid '(freq times "---" "+++"))

> I also tried variants thereof.  My elisp is not so good
> but tried to have a look at the code.
> […]

The last line means: Set the variable org-agenda-time-grid
to a list that consists of the symbol (!) "freq", the sym-
bol "times", the string "---" and the string "+++".  How-
ever, you want the first and second elements to be the val-
ues of those variables, so you could say:

| (setq org-agenda-time-grid `(,freq ,times "---" "+++"))

or:

| (setq org-agenda-time-grid (list freq times "---" "+++"))

(NB: There are more subtleties to this (e. g., a symbol can
have separate meanings as a variable and a function (and I
really should finally read the elisp info file from begin-
ning to end :-, but my most common mistake is either to
quote something that I do not want to quote or not quote
something that I do want to quote.)

Tim