all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Time Slots in Org-Agenda
@ 2020-12-09 19:50 Christopher Dimech
  2020-12-10 19:31 ` pietru
  0 siblings, 1 reply; 8+ messages in thread
From: Christopher Dimech @ 2020-12-09 19:50 UTC (permalink / raw)
  To: Org-Mode mailing list

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...... ----------------




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Time Slots in Org-Agenda
  2020-12-09 19:50 Time Slots in Org-Agenda Christopher Dimech
@ 2020-12-10 19:31 ` pietru
  2020-12-11  4:59   ` steve-humphreys
  0 siblings, 1 reply; 8+ messages in thread
From: pietru @ 2020-12-10 19:31 UTC (permalink / raw)
  To: Christopher Dimech; +Cc: Org-Mode mailing list

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" <dimech@gmx.com>
> To: "Org-Mode mailing list" <emacs-orgmode@gnu.org>
> 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...... ----------------
>
>
>
>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Time Slots in Org-Agenda
  2020-12-10 19:31 ` pietru
@ 2020-12-11  4:59   ` steve-humphreys
  2020-12-11  5:43     ` Ihor Radchenko
  0 siblings, 1 reply; 8+ messages in thread
From: steve-humphreys @ 2020-12-11  4:59 UTC (permalink / raw)
  To: pietru; +Cc: Org-Mode mailing list

> Sent: Thursday, December 10, 2020 at 8:31 PM
> From: pietru@caramail.com
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: "Org-Mode mailing list" <emacs-orgmode@gnu.org>
> 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" <dimech@gmx.com>
> > To: "Org-Mode mailing list" <emacs-orgmode@gnu.org>
> > 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...... ----------------
> >
> >
> >
> >
>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Time Slots in Org-Agenda
  2020-12-11  4:59   ` steve-humphreys
@ 2020-12-11  5:43     ` Ihor Radchenko
  2020-12-11  6:35       ` steve-humphreys
  0 siblings, 1 reply; 8+ messages in thread
From: Ihor Radchenko @ 2020-12-11  5:43 UTC (permalink / raw)
  To: steve-humphreys, pietru; +Cc: Org-Mode mailing list

steve-humphreys@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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Time Slots in Org-Agenda
  2020-12-11  5:43     ` Ihor Radchenko
@ 2020-12-11  6:35       ` steve-humphreys
  2020-12-11  6:52         ` Ihor Radchenko
  0 siblings, 1 reply; 8+ messages in thread
From: steve-humphreys @ 2020-12-11  6:35 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: Org-Mode mailing list



> Sent: Friday, December 11, 2020 at 6:43 AM
> From: "Ihor Radchenko" <yantar92@gmail.com>
> To: steve-humphreys@gmx.com, pietru@caramail.com
> Cc: "Org-Mode mailing list" <emacs-orgmode@gnu.org>
> Subject: Re: Time Slots in Org-Agenda
>
> steve-humphreys@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
>
>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Time Slots in Org-Agenda
  2020-12-11  6:35       ` steve-humphreys
@ 2020-12-11  6:52         ` Ihor Radchenko
  2020-12-11  7:18           ` steve-humphreys
  0 siblings, 1 reply; 8+ messages in thread
From: Ihor Radchenko @ 2020-12-11  6:52 UTC (permalink / raw)
  To: steve-humphreys; +Cc: Org-Mode mailing list

>> 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 <RET>
or
<F1> v org-agenda-time-grid <RET>

Best,
Ihor


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Time Slots in Org-Agenda
  2020-12-11  6:52         ` Ihor Radchenko
@ 2020-12-11  7:18           ` steve-humphreys
  2020-12-15 11:06             ` Tim Landscheidt
  0 siblings, 1 reply; 8+ messages in thread
From: steve-humphreys @ 2020-12-11  7:18 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: Org-Mode mailing list



> Sent: Friday, December 11, 2020 at 7:52 AM
> From: "Ihor Radchenko" <yantar92@gmail.com>
> To: steve-humphreys@gmx.com
> Cc: "Org-Mode mailing list" <emacs-orgmode@gnu.org>
> 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 <RET>
> or
> <F1> v org-agenda-time-grid <RET>

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
>
>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Time Slots in Org-Agenda
  2020-12-11  7:18           ` steve-humphreys
@ 2020-12-15 11:06             ` Tim Landscheidt
  0 siblings, 0 replies; 8+ messages in thread
From: Tim Landscheidt @ 2020-12-15 11:06 UTC (permalink / raw)
  To: emacs-orgmode

steve-humphreys@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 <RET>
>> or
>> <F1> v org-agenda-time-grid <RET>

> 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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-12-15 11:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-09 19:50 Time Slots in Org-Agenda Christopher Dimech
2020-12-10 19:31 ` pietru
2020-12-11  4:59   ` steve-humphreys
2020-12-11  5:43     ` Ihor Radchenko
2020-12-11  6:35       ` steve-humphreys
2020-12-11  6:52         ` Ihor Radchenko
2020-12-11  7:18           ` steve-humphreys
2020-12-15 11:06             ` Tim Landscheidt

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.