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 ALbmISGdrF90dQAA0tVLHw (envelope-from ) for ; Thu, 12 Nov 2020 02:25:37 +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 iK+vHSGdrF+kQAAAbx9fmQ (envelope-from ) for ; Thu, 12 Nov 2020 02:25:37 +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 150869403A7 for ; Thu, 12 Nov 2020 02:25:37 +0000 (UTC) Received: from localhost ([::1]:50298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kd2Io-0001QX-5c for larch@yhetil.org; Wed, 11 Nov 2020 21:25:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kd2Hw-0001PA-TH for emacs-orgmode@gnu.org; Wed, 11 Nov 2020 21:24:40 -0500 Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]:40295) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kd2Hv-0005gj-9D for emacs-orgmode@gnu.org; Wed, 11 Nov 2020 21:24:40 -0500 Received: by mail-pg1-x52b.google.com with SMTP id m13so2857615pgl.7 for ; Wed, 11 Nov 2020 18:24:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=hrn4xi4Y81Gy4tzZEfM4tT4caoiH8NlgGwR4yHqy4JY=; b=rZXOj6JaVKc/NFucu+oIxeq3/X70d+GELD2iC0tl8vvc4sd+vG3D5HMmYuWjj+kEny v0I0ZsyOe8cw38GNh1D2WgnVAhrDjkCV/wTI1TscAdtlWVr609VLjoRVUYGr3LipCw5R uYcXuyjQXnJQesIor25VZxovmWbVwhFC33qQlMIXoliXT/2yMlD05WQyn/XhNaqlqUJE AUILfMqGoGF4+jDJkPJBzOI7Mxb3NcausN39sXcXGUlqaNjMOoZSQAXi3edNF3Im+JQ0 mUa042zq0NWaQ/slFDAS9o8kWSOn6wSR7fXRcLPH9QhVZHTey86qen24hPvSykqrvJKS cBGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=hrn4xi4Y81Gy4tzZEfM4tT4caoiH8NlgGwR4yHqy4JY=; b=LgsU9mUSVq/jtqnC0gCAQSJesYIlpwT6awGIU3YCORNjkMYzEd0v/0GDZ8wzE+7DZX rYTUdpVKR/y65M5D33qu3PB6rhC1A98Qpa6lDXHvp3blyQt5HDOTUK4FVJs91/tBV5GS CXuNEiM8RFAw7ZwUCrBdTEC0YCOxyleSh2JMsuhXoweHK7nNVvpzawHK8kbRybcK++v3 rSe1TSRx+vJ8xw1tkeVd4rglpQ7HsFwCvcBwSqGyU0ggTNrH6yUm+B5yd40Ny533p9rZ qEa03zIQnbzJZIwl4aStMzooYgdPBtz/DU+yZ3Mq6bnR+LpSnPuVaI1HAGdAOHNQYXnR oGlg== X-Gm-Message-State: AOAM531ljOBvzvYD0DI6QGtOleWfR8N8UdfttTUV41gRuNKGWMPz5dV7 B5injN+0af6Ep7oPj3Wkkvg= X-Google-Smtp-Source: ABdhPJzMQIB4WTZnYZmOsFFI0ZAUjRxrxcGKrp+ozIRh5QtklimCsTsYQ9eudmeXfarpuR4/BsjlJQ== X-Received: by 2002:a62:cd85:0:b029:18b:36c7:382d with SMTP id o127-20020a62cd850000b029018b36c7382dmr22916508pfg.14.1605147877076; Wed, 11 Nov 2020 18:24:37 -0800 (PST) Received: from localhost ([104.250.131.79]) by smtp.gmail.com with ESMTPSA id 5sm4405576pfx.63.2020.11.11.18.24.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Nov 2020 18:24:36 -0800 (PST) From: Ihor Radchenko To: o.rojon@posteo.net, emacs-orgmode@gnu.org Subject: Re: Non-interactively filter the agenda using tags? In-Reply-To: <7b6d1334bdac95ec4d8ccb1c55e60dcd@posteo.net> References: <7b6d1334bdac95ec4d8ccb1c55e60dcd@posteo.net> Date: Thu, 12 Nov 2020 10:23:35 +0800 Message-ID: <87d00juxco.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::52b; envelope-from=yantar92@gmail.com; helo=mail-pg1-x52b.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: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, 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 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=rZXOj6Ja; dmarc=pass (policy=none) header.from=gmail.com; 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: Dbc+Ey6ioOhP You can try org-agenda-filter-preset, though it will apply to all the agenda view, not just (agenda ...) block. Also, there is always org-agenda-skip-function. Best, Ihor o.rojon@posteo.net writes: > Hello everyone, > > I hope I'm not asking something that has been answered 100 times, I made > a search to ensure nothing extremely obious slipped under the radar (I > also asked on IRC). > > I know that when you are in the agenda view that displays appointments, > it is possible to interactively filter in order to take into account a > specific tag (inclusive or exclusive). However, I would like to make an > agenda view which does this non-interactively. > > Essentially, what I would love to have at my disposal is to have > something like the MATCH you have in (tags-todo MATCH ...) for agenda - > because as of yet, this seems to be impossible. I have tried to look for > different variables and/or functions but couldn't find anything that > matches. > > Am I overlooking something obvious? If so, feel free to point me to > solutions so I can do my homework properly ;-) > > Greetings, have a good day, > Olivier