From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 6EcQMyS402IPMAAAbAwnHQ (envelope-from ) for ; Sun, 17 Jul 2022 09:20:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GFy4MiS402IwhgEAauVa8A (envelope-from ) for ; Sun, 17 Jul 2022 09:20:04 +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 967EA89F2 for ; Sun, 17 Jul 2022 09:20:04 +0200 (CEST) Received: from localhost ([::1]:58280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oCyZP-0005bL-8u for larch@yhetil.org; Sun, 17 Jul 2022 03:20:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60498) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCqfh-0001JN-To for emacs-orgmode@gnu.org; Sat, 16 Jul 2022 18:54:01 -0400 Received: from mail-qt1-x830.google.com ([2607:f8b0:4864:20::830]:33665) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oCqfe-00033O-1t for emacs-orgmode@gnu.org; Sat, 16 Jul 2022 18:54:01 -0400 Received: by mail-qt1-x830.google.com with SMTP id r2so6391415qta.0 for ; Sat, 16 Jul 2022 15:53:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:reply-to:from:date:message-id:subject:to; bh=x9LvgG0cipkRiUNHTnQsaT3nMCajLJdEvXV0viU02+Y=; b=F0pNAhM39Hfwfpt3KH0WLPQvCw944lm6hpsW0coslndrGJJ5tg1bZUEj1f3Rz9FLGc 0lsOqKqhmNRO/XW00K6Sa2LEw9Zgy0Son8pT+2XclFXxiUL91Ew4LmQKygBQHpcXlksZ psqhN6IcB/EzZRwJA3V1pjkAfEJcFH5xOUS1YIG+pFRyMEV9heY6Qdsou35pKYtZcr56 vAxyFNgXlSZCHG66B3Kd2XqtFtGlTKi2a9az0FsFO+2s7DtHJP8LncvWEEHCsfLmb5gQ 2Fiq/PnAkCrslWYTb5xDEhTgaD1KmP85LXmaeouQ8yvKydhxSyfpisLL0SekRfpxZ+f0 P8Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=x9LvgG0cipkRiUNHTnQsaT3nMCajLJdEvXV0viU02+Y=; b=Aw2s5/EJSHxI79/0A8QHOcM2oZPijBmkcag70Gwq7dRGfkzoZ1QFNfSsqTHdxbx93R YR2oK0LjtoqQ1Ys1RlZWZTw6ZmwEuvAmNgtTW0wzhJy6jt5gq3TvlcjrrtQZikuB54jL WcOIKVTYjBYtyquOh7vXYdDuQbVk6B8fThcsfknTnDfazRupLTNAGyk6j7M6EjCB6M6R s1CV7Nmips5xfh22t0ItA6JuGTPkWG6qYYvhP8tWIMh57VHv18SLQzQMgxgt1Apb+UQt 5hLotBYOai60CKSsiqApPlCzPO8TkV+lIiVFFJs0Ky/uwVfxiqAaEf5U7Y2aU7VzlQfI khyQ== X-Gm-Message-State: AJIora8vbkw3ykl/5t42/QASD6szCNgdRI76A/CQuJJaloVrLdbVGFrU ek9R10OQWU3tPa5lNvcwgfHmJLlSQ17CcLALo1xI+i26aWCO3g== X-Google-Smtp-Source: AGRyM1uGp0X/ryGem/EFTEoAmExHL2JWpoq/CSkOfwEr1cm0MKKTlhmDMTaISBBkHRXBe0xK06DUBjr9wVS9HKPRMwA= X-Received: by 2002:ac8:4e49:0:b0:31e:b3e1:4478 with SMTP id e9-20020ac84e49000000b0031eb3e14478mr17071350qtw.97.1658012036147; Sat, 16 Jul 2022 15:53:56 -0700 (PDT) MIME-Version: 1.0 From: Noel Errenil Date: Sun, 17 Jul 2022 06:53:45 +0800 Message-ID: Subject: `org-capture' loads all the files in `org-directory' To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::830; envelope-from=errelinaaron@gmail.com; helo=mail-qt1-x830.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-Mailman-Approved-At: Sun, 17 Jul 2022 03:18:56 -0400 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: , Reply-To: errelinaaron@gmail.com 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=1658042404; h=from:from:sender:sender:reply-to: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=x9LvgG0cipkRiUNHTnQsaT3nMCajLJdEvXV0viU02+Y=; b=uz07PwSCa++9D7pyUevkRXUZgouHpKfWiv1mzEmX7QsoxdYFk5ydLQNheO0qDVHonynPES /cMUAm7ObU4q90caJkq4Sf2U++5W5x0NJWHsUGdEz6iItAHz0p0xB7iL3HlJBibsHC+H1t ycuJdSnK4lS25m4z18d4KkWgk0bt8vTUsSLJuWytyZawMLTJKtzQucfshDJ5FPpLpOdXYS Czd8fqrpgmAY1r0ZJKLcdZ5hGE35mRtfkdL6SwmQIxcYQUZKiRcUR7fmRLM1oQUoz8lnBZ isnHP+hgsZZblYVqYe4KDppYDogH4qkiArxHucEWLXHPodtyiTLzhaTZXFkyvA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658042404; a=rsa-sha256; cv=none; b=DmIrWJ6niN0Hhl5puMuP0HUBi0miN8k9Pe40r0Gf/6aQujWu1EYAUf1rqgnDmBCFzRvIQ3 Zl9MBT6O2kJOg5w5FlMM8M7U9FEhAIbwfCPpaeyJhXr/+jZYWdk/xADM/DiErEa6CU6N09 Hl3I+hUwNK68in+gBG15uU3wg6J1In8FCFuof4BS+JMan1Da2ZN4OVxgv6kIUj8qgm3rdV nHMmWY0iZAmtc8xlitE63hbNOEP8GYmOPlbqM1r58BOTHiqgRFjY6KXPU3lqNl1kvE1R4p CJEao7CmcUzW/exKzj90+EnNZogwYE+BYErAPVVtCpU/zNK8CoQOGhWyLffhbg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=F0pNAhM3; 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.93 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=F0pNAhM3; 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: 967EA89F2 X-Spam-Score: -3.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: sF2YnceynYCw Hello, org community I ran into the titled issue and haven't found any solution or explanation: First, I start Emacs and there are just a few buffers such as *scratch* and *Messages*. Then, I fire `org-capture', captur a note and `C-c C-c' to save the captured content. Suddenly all the files under ~/projects/org will be loaded into the buffer list, which confuses me so much. Those that have nothing to do with capturing or capture-templates are loaded into Emacs, which makes little sense to me. I'm running Emacs 28.1 on (Gentoo) Linux. I can reproduce this on my macOS too. Currently I have `org-directory' set to `~/projects/org'. My `org-capture' config is as follows: ;; vars (with-eval-after-load 'org (setq-default fill-column 80) (setq org-deadline-warning-days 0 org-startup-folded 'content org-hide-leading-stars t org-agenda-include-diary t org-src-fontify-natively t org-src-preserve-indentation t org-edit-source-content-indentation 0 org-indent-indentation-per-level 1 org-directory "~/projects/org" org-agenda-files (concat org-directory "/agenda.org") org-default-notes-file (concat org-directory "/notes.org"))) ;; org-capture templates (setq org-capture-templates '(("t" "Tasks") ("td" "With Dealines" entry ; todos->deadline (file+headline "tasks.org" "Deadlines") "* TODO %? %^G\nDEADLINE: %T" :kill-buffer t :prepend t) ("ts" "Scheduled" entry ; todos->scheduled (file+headline "tasks.org" "TODOS") "* TODO %? %^G\nSCHEDULED: %T" :kill-buffer t :prepend t) ;; memos ("m" "Memo" entry (file+headline "memo.org" "MEMO") "* %? %^G\n%U" :kill-buffer t :prepend t) ;; notes ("n" "Daily Notes" entry (file+headline "notes.org" "NOTES") "* %? %^G\n%U" :kill-buffer t :prepend t) ;; readings ("r" "Readings") ("ra" "Article" entry (file+headline "readings.org" "ARTICLE") "* TODO %^{Short title for heading} %^G \nTTL: %^{Long title} \nSRC: %^{Link} \n%u \nSUM: %^{Quick note?}" :kill-buffer t) ("rb" "Book" entry (file+headline "readings.org" "BOOK") "* TODO %^{Short title for heading} %^G \nTTL: %^{Long title} \nSRC: %^{Link} \n%u \nSUM: %^{Quick note?}" :kill-buffer t))) I just expect that only the capture template will be loaded during capturing and the template buffer should be killed (as config-ed) after capturing. What am I doing wrong? Any advice? Thank you so much in advance.