From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uJpUMAxGcmLCbwEAbAwnHQ (envelope-from ) for ; Wed, 04 May 2022 11:23:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8E2ILwxGcmJwtgAAG6o9tA (envelope-from ) for ; Wed, 04 May 2022 11:23:24 +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 57B6819D1B for ; Wed, 4 May 2022 11:23:24 +0200 (CEST) Received: from localhost ([::1]:34088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmBEA-00017o-LT for larch@yhetil.org; Wed, 04 May 2022 05:23:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49522) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmBAw-000163-Bo for emacs-orgmode@gnu.org; Wed, 04 May 2022 05:20:03 -0400 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]:43955) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmBAu-0002bJ-Qw for emacs-orgmode@gnu.org; Wed, 04 May 2022 05:20:02 -0400 Received: by mail-pl1-x630.google.com with SMTP id i17so888552pla.10 for ; Wed, 04 May 2022 02:19:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=h/6vqnKuG/zba4J4GMvQC0qtYGPdq6kpGGy3KVrWpuk=; b=AGt4kORwCnF1VfEZIu3RQLNHWEip8OL8H4Mtd2Z/dyq/0xanfTe10jLlDLUAUMa3qv cZ3e5nmbze5doeiQW8Iio4s+Wv4LOJvb2exx+PhE0zAHvXdkOjkPaNd7uwr08Rj1ddO7 zMVn2TgJdxjQa/rx3sH5bY3WAr70+OZrulsfn9e3FfnNZlfe9lycmC9iDvQ+E/o8jrBu xUBc/zV+L1WnBfUsJa+fYDBdtRcxoUQM4cK6suJpKrerBHKjfFb1zAwMNlYMHMclI/jL TBpy3LQVfOtpi4xFA3oZlsFaNiIhem9tI23Um41+V/QBsmj/xxxwESxS1t6QgFAnj8PM +OOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=h/6vqnKuG/zba4J4GMvQC0qtYGPdq6kpGGy3KVrWpuk=; b=qMcTrJnuL909G3tNnrQcz6n6dpZ8NvQQwKaS42guu0EudgQXksMxc1wmkywSLHPNdr W+y9VPlkzdmw2TGNIUG9NLFIgQsVC5pUlOHmJ0jL6Efk9m5ikQQUGLOExonE83uX/CXo ZRORrv8TjPErcKbVxyeyJlzmqD5JlzocHt0YQOYxaJB4WpN5I0dnpjs972/KkzbHC1YH AWHhwxoMpRLYmvddLHeSa69Il5X0ydpLiRAweLaXK4pfoIRedEiWaKf0nPpuqmitC4sj XCjpVOsslYWw1+C2UIMLYhUrmgS7+BQuzUKZyQKp2swOOb4zwS2zbcI/CXUpQXGAAZst kPXA== X-Gm-Message-State: AOAM531QHFQ7QRDJhfm4x8ezvo6Mt766J/ENb5q3H9bBqdspi3/73MTP iGelJ9teV+V0CpW3T6sjrCCUzMVX+rEcZ54H X-Google-Smtp-Source: ABdhPJyNbhXfYz3Udo/p+HDmWdNCE4CqbGyzsE9OJfazFBJqUa33LKeKzfnrKv4TpvKEk09IXYGy3Q== X-Received: by 2002:a17:902:c94d:b0:15e:ba3e:c4d3 with SMTP id i13-20020a170902c94d00b0015eba3ec4d3mr5922983pla.121.1651655995292; Wed, 04 May 2022 02:19:55 -0700 (PDT) Received: from localhost ([37.120.210.2]) by smtp.gmail.com with ESMTPSA id c6-20020a170902c2c600b0015e8d4eb250sm7803892pla.154.2022.05.04.02.19.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 May 2022 02:19:54 -0700 (PDT) From: Ihor Radchenko To: Karl Voit Cc: emacs-orgmode@gnu.org Subject: Re: Agenda without todos only if there is no other timestamp In-Reply-To: <2022-04-05T10-40-55@devnull.Karl-Voit.at> References: <2022-04-05T10-40-55@devnull.Karl-Voit.at> Date: Wed, 04 May 2022 17:20:40 +0800 Message-ID: <87mtfxhcwn.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::630; envelope-from=yantar92@gmail.com; helo=mail-pl1-x630.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, T_SCC_BODY_TEXT_LINE=-0.01 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651656204; 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: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=h/6vqnKuG/zba4J4GMvQC0qtYGPdq6kpGGy3KVrWpuk=; b=mIbB/VnXhxeiTF1Ul6G9RtNm8ms/MqXPOqVFYt25X0uz3iasy7qliZoSH/d3dsEEmzQuPR nxN8EvFchf7C9YdRjhZccx0yeIKYpWgqreBC7yDLKCm81fV2o9+iwrzT4CVms72yxn+QW2 zk3gok6Q1BuDjyrpy/sYMYzhC5Cgcu2dzHtXSsxvtcXrtl974cBnHgjcF7F/s4Irqmm6OR V/kQ9R56IAXc8nYJV0qSLfbZT9zBSQUAcaNBXR4CWqT3EX4Jwth7NYb2ugd4htYbwox6ob 0014yItrl+UU6d7oQmmdak2E9Dsb1D8nMUdgWxUZ+GdKWSrT1yAkO0m0ZxbdLQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651656204; a=rsa-sha256; cv=none; b=YegGYQzmwFpiYtTL7DxigNBm33RIj9zu0rO61kAV9RokiTMq4WalClND5HedVD5I21cdIW 8+KV5/BY5XZuXa6X4RTBBkP0uUqE355a/1NrY8S8P8AkBM/Xphsqreo4Iy8+YCwcAFNGbA T9992pEG5AoGfmpu+M7Kz+/2NrrgSorkfOhMp5iIsuAQWiU1RuIt+CRKSNahmwrGcoAqLT UBtCGDcbWx0LS2EkSwCMEAyWf/+EFJl08JeargHmpS+W5u2e32wxUHbQQh/LKF7n05o0Ti sfDWS2pwgdO5exXn0c6XO7zDuockFJFKFZCpNfmZlo07UgoB9w0tYWzEgdW/VQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=AGt4kORw; 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: -3.58 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=AGt4kORw; 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: 57B6819D1B X-Spam-Score: -3.58 X-Migadu-Scanner: scn0.migadu.com X-TUID: JYgjVz8DvE2K Karl Voit writes: > I've got following custom agenda for exporting: > > | ("n" "no TODO events +180d" > | ((agenda "no TODO events +180d" > | ((org-agenda-span 180) > | (org-agenda-time-grid nil) > | (org-agenda-entry-types '(:timestamp :sexp)) > | (org-agenda-skip-function > | '(or > | (org-agenda-skip-entry-if 'todo 'any);; skip if any TODO state is found > | (org-agenda-skip-entry-if 'category "errors");; skip if any TODO state is found > | (my-skip-tag "lp") > | ))))) > | nil (,(concat my-org-files-path "agenda_180d_filtered_raw.html"))) > ... > Tasks should be omitted only if there is no other time-stamp than > deadline or scheduled. > > Any ideas on that one? (org-agenda-skip-function '(or (and (org-agenda-skip-entry-if 'todo 'any);; skip if any TODO state is found (org-agenda-skip-entry-if 'deadline 'scheduled)) (org-agenda-skip-entry-if 'category "errors");; skip if any TODO state is found (my-skip-tag "lp"))) Best, Ihor