From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OKrFG0IgTmN7eAAAbAwnHQ (envelope-from ) for ; Tue, 18 Oct 2022 05:40:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2K6yG0IgTmOXYgAAauVa8A (envelope-from ) for ; Tue, 18 Oct 2022 05:40:50 +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 26D82827E for ; Tue, 18 Oct 2022 05:40:49 +0200 (CEST) Received: from localhost ([::1]:38092 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okdTD-0008Nm-KG for larch@yhetil.org; Mon, 17 Oct 2022 23:40:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okdSC-0008NT-At for emacs-orgmode@gnu.org; Mon, 17 Oct 2022 23:39:44 -0400 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]:41815) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okdSA-0001YR-NZ for emacs-orgmode@gnu.org; Mon, 17 Oct 2022 23:39:43 -0400 Received: by mail-pg1-x532.google.com with SMTP id q9so12196394pgq.8 for ; Mon, 17 Oct 2022 20:39:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:in-reply-to:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=UgyAEZK06LbmnBPyS3uWCVNZI3XhbRMRprDuPGk0t9o=; b=NXecT1rPe9Y4d4FkCfVffQ5hLRWL/hKc89K+IdKVvsFKvRFUgeGITgMBnf/t5g99KP s0tQSflhXnwKMSSlgZ3R5EJJorjHjroeyJAvxAy5GWmb4+0WmJRO4ejzBu7MvO/kBdRX 7f1vSTyS+7iViNssFzt8zB4bSU7oVbkvILWM8HGfcx8HF4Ween985IhZVqQTyxIzO/oA sioru5TleE6mdEWQhrHO5yvfNxSWq9WPNqcibDMBfSESn1C9eKBX5j/1JP3Xr2kWzwZ1 uUJkN106ONLuJn7Bv6dgPVKEWIrfH8S1/2CCJn2yk9YUkCWoh2VM5nN+ERlkrXa7Q2Gw CWAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:in-reply-to:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UgyAEZK06LbmnBPyS3uWCVNZI3XhbRMRprDuPGk0t9o=; b=4yqkMLQjme8q0PUbeXgFsVUAhbmu4ThMBVap1+5fYGxNZYnrA3MpSiJtUWVJ9c6aNO 5mkHaTNcZ1DbBeHzUTkaCSPluSaw6MGRO4viBQbnLzlXTtjL4rtkqr3WKEBYQJi9vq24 t6iia50Q88OREL9KSe8K3doYKLCtpNEUptkPJGxl9tos1mhkzjo9axlYQh3oEgZgah0L 2tkstSFngYs5u2Qd9RYT0JkZnR3d0XrmCsW9IQxwT2bERbsYJ1SqqEff4hRtyR8e+02R NdHj2F0Ca/QGrdeiLNX7g4JKzpzIKJVRYe0KN/i/UILCR+AOOaaoJ4h1/4BH5akKz4D4 eA9g== X-Gm-Message-State: ACrzQf2sLKBjS+NbYWwOc9CGQYskQaE+RNqUcyS2aeP8hPC69VL/pqKr /3hNCb//6Pp4UQVuqMoSWfeg+QaRRfJBSRQL X-Google-Smtp-Source: AMsMyM4VQXJTq/5NROjC/fWDkmU6M6DwF7mIO1SGpTscS6qHnsdVyZQIny3KL7tmsYhr8vBSlwS57g== X-Received: by 2002:a63:4b4c:0:b0:45a:5f8:b49d with SMTP id k12-20020a634b4c000000b0045a05f8b49dmr928588pgl.490.1666064380177; Mon, 17 Oct 2022 20:39:40 -0700 (PDT) Received: from HP-Z6-G4 ([112.38.217.10]) by smtp.gmail.com with ESMTPSA id m10-20020a1709026bca00b00181a0e61ce4sm7386158plt.6.2022.10.17.20.39.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 20:39:39 -0700 (PDT) From: Liu Hui To: garjola@garjola.net Cc: emacs-orgmode@gnu.org Subject: Re: org-agenda-tag-filter-preset: maybe a recent bug? In-Reply-To: <87y1tenzsf.fsf@pc-117-162.gandi.net> Date: Tue, 18 Oct 2022 11:39:27 +0800 Message-ID: <87zgdter68.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::532; envelope-from=liuhui1610@gmail.com; helo=mail-pg1-x532.google.com 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.29 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-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666064450; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=UgyAEZK06LbmnBPyS3uWCVNZI3XhbRMRprDuPGk0t9o=; b=KySv6Wem+s6Gf7uF5ESwGSi0go/z0iKOJIenAobhchovi4qd2c09FiDYqTGqa3T/p0BW1h OVNZ2sBKa5qiSsELle2lMBriHDCNwZGxmkZ1MaF4ZLDSDIW4zxWLih4hA+w9rLv3dfYq+e oln+/Iw40GjbHGDAvIKVgczbab22rZvMlgLdNPHMNc7GuQOnF1oX9MzHg1IAFbXdm+pEGO Fu5d3nZ1jVBuqOpJR+WG7pzQvUd/pKiQImtYwanGH925EGeVf4SxbIJrwvTfJKgcisSmQZ miqrD1GVvA4fOAlPm9aRtJEGuhprfKT3fxB1ig7OPLj5JcHkAn/1V4q4nC7fvQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666064450; a=rsa-sha256; cv=none; b=ofIk+7nqhfJu1+0OhCAvFLDKoAIi6kRNBGW8Ycwq4hfWLgp3csAKGi399aJaidK22MnZEj fUxUQmhzmYhIMxurednie1jwexPeq9esCs1NdIdWbBgBqJ5evxlLyZkHa6EOpy5TI8M6cV WBBsO2xYJ7YdpZZQjDXHvW57jPrn+/rjlXB6IC8yKG2k/jzNBH1wODMLMN1XqunCLniRnU 4JVNDfT0g9utM5aBFqebtUHy0WeSox4YISbhlve+HeE7AmmJG6rQRnybWLd3E/nMGZShk2 8YDTZgQB6OU9WOGvcW01lTGPpv2uf/WTmahOadqWfXx8NgDYA9Z/8qTVpqGEPw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=NXecT1rP; 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: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=NXecT1rP; 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: 26D82827E X-Spam-Score: -2.92 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7vU7XtdziF/N Hi Garjola, The preset of filter is not supposed to be used with individual command. The docstring of 'org-agenda-tag-filter-preset' says: > The preset filter is a global property of the entire agenda view. In > a block agenda, it will not work reliably to define a filter for one > of the individual blocks. You need to set it in the global options > and expect it to be applied to the entire view. So you just need to preset the filter in the global options, e.g. ;; multi-block view ("W" "Work Daily Action List" ((agenda "")) ((org-agenda-tag-filter-preset (quote ("+work"))))) or ("W" "Work Daily Action List" agenda "" ((org-agenda-tag-filter-preset (quote ("+work")))))