From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8F1SADxWU19HagAA0tVLHw (envelope-from ) for ; Sat, 05 Sep 2020 09:11:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MCDNNztWU19HNAAA1q6Kng (envelope-from ) for ; Sat, 05 Sep 2020 09:11:23 +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 945089403A5 for ; Sat, 5 Sep 2020 09:11:23 +0000 (UTC) Received: from localhost ([::1]:48358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEUEE-0001PL-Fe for larch@yhetil.org; Sat, 05 Sep 2020 05:11:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEUDr-0001PF-Ms for emacs-orgmode@gnu.org; Sat, 05 Sep 2020 05:10:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60675) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEUDr-0003i3-EE; Sat, 05 Sep 2020 05:10:59 -0400 Received: from [2a01:e35:2fe1:f780:68c6:8f4c:dae1:2381] (port=39154 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1kEUDq-0006mj-V0; Sat, 05 Sep 2020 05:10:59 -0400 Received: by guerry (Postfix, from userid 1000) id 792681A60D46; Sat, 5 Sep 2020 11:10:56 +0200 (CEST) From: Bastien To: "E.L.K." Subject: Re: Org mode patch: when building sparse tree, suggest only local tags in minibuffer Organization: GNU References: Date: Sat, 05 Sep 2020 11:10:56 +0200 In-Reply-To: (E. L. K.'s message of "Tue, 16 Jun 2020 14:15:39 +0300") Message-ID: <87tuwc7fmn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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=none; 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: -1.01 X-TUID: ZmTywVR3lq3w Hi, "E.L.K." writes: > I found that if I do "C-c C-c" on heading, it suggests only local > tags in the minibuffer, but when I do "C-m / m" (build sparse tree) > it suggests agenda tags together with local tags. > > It does not make sense to build sparse tree in buffer using tags that > are not in this buffer, I think. So there is small patch in attempt > to fix it. thanks for the patch. I add a Changelog and documented the new parameter `only-local-tags' in the docstring, then applied it as f2d41de3e in maint. If you can provide complete patches for the next ones, that'd be great, thanks in advance. Best, -- Bastien