From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OHmsJAhs+2M2HgEAbAwnHQ (envelope-from ) for ; Sun, 26 Feb 2023 15:26:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GPW0JAhs+2PrvAAA9RJhRA (envelope-from ) for ; Sun, 26 Feb 2023 15:26:16 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 014E52B536 for ; Sun, 26 Feb 2023 15:26:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWHyI-0007yZ-96; Sun, 26 Feb 2023 09:25:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWHyE-0007yC-Kv for emacs-orgmode@gnu.org; Sun, 26 Feb 2023 09:25:47 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWHyC-00043Z-8X for emacs-orgmode@gnu.org; Sun, 26 Feb 2023 09:25:46 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id EA5CD2401C9 for ; Sun, 26 Feb 2023 15:25:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1677421541; bh=vr8NugzNoEtf7TzEiaO3GGSfhSVAKlS9tEbf0VSnkhg=; h=Date:From:To:Subject:From; b=nMMUClb+GMaw73Px9ktWmRuxwuPGmzuTcVn8pVxKk5UEp+nKuJ/69/RJkfJiTy1f+ R4aTfG7OLPKFyXfS77sZYckCqGDgm1pw72hPF4cQ2eR7FJZvDa+ECYJyW6oL6f3sN8 t5PsHVhlLL9pPsE0DdV+j+3rQg95gRYrXc86ablLdiOoowyOd8Q2zhbiVYuVgCACsh sDeGy8HNusYZZSsv49pOdNfKDNCIUaUTeAq5tX4nJBtv8HMNjqVwIubXFLyxxuhBKn r4MDuf+eJ56MUBgDNFu/6Ken1/+5AuQdy1DHKF4tyYlZRh932la1MHtneAcsFzdO2Q VuaUzQoRA+Yug== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PPmBX2vyxz6tnw for ; Sun, 26 Feb 2023 15:25:40 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 26 Feb 2023 14:25:40 +0000 From: rmnull@posteo.net To: emacs-orgmode@gnu.org Subject: [BUG] `(org-agenda-list)` doesn't respect the `org-agenda-start-day` when `org-agenda-span` is equal to 7. [9.6.1 =?UTF-8?Q?=28release=5F=39=2E=35=2E=35-=31=35=31=39-gaa=32=32=34=39=20=40?= =?UTF-8?Q?=20/home/rmnull/lab/libre/org-mode/lisp/=29=5D?= Message-ID: <2e6698b2d0c649a01673efdd14964ab4@posteo.net> Received-SPF: pass client-ip=185.67.36.66; envelope-from=rmnull@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=nMMUClb+; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677421576; a=rsa-sha256; cv=none; b=CaE9D8aD9hi6xPye0U5JCbdPBd2J8hZfcZ7066t8sTjknI9f+OWuJGGrbfhmTiOKkNBgkm SR5wirIgmdpW37zLy1ZE7RcP+WOQ6SiVjifRMnJ/GUKxTADq9MBrot2l2hlzecFKCMcyAB 9wpKMQU31AnmhOiiFEK+an2VuPH+OllkLHlZ/H/gZ/W+gANMZOD9Tlqzmmm+3isllk20FT wXNq+WbkLGAeDuktTHtxVTDTa6fo4dnUTnGtsUrr5d/R6JSopKB0AQSgDRq4P+uZlDYS/N qPGaoGu5NOD6Tum9hYiaZuawPASM/hFlL4BYzu9a+jy3p1VGRFMTZACGtSBiLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677421576; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=2mjK6FjW6289XjPwAptWgvBUyB5t1EBBF+dr6eBd3Og=; b=gPD0A267cTdyaHrN9OYwVGf158lqTwIuleBvFKc/qRW+Bw9ZQYrNUMHa2pp5BjWoVCcE2s oSlW8hPNIwcseuT/VaX9cdrgb+8qSm9QbjDzjd4HgUj8czUvGnx2B9yVZEkT9xJhBqS/P9 wXcEdYfotXsEV/s26AZe3hND+9TA+EwfB7CBTWPZVpGF13DVZA/nAUbd8CegcPze+Ruv5U Ahfy9nNqBH+iuuWyqpBGfA+eviLdN7aW3/s/tJrhCGDMf8qahKn53z1rTbinyE+gvdMt3I TJU3emx/WpYHCPLPr1AbtT60dLE/J5SQx0I8IaKfUVQW10bxo6JC7RGDwRjdAw== X-Migadu-Queue-Id: 014E52B536 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=nMMUClb+; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net X-Migadu-Spam-Score: -5.48 X-Migadu-Scanner: scn1.migadu.com X-Spam-Score: -5.48 X-TUID: GNLzLQUpozb3 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.