From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KIG4ObpV7F6UPgAA0tVLHw (envelope-from ) for ; Fri, 19 Jun 2020 06:05:46 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uCuHNbpV7F5CJwAAB5/wlQ (envelope-from ) for ; Fri, 19 Jun 2020 06:05:46 +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 6EF6F9404C8 for ; Fri, 19 Jun 2020 06:05:46 +0000 (UTC) Received: from localhost ([::1]:53878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmA9n-0006df-DB for larch@yhetil.org; Fri, 19 Jun 2020 02:05:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38924) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkuGT-0002Zk-Bs for emacs-orgmode@gnu.org; Mon, 15 Jun 2020 14:55:25 -0400 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]:40631) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jkuGR-0007q0-Il for emacs-orgmode@gnu.org; Mon, 15 Jun 2020 14:55:25 -0400 Received: by mail-lf1-x133.google.com with SMTP id o4so2568645lfi.7 for ; Mon, 15 Jun 2020 11:55:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=IPS0kBMl7uovUqZbUnLQGvPdUtJUPen6QhA7kuoGRhI=; b=pTy6ApBz4gFyn1+F6O2uprCyvc/ZV18PVbPJvtsXhkqTuhqA7VA2TYcbM9aJTXsmjC ldsZmp/P2ZZRu6hw48QpLqYwulBSpZH4tHU33CBnA6yNvl43BYDiB/sDiFzxMdi4WOXh /t4s9wtDfGHmrhgLg37+yphByTIDIl7d9yekB+NhDGPmZz7AUaCIFyUX7OHHUj7C2V+6 udXT49ZTXFwFGYB7UHck6593NE3aJAxdvUtMgK/kiwhx09STafd7PNltE5uelNEGA6X1 OIgEGFlW+8EmEUilP37s5vC54r1ZDh9/z0KSYDa0iau5SuZDD++YNpqCBiaaGsQgPqOS cxjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=IPS0kBMl7uovUqZbUnLQGvPdUtJUPen6QhA7kuoGRhI=; b=hhZTek9GRum9KHNF2eMQEjW/SpXqgMDWT3Xv5ym7q6tkIB+NkXjNH+GFKJSSyi/UZX 2Z5uEhVLopor0CO7PX7lcSC9TMJCoeZ8h7iTYm5gIPb9lTEblT8Cu0tyW7HbQaDBwZYe 33ZGoxi+s4jGilRbl79gpnDskudFxPUWqExGLtWNaTp1+4AvRpCASBxANDnkuDE+mx/2 ZuF4uMzTLhh1rq9x4REUGM8U6zozt1iSpr+w9U9A30ByaljgMSPawFh+JerOkg9I1Qt6 QCVtuqTuMDIYi8mfvh40I67q6Syeg8q95rTiFKZp87YMRglZh188vYuqQsOv4+KXL1wq lVLA== X-Gm-Message-State: AOAM533eu/6wRq/DVbBhGnGZke50RX/DXdS2fgWkQ/Gwk9HIhpmvj+n2 vMjgZQqBMycaU1iuFu0D7byjzuKAMsV4YVnGyYUIqGUZ X-Google-Smtp-Source: ABdhPJxxLex2GDmFaBUr9dB2tZX7vgMwWbrwAUmVcfdpRQQX052uia0OYWpZ4Lp45FTM1U1HQgWcgmKC94s4Q8DTpbM= X-Received: by 2002:a19:2292:: with SMTP id i140mr2137474lfi.95.1592247321215; Mon, 15 Jun 2020 11:55:21 -0700 (PDT) MIME-Version: 1.0 From: "E.L.K." Date: Mon, 15 Jun 2020 21:55:10 +0300 Message-ID: Subject: Org mode patch: when building sparse tree, suggest only local tags in minibuffer To: emacs-orgmode@gnu.org Content-Type: multipart/mixed; boundary="000000000000fa40fe05a823f770" Received-SPF: pass client-ip=2a00:1450:4864:20::133; envelope-from=some.any.key@gmail.com; helo=mail-lf1-x133.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Mailman-Approved-At: Fri, 19 Jun 2020 02:05:18 -0400 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=gmail.com header.s=20161025 header.b=pTy6ApBz; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 2.19 X-TUID: w4HdBaXMjpvp --000000000000fa40fe05a823f770 Content-Type: multipart/alternative; boundary="000000000000fa40fb05a823f76e" --000000000000fa40fb05a823f76e Content-Type: text/plain; charset="UTF-8" Hello. 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! I'm not subscribed, so please CC me. --000000000000fa40fb05a823f76e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello.

I found that if = I do "C-c C-c" on heading, it suggests only local tags in the min= ibuffer, 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 t= his buffer, I think. So there is small patch in attempt to fix it.

Thanks!

I'm not subscribed, s= o please CC me.
--000000000000fa40fb05a823f76e-- --000000000000fa40fe05a823f770 Content-Type: text/x-patch; charset="US-ASCII"; name="don-t-show-global-tags-in-sparse-tree-match.patch" Content-Disposition: attachment; filename="don-t-show-global-tags-in-sparse-tree-match.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kbgux7ke0 Q29tbW9uIHN1YmRpcmVjdG9yaWVzOiAvaG9tZS9lbGsvLmVtYWNzLmQvZWxwYS9vcmctOS4zLjYv ZXRjIGFuZCAvaG9tZS9lbGsvdGVtcC9vcmctOS4zLjYvZXRjCmRpZmYgLVUgMTAgLS1jb2xvciAv aG9tZS9lbGsvLmVtYWNzLmQvZWxwYS9vcmctOS4zLjYvb3JnLmVsIC9ob21lL2Vsay90ZW1wL29y Zy05LjMuNi9vcmcuZWwKLS0tIC9ob21lL2Vsay8uZW1hY3MuZC9lbHBhL29yZy05LjMuNi9vcmcu ZWwJMjAyMC0wNi0xNSAxOTowNzoyMi4xNDg1MDI2MzMgKzAzMDAKKysrIC9ob21lL2Vsay90ZW1w L29yZy05LjMuNi9vcmcuZWwJMjAyMC0wNi0xNSAxOTowNDoxOC45Mjc2Nzg5MDAgKzAzMDAKQEAg LTExOTI0LDIxIC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