From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MMOjNgttcmLAVAEAbAwnHQ (envelope-from ) for ; Wed, 04 May 2022 14:09:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gPbBNQttcmLNJwEAG6o9tA (envelope-from ) for ; Wed, 04 May 2022 14:09:47 +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 5D57689E6 for ; Wed, 4 May 2022 14:09:47 +0200 (CEST) Received: from localhost ([::1]:37538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmDpC-0003dS-EN for larch@yhetil.org; Wed, 04 May 2022 08:09:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmDYF-0001JX-Mf for emacs-orgmode@gnu.org; Wed, 04 May 2022 07:52:15 -0400 Received: from ciao.gmane.io ([116.202.254.214]:43020) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmDYE-0007Ye-3i for emacs-orgmode@gnu.org; Wed, 04 May 2022 07:52:15 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nmDYC-0005BP-HO for emacs-orgmode@gnu.org; Wed, 04 May 2022 13:52:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Karl Voit Subject: Re: Agenda without todos only if there is no other timestamp Date: Wed, 4 May 2022 13:52:05 +0200 Organization: www.karl-voit.at Message-ID: <2022-05-04T13-49-34@devnull.Karl-Voit.at> References: <2022-04-05T10-40-55@devnull.Karl-Voit.at> <2f5cd7ff3210beec704fda7b38d180a5@isnotmyreal.name> <87mtfy43nc.fsf@isnotmyreal.name> User-Agent: slrn/1.0.3 (Linux) X-GPG-Key: http://www.Karl-Voit.at/Karl_Voit_GnuPG_public_key.gpg X-Registered-Linux-User: 224337 X-Confession: Pastafarian http://www.venganza.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Reply-To: Karl Voit 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=1651666187; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:references:references:list-id: list-help:list-unsubscribe:list-subscribe:list-post; bh=AJ1BWGJsT5MWI6CpjAygKotjFOQYVus1wmwCnWUgNYc=; b=LHerE6+bva2oMzBNa+N7ZXNN9huUmEVFdi8FJJC0oZdgzftL5R3DV8ccW9Py5H/zle4y/O fUVlfECpRHqhsIN2jOppsnMpBQaTLy7mD8G/Mk3SxM7FiqOZ93lEmM5yn5j7wwujbMCMSR bwsL5ORSVWCnUJlmvfJsyeGdZve95524jAknuyDwbaklqa5rJwygwHAPMXbfG6uieHE+ge 8xsrKLHMmauZJ86AiZ5HpGZECRWU2FBNpEkDaWsn2hgv8G8F8NjSpdVcUE0VmOLziIUPw0 ezgOQbNxXWZaL77gSamwYS7ezvgzWRq+ZY5H5rnmNSUzh6/Qsd6v5cMxpHI+nw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651666187; a=rsa-sha256; cv=none; b=gtKaf7VX7pDNnhplHiKG/A7AEqQFbhNf4CguE2mHYnmXjpquEZoS1AWZqIRqhYADM5h6Eq aZlaIxXzPa9zpREju/rD/CWH/FfAPSCYFDwoZd/5CVzGNVtznivZ1q1doHz0CJbZWzKUkP VZPHjwgEDJ6F1v6sf4+eV/hwLVwnlHDU+jBTV9lXme0OWB7GDVnO0ZJiYNFXeiGLtqlK4Y 7Dn8KAunF98AtBrMElUvSiSI673/XIshgCnblT82GmTnlWvTGApyyySTea/fvbmZ2cjG43 kNpB2zc0/+1rVoGWECrNhEHNk2e1ECRZ6vioZu4RqjYxobhLcCnZ/XMLy8orjA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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: -1.78 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 5D57689E6 X-Spam-Score: -1.78 X-Migadu-Scanner: scn0.migadu.com X-TUID: xlpDzn3o9jjx Hi, * TRS-80 wrote: > >> On 2022-04-05 04:48, Karl Voit wrote: >>> Hi, >>> 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"))) >>> (don't mind the stupid name - I may fix this as it is misleading >>> here) >>> This results in an HTML file that contains my appointments without >>> the tasks. >>> Unfortunately, I sometimes seem to schedule appointments within open >>> todos such as: >>> | * NEXT talk with Steve about the project X >>> | SCHEDULED: <2022-04-05 Tue> >>> | >>> | - [X] ask him for a time-slot >>> | - we settled for: <2022-04-05 Tue 14:00-15:00> >>> Of course, those appointments are lost in my agenda export as >>> specified above. This is a bummer and I want to fix this somehow. >>> Tasks should be omitted only if there is no other time-stamp than >>> deadline or scheduled. >>> org-agenda-skip-if lists: >>> | scheduled Check if there is a scheduled cookie >>> | notscheduled Check if there is no scheduled cookie >>> | deadline Check if there is a deadline >>> | notdeadline Check if there is no deadline >>> | timestamp Check if there is a timestamp (also deadline or >>> scheduled) >>> | nottimestamp Check if there is no timestamp (also deadline or >>> scheduled) >>> | regexp Check if regexp matches >>> | notregexp Check if regexp does not match. >>> | todo Check if TODO keyword matches >>> | nottodo Check if TODO keyword does not match >>> How is it possible to accomplish this? I think this would require >>> something like "Check if there is a timestamp (except deadline or >>> scheduled)" which isn't available yet. >>> Any ideas on that one? >> >> I think you will need to write a custom ~org-agenda-skip-function~. >> > > I realized there is probably an even easier way (no custom ELisp > required), simply by creating a separate child heading for the meeting, > which should then show up. Thanks for the idea. This is my current workaround. However, it happens in longer headings that I insert a time/datestamp at the end without realizing that I'm working in a todo heading. This is an issue for me because I do have to check every time I'm using timestamps. It's rather obvious that I fail from time to time and I lose the entry on my non-todo-agenda. -- get mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML into Org-mode: > get Memacs from https://github.com/novoid/Memacs < Personal Information Management > http://Karl-Voit.at/tags/pim/ Emacs-related > http://Karl-Voit.at/tags/emacs/