From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sJ+jFhqt12IrMgEAbAwnHQ (envelope-from ) for ; Wed, 20 Jul 2022 09:22:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eG6KFhqt12L7GQEAauVa8A (envelope-from ) for ; Wed, 20 Jul 2022 09:22:02 +0200 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 26A7E3766A for ; Wed, 20 Jul 2022 09:22:02 +0200 (CEST) Received: from localhost ([::1]:48850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oE41w-0003Lv-Cm for larch@yhetil.org; Wed, 20 Jul 2022 03:22:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oE3yO-0007dU-8d for emacs-orgmode@gnu.org; Wed, 20 Jul 2022 03:18:20 -0400 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]:41743) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oE3yM-0000cj-LJ for emacs-orgmode@gnu.org; Wed, 20 Jul 2022 03:18:19 -0400 Received: by mail-pl1-x636.google.com with SMTP id j12so14183021plj.8 for ; Wed, 20 Jul 2022 00:18:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=BnAGw2UmH1ByGzhA5Gm0NrOe8de8RPe9dMX4TQ3OpLs=; b=ZXXwFIUBRFspSgKn5w3DgIpb6j7sCv28OJ2kjp9Oe8Ie8/CcqJAhGD3iw2ksRhBqPI O0/tHCVGsmoDNwoZ7PCNki0x1qlR1IPnjfa9tUhc2plA4QRBhrWa1MN6aWRngeHdKfU0 9/wskbfL3F5dow/l9LpxyLc+a6Xoamy3b3otqm/sBO74bbe9x5qHMDmoMx3/eMe6RUnp +SG2CnunSUArFyj6ZXZM5SAALyK+lN6V15TvYFAs4WlCnJhDr3U8R+dsMgggh9EoSfkC ZO/bnNpGZj4r7BmTkg7nSdelhibwGOYTNGkSCfRhKiZG+1m1mqJjXEsOTjx1vYQTITGX QFng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=BnAGw2UmH1ByGzhA5Gm0NrOe8de8RPe9dMX4TQ3OpLs=; b=t5OrhvYAImYZbtSfDtL6Ly5lmQEAieF003EDN6wmmcv70vbW+fjLRb3aDJo8MsGtOJ RlIx/gEWwPoH41ew7A81zhu29rCoaRQjtEfVg9BcID+do8hmUtKHymP5q+rBH0FRv8dX +ZFkTvJBlYU28/dnnLgr7ltNBn1XEg2SWMV75jbj1y068OJ2vkAreUxRWpec49aDPWBl KM48T2dzgodCz/dLEAPIXZavL40qtRf2rcSvnKrclFD8TJiRtRpXe/C5XO7qSwA0aJwM SCmwL7I9z/QULhRIZ9ZCJ+ZFtlFUrIWniYg+I57Zz9yRUPr7B5XjbAyuogB1Im4qm9qA 2RSw== X-Gm-Message-State: AJIora/cjosqAZoT12iI/bb7YPC4yU9p7S/56VzVzyPS+zLlKRoTNW93 ZV3U/22fP6SUIyK8E303PJc= X-Google-Smtp-Source: AGRyM1v+uzBpMbkvigwAMQSB7dt60Pzqndr2FLxKqiDl6w5eU1fKgor6+Mx0W2bvx16gdA5AB53FVQ== X-Received: by 2002:a17:902:e547:b0:16c:1ee:262f with SMTP id n7-20020a170902e54700b0016c01ee262fmr39073493plf.130.1658301497255; Wed, 20 Jul 2022 00:18:17 -0700 (PDT) Received: from localhost ([115.154.175.57]) by smtp.gmail.com with ESMTPSA id q126-20020a634384000000b0040ca587fe0fsm11076990pga.63.2022.07.20.00.18.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jul 2022 00:18:16 -0700 (PDT) From: Ihor Radchenko To: errelinaaron@gmail.com Cc: emacs-orgmode@gnu.org Subject: Re: `org-capture' loads all the files in `org-directory' In-Reply-To: References: <87mtd7hzl3.fsf@localhost> Date: Wed, 20 Jul 2022 15:19:22 +0800 Message-ID: <87v8rs2qv9.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::636; envelope-from=yantar92@gmail.com; helo=mail-pl1-x636.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658301722; 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=BnAGw2UmH1ByGzhA5Gm0NrOe8de8RPe9dMX4TQ3OpLs=; b=aswiTGiZzfWNR8rWlDPuFVuxnqGZiMNX5hmBoXxWfrd4m/5JQj+Q0kH6x18mXOqKhcvvg2 K07GtqQpcIh83oi4ky5BXq0JcSNLmYLHn5Mc4xUK29W5UjpOX/WfEgy358KOZXZDFHGGzl Off8WcHpSk1mBYAmoZgv6PT+6iG5Li6Ed1lGlgMRAOvtn27ZdHLeEX0pjFBgs6h8I7WA+L IJNswrb3pK2zywtz6Y7Ej06EtjbyWTwqnNBmBbMq502eUUAJ4WCG/vbdDtXFKllkWAHvRt 8mdrW+0ftW47PCLZxqoVzQLkCosuGrdLBsok1xRVDLAS6FmLozhnDjCcP9kahA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658301722; a=rsa-sha256; cv=none; b=YJUFFyP7vJvowwm+XDRUC34+rOQQHq5RCKz29PUwSJMqLOFfLZANqQDB0xLzkGzYSnolxS yidnj4jjc8ItnBRrxAGYyNKuMaTiJ1l/UOHe956VsyPYJiuQGPw5F5gkBtZjY0M4VOfKP8 CmavCaCFD72dcGE6tyH19OU9R1X/gUFJqhY5nnXJ96u1C/TgbnY1FviC3Ana3nmdqJcXfK ZIZA1wKPHkJGv8WE2LkxVL8O1i6YMld2TrpT7w/NtpT4ma+AjVFZodvOR0lxrRZdsoFaal ydUC/x1Leo+Qd1SBc5aSFBRwiCyUOcmhF0+GxpMllxXIw5ILWisjGNAIPIkCLQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ZXXwFIUB; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -3.44 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ZXXwFIUB; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: 26A7E3766A X-Spam-Score: -3.44 X-Migadu-Scanner: scn1.migadu.com X-TUID: d003m+fH+ZgS Noel Errenil writes: > Currently, I'm happy with this behavior. I'll learn how to submit a > feature request > anyway in case in the future I feel a need to. Feature request is nothing but an email with justification why some new feature will be useful for many users. > After your first reply earlier, I came to realize that the pop-up > buffer in which I am > able to select a template is indeed some kind of agenda view/mode. This can be > confirmed by looking up the source code. So my original problem indeed had sth > to do with agenda, not `org-capture'. Nope. It's just that agenda and capture template selection use similar menus. The reason why Org opened agenda files was solely related to collection of all the tags and offering them in the completion dialogue during capture. > Then I found my setting of `org-agenda-files' was indeed wrong: > > Sth like: > (setq org-agenda-files ("~/projects/org/agenda.org")) > ;; ^^^^^^^^^^^^^^^^^^^^^^^^^^ > empty file at the moment > will actually make the whole ~/projects/org directory as the agenda source, > hence all the files under it will be loaded once agenda function is activated. > > I did that, again, because I misunderstood the manual. I should use a > list for agenda files > or a plain text file in which I specify agenda files, one per line. That's one option. Generally, you can check out about the possible settings for a variable by examining the variable documentation: v variable-name In your case: v org-agenda-files Best, Ihor