* [BUG] `(org-agenda-list)` doesn't respect the `org-agenda-start-day` when `org-agenda-span` is equal to 7. [9.6.1 (release_9.5.5-1519-gaa2249 @ /home/rmnull/lab/libre/org-mode/lisp/)]
@ 2023-02-26 14:25 rmnull
2023-02-27 17:08 ` Ihor Radchenko
0 siblings, 1 reply; 3+ messages in thread
From: rmnull @ 2023-02-26 14:25 UTC (permalink / raw)
To: emacs-orgmode
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:
* One Line summary
`org-agenda-list` shows the week agenda list, instead of respecting
the org-agenda-start-day when the org-agenda-span is 7.
* A Little detailing about the bug and reproduction steps
When I run this, `org-agenda-list` lists the previous 2 days, current
day and the next 2 days.
#+BEGIN_SRC emacs-lisp
(setq org-agenda-span 5)
(setq org-agenda-start-day "-2d")
(org-agenda-list)
#+END_SRC
Which is quite nice because that's an expected behavior.
However when I run a similar code,
#+BEGIN_SRC emacs-lisp
(setq org-agenda-span 7)
(setq org-agenda-start-day "-3d")
(org-agenda-list)
#+END_SRC
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
#+BEGIN_QUOTE
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
#+END_QUOTE
whereas it should have looked like
#+BEGIN_QUOTE
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
#+END_QUOTE
* Where exactly did you test this behavior?
I tested it on the emacs launched by `make repro` command of the
org-mode,
the git was pointing to `main` branch(commit-id: aa2249787).
Emacs : GNU Emacs 28.2 (build 2, x86_64-unknown-linux-gnu, GTK+ Version
3.24.34, cairo version 1.16.0)
of 2022-09-14
Package: Org mode version 9.6.1 (release_9.5.5-1519-gaa2249 @
/home/rmnull/lab/libre/org-mode/lisp/)
If any information has been left out, do let me know.
Thanks,
rmnull.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG] `(org-agenda-list)` doesn't respect the `org-agenda-start-day` when `org-agenda-span` is equal to 7. [9.6.1 (release_9.5.5-1519-gaa2249 @ /home/rmnull/lab/libre/org-mode/lisp/)]
2023-02-26 14:25 [BUG] `(org-agenda-list)` doesn't respect the `org-agenda-start-day` when `org-agenda-span` is equal to 7. [9.6.1 (release_9.5.5-1519-gaa2249 @ /home/rmnull/lab/libre/org-mode/lisp/)] rmnull
@ 2023-02-27 17:08 ` Ihor Radchenko
2023-02-28 4:56 ` rmnull
0 siblings, 1 reply; 3+ messages in thread
From: Ihor Radchenko @ 2023-02-27 17:08 UTC (permalink / raw)
To: rmnull; +Cc: emacs-orgmode
rmnull@posteo.net writes:
> * One Line summary
> `org-agenda-list` shows the week agenda list, instead of respecting
> the org-agenda-start-day when the org-agenda-span is 7.
Thanks for reporting!
This sounds similar to https://list.orgmode.org/orgmode/62a2389f-cf1f-9caa-7266-015f3e05d734@gmail.com/
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG] `(org-agenda-list)` doesn't respect the `org-agenda-start-day` when `org-agenda-span` is equal to 7. [9.6.1 (release_9.5.5-1519-gaa2249 @ /home/rmnull/lab/libre/org-mode/lisp/)]
2023-02-27 17:08 ` Ihor Radchenko
@ 2023-02-28 4:56 ` rmnull
0 siblings, 0 replies; 3+ messages in thread
From: rmnull @ 2023-02-28 4:56 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 758 bytes --]
Sorry about filling an existing bug without checking the updated docs.
And Thanks for pointing out the fix.
On 27 February 2023 5:08:42 pm UTC, Ihor Radchenko <yantar92@posteo.net> wrote:
>rmnull@posteo.net writes:
>
>
>> * One Line summary
>> `org-agenda-list` shows the week agenda list, instead of respecting
>> the org-agenda-start-day when the org-agenda-span is 7.
>
>Thanks for reporting!
>This sounds similar to https://list.orgmode.org/orgmode/62a2389f-cf1f-9caa-7266-015f3e05d734@gmail.com/
>
>--
>Ihor Radchenko // yantar92,
>Org mode contributor,
>Learn more about Org mode at <https://orgmode.org/>.
>Support Org development at <https://liberapay.com/org-mode>,
>or support my work at <https://liberapay.com/yantar92>
[-- Attachment #2: Type: text/html, Size: 1014 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-02-28 4:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-26 14:25 [BUG] `(org-agenda-list)` doesn't respect the `org-agenda-start-day` when `org-agenda-span` is equal to 7. [9.6.1 (release_9.5.5-1519-gaa2249 @ /home/rmnull/lab/libre/org-mode/lisp/)] rmnull
2023-02-27 17:08 ` Ihor Radchenko
2023-02-28 4:56 ` rmnull
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).