Re: What is a week?

2023-08-06 Thread Bastien Guerry
Ihor Radchenko writes: > Thanks for the clarification. > Bastien, I think we should update the copyright status in WORG. Maybe > also inform FSF? I've updated the status in Worg. -- Bastien

Re: What is a week?

2023-08-06 Thread Bastien
Hi Marcin, I've found your entry in the FSF records for signed contributors but if you have a new employer, he would have to sign the FSF assignment. The form is here: https://orgmode.org/request-assign-future.txt Of course, that's if you *want* to contribute with code and patches. I do

Re: What is a week?

2023-04-24 Thread Ihor Radchenko
Marcin Borkowski writes: > Complicated. I did my copyright assignment (for Emacs and AUCTeX, but > ... Thanks for the clarification. Bastien, I think we should update the copyright status in WORG. Maybe also inform FSF? > To be clear - I completely understand the "patches welcome" attitude to

Re: What is a week?

2023-04-24 Thread Marcin Borkowski
On 2023-04-24, at 08:26, Ihor Radchenko wrote: > Marcin Borkowski writes: > >>> Patches welcome! >> >> Would gladly do. Has the copyright papers requirement been lifted? > > Of course not, but don't you already have copyright assignment done? > Our records list you as someone with copyright:

Re: What is a week?

2023-04-24 Thread Marcin Borkowski
On 2023-04-24, at 17:13, Max Nikulin wrote: > On 24/04/2023 02:06, Marcin Borkowski wrote: >> Fair enough. Still, I consider this a bug in the docs (they don't >> say >> clearly to set :wstart 7)... > > I do not think :wstart 7 gives expected result when run on any day > other than Sunday.

Re: What is a week?

2023-04-24 Thread Max Nikulin
On 11/04/2023 17:08, Ihor Radchenko wrote: Tim Landscheidt writes: But there is calendar-week-start-day which I would expect affected Emacs users to have customized. It is not at all obvious that Org should be affected by calendar customization. And we use different default - Monday, while

Re: What is a week?

2023-04-24 Thread Max Nikulin
On 24/04/2023 02:06, Marcin Borkowski wrote: Fair enough. Still, I consider this a bug in the docs (they don't say clearly to set :wstart 7)... I do not think :wstart 7 gives expected result when run on any day other than Sunday. Current expression shifts interval start into future, see

Re: What is a week?

2023-04-24 Thread Ihor Radchenko
Marcin Borkowski writes: >> Patches welcome! > > Would gladly do. Has the copyright papers requirement been lifted? Of course not, but don't you already have copyright assignment done? Our records list you as someone with copyright: https://orgmode.org/worg/contributors.html -- Ihor

Re: What is a week?

2023-04-23 Thread Marcin Borkowski
On 2023-04-23, at 21:18, Ihor Radchenko wrote: > Marcin Borkowski writes: > >> Fair enough. Still, I consider this a bug in the docs (they don't say >> clearly to set :wstart 7)... > > Patches welcome! Would gladly do. Has the copyright papers requirement been lifted? -- Marcin Borkowski

Re: What is a week?

2023-04-23 Thread Ihor Radchenko
Marcin Borkowski writes: > Fair enough. Still, I consider this a bug in the docs (they don't say > clearly to set :wstart 7)... Patches welcome! -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at

Re: What is a week?

2023-04-23 Thread Marcin Borkowski
On 2023-04-23, at 19:57, Ihor Radchenko wrote: > Marcin Borkowski writes: > >> Now it's Monday. I create a clock table with :wstart 1 and thisweek - >> and my clock table starts today. >> >> What is the logic behind it? > > I saw you are considering this as a bug to be fixed. >

Re: What is a week?

2023-04-23 Thread Ihor Radchenko
Marcin Borkowski writes: > Now it's Monday. I create a clock table with :wstart 1 and thisweek - > and my clock table starts today. > > What is the logic behind it? I saw you are considering this as a bug to be fixed. (https://mbork.pl/2023-04-22_Org_mode_clock_table_for_the_last_week) But

Re: What is a week?

2023-04-11 Thread Marcin Borkowski
On 2023-04-11, at 13:34, Max Nikulin wrote: > On 11/04/2023 17:09, Ihor Radchenko wrote: >> Max Nikulin writes: >>> So at least some people expect 7, not 0. I would say, both variants >>> should be acceptable. >> Would you be interested to make a patch? > > Not really. I expect something like

Re: What is a week?

2023-04-11 Thread Max Nikulin
On 11/04/2023 17:09, Ihor Radchenko wrote: Max Nikulin writes: So at least some people expect 7, not 0. I would say, both variants should be acceptable. Would you be interested to make a patch? Not really. I expect something like (let* ((ws (mod (or wstart 1) 7))

Re: What is a week?

2023-04-11 Thread Ihor Radchenko
Max Nikulin writes: >>> #+BEGIN: clocktable :maxlevel 2 :scope agenda-with-archives >>> :weekstart 7 :block thisweek :step day :fileskip0 :narrow 20! >>^^ >> >> should be :wstart -- let us know if it works! > > So at least some people expect 7, not 0. I would say, both

Re: What is a week?

2023-04-11 Thread Ihor Radchenko
Tim Landscheidt writes: > But there is calendar-week-start-day which I would expect > affected Emacs users to have customized. It is not at all obvious that Org should be affected by calendar customization. And we use different default - Monday, while calendar-week-start-days defaults to

Re: What is a week?

2023-04-10 Thread Tim Landscheidt
Max Nikulin wrote: > […] > So at least some people expect 7, not 0. I would say, both > variants should be acceptable. > P.S. It seems, there is no way to get in Emacs first_weekday from locale(5) But there is calendar-week-start-day which I would expect affected Emacs users to have

Re: What is a week?

2023-04-10 Thread Max Nikulin
On 10/04/2023 14:46, Ihor Radchenko wrote: 0bca49801eac749b6adf39b176b9455566faac85 Author: Bastien Guerry org-clock.el: Implement a new parameter :wstart to define the week start day - (setq diff (+ (* -7 shift) (if (= dow 0) 6 (1- dow))) + (setq diff (+ (* -7 shift) (if (= dow

Re: What is a week?

2023-04-10 Thread Ihor Radchenko
Marcin Borkowski writes: >> Assume it's Sunday. I create a clock table with :wstart 0 and >> thisweek - and apparently my clock table starts 7 days ago. >> >> Now it's Monday. I create a clock table with :wstart 1 and thisweek - >> and my clock table starts today. >> >> What is the logic

Re: What is a week?

2023-04-10 Thread Jude DaShiell
One of the iso standards has weeks starting on Monday. -- Jude "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." Ed Howdershelt 1940. On Mon, 10 Apr 2023, Marcin Borkowski wrote: > > On 2023-04-10, at 05:35, Marcin Borkowski

Re: What is a week?

2023-04-09 Thread Marcin Borkowski
On 2023-04-10, at 05:35, Marcin Borkowski wrote: > Hi fellow Orgers, > > I'm trying to wrap my head around the notion of the week, for the > purpose of using weekly clock tables. > > Assume it's Sunday. I create a clock table with :wstart 0 and > thisweek - and apparently my clock table

What is a week?

2023-04-09 Thread Marcin Borkowski
Hi fellow Orgers, I'm trying to wrap my head around the notion of the week, for the purpose of using weekly clock tables. Assume it's Sunday. I create a clock table with :wstart 0 and thisweek - and apparently my clock table starts 7 days ago. Now it's Monday. I create a clock table with