org-mode-agenda-timeline

Weekly span behavior is weird when the agenda org-agenda-start-day is mentioned and span is 7 day   mail bug_report

Hi, This is first my first bug report to org-mode. So I would like to start by thanking everyone involved for making this life enhancing drug a reality. It's one of the rare software which actually does what i mean. It's wonderful :cheers:

A Little detailing about the bug and its production steps

When I run this, `org-agenda-list` lists the previous 2 days, current day and the next 2 days.

(setq org-agenda-span 5)
(setq org-agenda-start-day "-2d")
(org-agenda-list) 

Which is quite nice because that's an expected behavior.

However when I run a similar code,

(setq org-agenda-span 7)
(setq org-agenda-start-day "-3d")
(org-agenda-list)

It lists the current week, start from the beginning of this week. Instead I was expecting org to list previous 3 days, current day and the next 3 days.

The output looks like this

Monday 20 February 2023 W08 Tuesday 21 February 2023 Wednesday 22 February 2023 Thursday 23 February 2023 Friday 24 February 2023 Saturday 25 February 2023 Sunday 26 February 2023

whereas it should have looked like

Thursday 23 February 2023 Friday 24 February 2023 Saturday 25 February 2023 Sunday 26 February 2023 Monday 27 February 2023 W09 Tuesday 28 February 2023 Wednesday 1 March 2023

Where exactly did you across this behavior?

Emacs : GNU Emacs 28.2 (build 2, x8664-unknown-linux-gnu, GTK+ Version 3.24.34, cairo version 1.16.0) of 2022-09-14 Package: Org mode version 9.6.1 (release9.5.5-1519-gaa2249 @ home/rmnull/lab/libre/org-mode/lisp)

If any information has been left out, do let me know.

Thanks, rmnull.