Re: New face: org-agenda-calendar-timerange

2023-01-21 Thread Gautier Ponsinet
Ihor Radchenko writes: > Added to the contributor list: > https://git.sr.ht/~bzg/worg/commit/b8096c5a > [ 4 more citation lines. Click/Enter to show. ] > Now, I can apply the patch. > Applied, onto main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a0a30d7b6 >

Re: New face: org-agenda-calendar-timerange

2023-01-21 Thread Ihor Radchenko
Ihor Radchenko writes: > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a0a30d7b6 > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=cb73633e2 > ... > Done. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a7e910646 Sorry, messed up the commit

Re: New face: org-agenda-calendar-timerange

2023-01-21 Thread Ihor Radchenko
Bastien Guerry writes: > Ihor Radchenko writes: > >> Now, just waiting for confirmation from Bastien about your copyright >> status records. > > Yes, I confirme Gautier's FSF copyright record is in order. Added to the contributor list: https://git.sr.ht/~bzg/worg/commit/b8096c5a Now, I can

Re: New face: org-agenda-calendar-timerange

2023-01-20 Thread Bastien Guerry
Hi, Ihor Radchenko writes: > Now, just waiting for confirmation from Bastien about your copyright > status records. Yes, I confirme Gautier's FSF copyright record is in order. > AFAIU, the commit fixed a different scenario: >

Re: New face: org-agenda-calendar-timerange

2023-01-20 Thread Ihor Radchenko
gaut...@gautierponsinet.xyz writes: > Please find attached a patch containing two commits. > The first one applies the face `org-agenda-calendar-event' to entries > with a time range within a single day. > The second one defines the new face `org-agenda-calendar-daterange' > and applies it to

Re: New face: org-agenda-calendar-timerange

2023-01-19 Thread General discussions about Org-mode.
Ruijie Yu writes: > [...] > The patch applies cleanly on current main branch (52f29d4da), and all > tests from `make test` passed. However, I don't see any effects on a > test org buffer (see attached) -- in particular, I don't see the > `org-agenda-calendar-daterange' face being shown

Re: New face: org-agenda-calendar-timerange

2023-01-19 Thread General discussions about Org-mode.
gaut...@gautierponsinet.xyz writes: > Please find attached a patch containing two commits. > > [...] > > It seems to me that this should be done by creating repeating tasks > rather than an entry with a timerange, because suppose I want to put > in my agenda an event spanning on several days

Re: New face: org-agenda-calendar-timerange

2023-01-19 Thread gautier
Please find attached a patch containing two commits. The first one applies the face `org-agenda-calendar-event' to entries with a time range within a single day. The second one defines the new face `org-agenda-calendar-daterange' and applies it to entries with a time range on several days. (The

Re: New face: org-agenda-calendar-timerange

2023-01-19 Thread Ihor Radchenko
gaut...@gautierponsinet.xyz writes: > So, the current situation is the following: > ... > Is that correct? Yes. "simple date with hour range" should be displayed the same with "timerange (same day)", including faces and begin/end time being displayed together. It will be the most consistent. >

Re: New face: org-agenda-calendar-timerange

2023-01-18 Thread gautier
The tables in my last message were not send correctly. Please find attached a org file containing the tables. So, the current situation is the following: | Type of entry | Face | Use `org-agenda-timerange-leaders'

Re: New face: org-agenda-calendar-timerange

2023-01-18 Thread gautier
Ihor Radchenko writes: <2023-01-01 Sun 10:00>--<2023-01-01 Sun 15:00> and <2023-01-01 Sun 10:00-15:00> are equivalent. I'd say that it will make sense to apply `org-agenda-calendar-event' face and `org-agenda-timerange-leaders' to <2023-01-01 Sun 10:00-15:00> as well. What do you think about

Re: New face: org-agenda-calendar-timerange

2023-01-18 Thread Ihor Radchenko
gaut...@gautierponsinet.xyz writes: > Currently, the entries with a time range of the form > <2022-12-22 Thu 10:00-12:00> > use the face 'org-agenda-calendar-event'. > While the entries with time ranges of the form > <2022-12-22 Thu>--<2023-01-01 Sun>, or > <2022-12-22 Thu 12:00>--<2023-01-01 Sun

Re: New face: org-agenda-calendar-timerange

2023-01-17 Thread gautier
Ihor Radchenko writes: "timerange" is a bit confusing because the patch will only affect date ranges like <2022-12-22 Thu>--<2023-01-01 Sun> and <2022-12-22 Thu 12:00>--<2023-01-01 Sun 10:00>, but not time ranges <2022-12-22 Thu 10:00-12:00> Is it what you are proposing? Or do you also want

Re: New face: org-agenda-calendar-timerange

2023-01-17 Thread Ihor Radchenko
Gautier Ponsinet writes: > I would like to propose the introduction of a new face: > org-agenda-calendar-timerange. > It is used to show entries with a timerange in the agenda, that is, > entries with a timestamp of the form: > <2022-12-22 Thu>--<2023-01-01 Sun> >

New face: org-agenda-calendar-timerange

2022-12-22 Thread Gautier Ponsinet
Hello everyone, I would like to propose the introduction of a new face: org-agenda-calendar-timerange. It is used to show entries with a timerange in the agenda, that is, entries with a timestamp of the form: <2022-12-22 Thu>--<2023-01-01 Sun> At the moment, these entries with a t