From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 8HKkERVdv2Ml6wAAbAwnHQ (envelope-from ) for ; Thu, 12 Jan 2023 02:06:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YDyxERVdv2MHXgAA9RJhRA (envelope-from ) for ; Thu, 12 Jan 2023 02:06:29 +0100 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 E9BBED6B5 for ; Thu, 12 Jan 2023 02:06:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFm23-0006vO-46; Wed, 11 Jan 2023 20:05:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFm20-0006rJ-EM for emacs-orgmode@gnu.org; Wed, 11 Jan 2023 20:05:25 -0500 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pFm1x-0006x0-MW for emacs-orgmode@gnu.org; Wed, 11 Jan 2023 20:05:24 -0500 Received: by mail-lf1-x12f.google.com with SMTP id bt23so26116715lfb.5 for ; Wed, 11 Jan 2023 17:05:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=cCtjYKZXlIPOwCDR9QMx6Yu2lFbMQg2YXZ+ADCWCKF0=; b=HhNpo0wVaNFDx6iOXA41nCWjILqWO8hYf+vLFN0oIynYA7C+eHJpqzfp47Jme97VrT Az5/ixDUxV6H7JGhi6BHBL9LjPClJs7W8GeLw1VXOzvQx+4e3GUcT7Jcivliuso4eSrk cnOLgg0zODBUHX+eU5Iv3k73ZuVgI/sqJmGHiWuDmZpZNa31qZPnsz1h2fxtTa9lA1Kd QRFOIqwaHCbxGkVfLZYdaEpECDu++SA0L/Ycp4fiPA7V79NefQia7KwwBZ+/yx8jI0LU vekIn7ZhepVqA1gNcfIll58Q6hGEVlxRJTWa88Vf169i1Zh5R8TA6rDACio8xY8N8B5j jFLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=cCtjYKZXlIPOwCDR9QMx6Yu2lFbMQg2YXZ+ADCWCKF0=; b=URRNnPYRxtmLsxSsTv7nm7YiElY2fnwW0MKd2Dl7tg7FJ64/3Af/bjBEkHwYikEX68 HUrvLv2Wcj2lr8duurwhEav6558LKxw/WvQzvOFqur9WjE6gtYx1L/vhhnoV/dQ1BCIm roaX9NTJ0XbJg9rG+toWXpiY5r4DdlGwlP2+JkS0MqJe4QO8Ucl4rAAkWGfHfZr6iRkj /PF2YwkkIQmjjsLbKs6ZZyRTvhcJ0w0mecb5BMLUpKA/MPCgWPZ98D5eYfGc67M0pxvc xnFIhK4ehbu/5qCDMe3Wt6RghuuwcBiDYOudDjS7L+kK0IDSPRrrgHpd1Cov0CSNKvTR qEWQ== X-Gm-Message-State: AFqh2kr+nCn3cZqNAjhrTuifxWQl7lstHR4zNGSpBLWid4WxOxTffHnN zAQUiEYhIGm00skwytXISTMMeXFBTRVnt1lpIyQ= X-Google-Smtp-Source: AMrXdXsrPRjeNtiGEQHt3GpngXqJa7jUa0FF/lNutB7Du6d88nBmf7NfxfdrGqthxsMiXne8XJOyUfboLLRzwoAQ9sw= X-Received: by 2002:a05:6512:2a93:b0:4b5:6e66:7bbc with SMTP id dt19-20020a0565122a9300b004b56e667bbcmr3611487lfb.487.1673485519783; Wed, 11 Jan 2023 17:05:19 -0800 (PST) MIME-Version: 1.0 Received: by 2002:aa6:c266:0:b0:23b:5e81:46ba with HTTP; Wed, 11 Jan 2023 17:05:18 -0800 (PST) In-Reply-To: References: <87o7r6nv6q.fsf@alphaville.usersys.redhat.com> From: Samuel Wales Date: Wed, 11 Jan 2023 18:05:18 -0700 Message-ID: Subject: Re: TODO state for heading intersection? To: Nick Dokos , emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=samologist@gmail.com; helo=mail-lf1-x12f.google.com 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, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HhNpo0wV; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673485589; a=rsa-sha256; cv=none; b=C3VFu9LDX11TyqG+XoH1Jh+ouJ6woeh7tO5zZpsV3Yz0d+jSYW5xxSFkIGHh5vMwc5xpBQ AYg5nw3YX20VQXLN3QOpbzspVRCuwwcnWOSLP9re7ocUOgGbEIvgpOnsEV2MLjfBtTJ8Hq k4xVa2zxZKgPAa+0o/NMycKUk6sZHbnO9m0TqR/tzCEqqEhRSLgA72OtvKpaY/HvO9Fv4z M5jtotBStgpGG7BsC1i2VUcgoyGgNNfmqfRf0X0IoCqVRVBDjLViEYWsr+I+JFuGRtL0yb QU9PidE9mN0uI97ze2+Gxo+Px0ymLmGvDLVs9As48hsn0lW05PY6KTW+TxIc4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673485589; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=cCtjYKZXlIPOwCDR9QMx6Yu2lFbMQg2YXZ+ADCWCKF0=; b=knSSd8t+vo3cBlQF+l7KzWRwpXV5KnMt/sbtstqYEyXp0ifEw7IoBAX2As9WhXmOlldhMj HPQiRSLJ98wPYhmUI+DHBph875Rxw72uTB1c0gmCJE0aNeQGAGBnwp+jQBbVUrDZ6N0Djw lqrDACC8FhRT1E3/kuAKuRpcd6t7cXN4JBgs85o+DqfgQbWph+sarq/aty5oIsWTnG/3Cg RHwFRKK1sxjJt8GKmgBhJ+8JbqkG7kO0hdwbgOgdctnVPyUG72ftYTJRrQ3+DqstSKEI9i WMuBjkXwn+S7hdwsMILJxStEvLDLEwHa3jmOKrj6Xiq0wf0LF+3F34M2CqJGgQ== X-Migadu-Queue-Id: E9BBED6B5 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HhNpo0wV; 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"; dmarc=pass (policy=none) header.from=gmail.com X-Migadu-Spam-Score: -9.84 X-Spam-Score: -9.84 X-TUID: +ppXBskNLAqK i meant bulk. On 1/11/23, Jean Louis wrote: > * Nick Dokos [2023-01-10 20:53]: >> IIUC, you can use `org-map-entries` to apply the function `org-todo` >> (or a different function if you want) to a collection of nodes in a >> file that are specified through tags/properties matches: >> >> (org-map-entries #'org-todo "LEVEL=1" 'file) >> >> will apply it to top-level nodes only. >> >> See >> >> (info "(org)Using the Mapping API") >> >> and >> >> (info "(org)Matching tags and properties") > > Programmatically I can do it in many ways. > > I speak of doing it in easy manner. > > I am thankful for all people who answered, though I found solution: > > 1. Run Org Agenda on keyword. > > 2. Mark the items > > 3. Invoke "B" for bulk action > > 4. Change the state of TODO. > > > -- > Jean > > Take action in Free Software Foundation campaigns: > https://www.fsf.org/campaigns > > In support of Richard M. Stallman > https://stallmansupport.org/ > > -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com