From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id IKOhCd/VtmU0fQEAqHPOHw:P1 (envelope-from ) for ; Sun, 28 Jan 2024 23:31:59 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id IKOhCd/VtmU0fQEAqHPOHw (envelope-from ) for ; Sun, 28 Jan 2024 23:31:59 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=EAJfom7S; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706481119; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=m+quNNdRZjCTfQMP3QixHhkA+iZMZ2FljWplVN2Li7M=; b=qk+kLEj8opFlztVSudeJMkkLXmBKvnsYwbU/gWCHfbpgD+3ub+k7wmscYfU4c4qbHHsky6 XeyLM+17xZIKuc0VM3bEkdjJrBjRkVVyCtsQvHjJBp4chTimzHUeUnuZA3GmaQgIygCdL2 mJhi+vG75KtWeoL1D+BEK1HSIt8L2HypSHCPzrWJmK8Q3n/leQvVqpSnrXwTCAJREyRQle D4JHWK/+J+LoolMpGRFXM/5o1O6KftRxJ4tJJIY7nLAUt188QvsND/SxffB7xjkUL+YoV8 64DLysUh3sg1haMPcKXEgPoFTYVDuegNs/MtyTIwobORlDxESy/WfvHu47edlw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=EAJfom7S; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706481119; a=rsa-sha256; cv=none; b=PbZBwm3/ddJZDVv2xrfsGSyNxvHL/z87CASUsH1M1LeXZzn5Z5Pqv25pZ26JrYr5TmLt0t +0Vpbnz1KE/U3DmfupDkxtsopyX+nbPvcRaQxLnWG8CllMUW6qhjKySon3uAMemRvWcvYe jO46AlI94yQSHhf1HfAPYgw2Kj6PHd+W/aQKN1zqBixl9D1TJ2i2ZiJwLO3L6J29MMLkuY G7tqyz2dxUF1cGSybOKsEhblv+YZMcmQlm7THee21AuGNJEL4kJj5V5uBlnfj8Ajt2d6y2 v96cVfrFK26RrY8pGYIVYNo7ofJZMVcK/sl4M/1tX2HDwV1Mg5FzY0ZSD7uwng== 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 0EE7D37CAD for ; Sun, 28 Jan 2024 23:31:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUDgK-0004Md-9s; Sun, 28 Jan 2024 17:31:16 -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 1rUDgI-0004MB-TS for emacs-orgmode@gnu.org; Sun, 28 Jan 2024 17:31:14 -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 1rUDgH-0000Rl-Ab for emacs-orgmode@gnu.org; Sun, 28 Jan 2024 17:31:14 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 97B9B240101 for ; Sun, 28 Jan 2024 23:31:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1706481071; bh=X/xNBHQk4v1Ke7uLI2vzc6fDs0ehE3la6EFuUhFbgHY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=EAJfom7Sl7IvXGARsXv1/wQbKU/A+0kREmnW0yQHX/XvG5cU+fAGF3SKyoHJ1DZyZ Ai/81Luie81zXukY449OeY+k0zVsa1n6E4lwU/djTIDX9X7ObBPREfT0L67l4HCGHu vf9cqZAbSWtQ4gRvOpIWLHUS2SxEK1c679YkmH4hY+y/u7bHLfzsVnue3w0GI1skIk Tsfbx0HbGu7mLdBEi1DEmRppwcEmYMhHXH+/aulHI/dAE02HJaqpRUxgSGNJrXGqRJ V/17sVXp9fTuTheTcnKsYoum0CEO+MI7nxEtTrM/Kmk8XBEu4g8vrh70ZenMMiOJLf ajOJO7upn6zSQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TNR3f1VNgz6trs; Sun, 28 Jan 2024 23:31:10 +0100 (CET) From: Ihor Radchenko To: Andrew Hyatt Cc: emacs-orgmode@gnu.org Subject: Re: Agenda clocktable & archive issue In-Reply-To: References: <874jexnqe2.fsf@localhost> Date: Sun, 28 Jan 2024 22:34:44 +0000 Message-ID: <87zfwpm6ij.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.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_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, 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: -8.56 X-Spam-Score: -8.56 X-Migadu-Queue-Id: 0EE7D37CAD X-Migadu-Scanner: mx12.migadu.com X-TUID: 9XMYIEy6rhWC Andrew Hyatt writes: >> AFAIK, clocktable scope in agenda is controlled by the agenda's scope. >> If you have `org-agenda-archives-mode' enabled, archives will contribute >> to the agenda report as well. > > Thank you, I indeed didn't know that, and it did help. After some > digging around, it seems like the way to set this as a default is to set > (setq org-agenda-archives-mode t), which is a bit sketchy, since > normally you wouldn't set modes with setq, but by calling the mode. I > think this could be improved on, so I can send a patch for this if you > agree. The normal way is in org-agenda-hook - org-agenda-archives-mode it is a minor mode. Still, I do not mind adding customization to enable it during startup, similar to the existing customizations: `org-agenda-start-with-log-mode', `org-agenda-start-with-entry-text-mode', `org-agenda-start-with-follow-mode', etc. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at