From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IN9KAe+gYl9xNAAA0tVLHw (envelope-from ) for ; Wed, 16 Sep 2020 23:34:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wPE4OO6gYl9FfAAAbx9fmQ (envelope-from ) for ; Wed, 16 Sep 2020 23:34:06 +0000 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 32BEB9401D0 for ; Wed, 16 Sep 2020 23:34:06 +0000 (UTC) Received: from localhost ([::1]:44372 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIgw7-0001mX-Lj for larch@yhetil.org; Wed, 16 Sep 2020 19:34:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIgvX-0001mO-Ep for emacs-orgmode@gnu.org; Wed, 16 Sep 2020 19:33:27 -0400 Received: from pb-smtp21.pobox.com ([173.228.157.53]:54495) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIgvU-0007TW-M5 for emacs-orgmode@gnu.org; Wed, 16 Sep 2020 19:33:26 -0400 Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id B602AE7DA1; Wed, 16 Sep 2020 19:33:21 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=CD+FISXffNAqYgr4P0b/hiHkGAA=; b=YAWoh9 /F1DlooIm64J562oL8eclCxS8KBzTUB6+Hh0j5LZycJ9BQBZugJ1763NTfgHSSc1 MRWr2OAYUIkCk/Ys6xbJ4hwxRE05HDq2SS9ALk5oHE4TNuyFmaK2VkZaYCtrlzIu bQ/fRB0MQ7PJkLWH5iTVaGHl+Yqrj0XT7jlxo= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 9CBE6E7D9F; Wed, 16 Sep 2020 19:33:21 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=jWmmGAjG66wh1X+mWSgBRCmabKPQqztZ1jsyu0E/GZk=; b=xa8hraWT/Z+NXBHqzV43mdh+i5euDftclkO96gSiGAxbc7HD7S3Yy3yg4qY6h7wg5MZuuAgkDvOEVe1CEt8CmbzezM+fqEGZDuTuOBgtmLgVCDzW/XSoCXQ7XXFkJt59+DWAUR0anAqrXcrq2Mst/rJGO0Mi+JZK7uHPvOxENXU= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id 1A2BBE7D9D; Wed, 16 Sep 2020 19:33:19 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: swedebugia Subject: Re: how to exclude a file from appearing in the refile target cache? In-Reply-To: <20200916065023.278e097f@parabola> References: <20200915223640.07407eda@parabola> <20200916065023.278e097f@parabola> Date: Wed, 16 Sep 2020 19:33:16 -0400 Message-ID: <87k0wt8fgj.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 007BD892-F875-11EA-AAA8-843F439F7C89-24757444!pb-smtp21.pobox.com Received-SPF: pass client-ip=173.228.157.53; envelope-from=kyle@kyleam.com; helo=pb-smtp21.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/16 19:33:21 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=YAWoh9 /; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=xa8hraWT; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.21 X-TUID: 5TcWWUqO+J8h swedebugia writes: >> > On Sep 15, 2020, at 3:37 PM, swedebugia [...] >> > I read: >> > https://orgmode.org/manual/Refile-and-Copy.html >> > >> > But its unclear to me how to exclude a file from appearing in the >> > refile target cache. [...] >> You can use org-refile-targets to explicitly tell which files to >> include when you want to Copy and Refile. I am not near my computer, >> otherwise I would have shared an example. > > Thanks! This should be added in the manual page linked above I think. That section does mention org-refile-targets under org-refile: By default, all level 1 headlines in the current buffer are considered to be targets, but you can have more complex definitions across a number of files. See the variable ~org-refile-targets~ for details. Is there something else in particular you'd like to see there?