From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id cC8rDXiktmUsyAAAe85BDQ:P1 (envelope-from ) for ; Sun, 28 Jan 2024 20:01:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id cC8rDXiktmUsyAAAe85BDQ (envelope-from ) for ; Sun, 28 Jan 2024 20:01:12 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=VjWFfvKo; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706468472; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=qtg0ZjcJR1P66qcjQtwtL832E37xWaa+XH90JVTTOrs=; b=o7vJTjulufl5syRIYFGpB4MiHYSItWc9WocThJDd2CmjtPfwLLreavfL8BFmbgtj+AKRr7 1uzJ7e6kD7lsZzynmfTV8eYM/SUiKHUg3EERz/Z8/A//bvT+YtF07xN5xNiImgDazARmNB SPs1XlAqqwW4wLx1jJomCZ6wjExa+xhBVtghOKoqmO/GS/H7pZ16rcKaJu6tG1nANF8Mdz lVRy2jvvvjUqPbrJ8KBF/mGgQah2WtwygO3Bmc8K2hCPLu5mzN2K8fxOpBtB5S92lH51/l wWsFW2SPTLCMQvdUlXU5fi3z1WhL//9FHRoGQxQ13tuMnoYl5QtSe+A0WM3FKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=VjWFfvKo; 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=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706468472; a=rsa-sha256; cv=none; b=b7rQ6SNZCmzjZM9cxPPl1QSYA6IQX0NiVWMPAkeAK2ZBJS+Cn0jI8/GJG7N7YJbd8AVxXf GVSHutcr3I+i4Z9CPI32F2gmR5ptUKdsweGjiYhIqY1ZAg7hjTo3WFAb5NwR0sKj/MDRgt iRNJuZu5RlIjwFOOlbSwzATDGKk9FKOMjY4MVgmh5UpR7FGPX1egsVPcfCmZDLmSdmjgVc 5aBMMY7IwHuOoYJC5PimKZl7z331/nWjKsPCydyegmk09juPYCwIephdpdRuqrcH8YHoA/ zxr72Z3H5pHbPoc51OQn6Kd2y6GwuJZRL/kpFnoMpljz/oKJdVVwStqSvfU8Kg== 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 0787D17D7D for ; Sun, 28 Jan 2024 20:01:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUAO1-0003uJ-51; Sun, 28 Jan 2024 14:00:09 -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 1rUAO0-0003u7-2N for emacs-orgmode@gnu.org; Sun, 28 Jan 2024 14:00:08 -0500 Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rUANy-0004xZ-J4 for emacs-orgmode@gnu.org; Sun, 28 Jan 2024 14:00:07 -0500 Received: by mail-qv1-xf34.google.com with SMTP id 6a1803df08f44-6861538916cso19171036d6.3 for ; Sun, 28 Jan 2024 11:00:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706468404; x=1707073204; darn=gnu.org; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=qtg0ZjcJR1P66qcjQtwtL832E37xWaa+XH90JVTTOrs=; b=VjWFfvKo6g412+C5IPt84KJl9ZDLLZJzJFfv2mkcv5T+XwSgjVmcWEaJ81lg4RvpGC BBiNra6GcQTMF6QWuDxkKTNP1roZoMxxgjBzTbBzr8U3HKMnzEs4MHlRUttDrHw9wC4Y t5cHlWcVJY0R3M1vw9D02egMricYfi9MS+Qvx0G06X3i1EMNdmuXhhRQDoKSkus5ruXX 6vSUAttNsxngiABcHzFB4PNEHZbAPf6A5dbpsWWipVXUdRP34pJB7LFc154hNaNCFGmJ z4cTNt9/dPYhDxrRHrPHsMa475uBXbEQoSFY+ZKMBsd3eZnx8ilsxLkOdfFOpTZuKQSr MbCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706468404; x=1707073204; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qtg0ZjcJR1P66qcjQtwtL832E37xWaa+XH90JVTTOrs=; b=MgPnr0I+vx1+mTSXM19v60gqiPHKQ5RVUtXKBmdmjRcdQO2gb/cI8t9zgzanaOi1m2 pmcuuVcEfMRM3uWncy1SsRYzPN9/spCfOGVgp172MszOrikXWwg0TEyE9FIMCrt16X23 N1HCUHTkERMTU+NesDNMx3R7AX/lat1I5jbh4V2VeXroJLEnZlVG4tViPu0k6J3ZYvLI bVKFvRNyK+cQe2FJG4/aNGP6TGC2Z/yLeiaTLSj+gY7lsh0LzTbxzZ76DdCPgoHddALm DxDJH8TVqZVnf5OzYTEcj48k38USDlQXc3qnR2LI1p3DQ7I1tqCcybZAKAdiADY5TAuw Cnvg== X-Gm-Message-State: AOJu0YxolWah1v9/+Sj4UiXeSv8ARe12ZxSi4wrVDgJubjybyhDRlVaz WAOag+kfhjmWr/jIc8GnUJNE1mRCw64dsyg59zit0h4BXdDTdKaSqKqgWG1z66U= X-Google-Smtp-Source: AGHT+IHWcp7aPXOzddoCoypci0RuFaRP3mygC4wPMai0KKDT5G1wyEAd3X1ivFkQg3h0TJOvMZLKHQ== X-Received: by 2002:ad4:4ea4:0:b0:681:314b:d8f1 with SMTP id ed4-20020ad44ea4000000b00681314bd8f1mr5279817qvb.41.1706468404455; Sun, 28 Jan 2024 11:00:04 -0800 (PST) Received: from ahyatt-home.local ([190.83.214.104]) by smtp.gmail.com with ESMTPSA id e5-20020ab078c5000000b007ce19418f06sm723631uau.22.2024.01.28.11.00.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jan 2024 11:00:04 -0800 (PST) From: Andrew Hyatt To: emacs-orgmode@gnu.org Subject: Agenda clocktable & archive issue Date: Sun, 28 Jan 2024 14:59:59 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f34; envelope-from=ahyatt@gmail.com; helo=mail-qv1-xf34.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.96 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -7.96 X-Migadu-Queue-Id: 0787D17D7D X-TUID: pyoDEQLQoWov I've noticed that in the agenda, the clocktable report (from the "R" key), does not include archive files, even when I have set clocktables to do so in my init-file: (plist-put org-clocktable-defaults :scope 'agenda-with-archives) First of all, I think it makes more logical sense to include archives, since there isn't anything about archiving that means the times that the items are worked on are no longer important for reports. But, even if that's not the case, it should be that the user can change this, but right now it's all hardcoded in the org-agenda-list function. The reason it doesn't is because in org-dblock-write:clocktable, the plists are combined with the params taking precedence, which probably doesn't make sense. In this case, the params are the defaults, and org-clocktable-defaults are the things I can modify, so it seems like org-clocktable-defaults should take preference. I'm happy to send a patch to fix this, but not sure what the best solution here. My guess is that the safest fix is to make another variable for whether the report should include archives or not. But I suspect the best fix is to make the org-clocktable-defaults take precedence. Is my understanding of this correct? Any thoughts on what should be done here?