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 IPVMB6GzamI3dgEAbAwnHQ (envelope-from ) for ; Thu, 28 Apr 2022 17:32:49 +0200 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 qNk/B6GzamImeAAA9RJhRA (envelope-from ) for ; Thu, 28 Apr 2022 17:32:49 +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 A3EC310E44 for ; Thu, 28 Apr 2022 17:32:48 +0200 (CEST) Received: from localhost ([::1]:48642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nk68N-0006YI-4R for larch@yhetil.org; Thu, 28 Apr 2022 11:32:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nk5R4-0003YS-Jy for emacs-orgmode@gnu.org; Thu, 28 Apr 2022 10:48:02 -0400 Received: from mail-qt1-x831.google.com ([2607:f8b0:4864:20::831]:33744) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nk5R2-0007vT-Pz for emacs-orgmode@gnu.org; Thu, 28 Apr 2022 10:48:02 -0400 Received: by mail-qt1-x831.google.com with SMTP id hf18so3658725qtb.0 for ; Thu, 28 Apr 2022 07:47:58 -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=3laPgCBrGMPhu1ZVDb3CTUoPPrBAjo4PqSsm2LxEeaQ=; b=JRwfigaFxvLL/M6ymQYLMF1tuOGWTEbLjXzdDLMdRrv34m/2RArO2XVwsrEJg722b+ MPWb+8iyPYXAZ3HVQLcr2XfEPG19H9Wn0OG9+BCatGknTZcyZs9Pa0rQOmV9b1Lu6IkO cCoKN97M5/Mxz/j1193jo4G0O0rQSUQwsplAyD04fVSOynzVMWvl2M6P5L+6itqwmiNv ZMUNqeFGrMZLRTE7HvAbNB9IbyruDEdvlxf+IE6tlk5zue+bTqFTZSr7wRwhRtKHPvkm zVUl7yBr7tUncX11qsP0fzYtonQIKn1ZXoRDUSBUymTnixKytWq+/x84VeNPzWAKRLi3 sAdQ== 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=3laPgCBrGMPhu1ZVDb3CTUoPPrBAjo4PqSsm2LxEeaQ=; b=3mKR/jDsh6pS0oQLZ6toInykF4Gpj/i7ZBEoXAIywFiWw1Ka2aO8VdEebtMpNXDn8u HZ7vZzSm9O5A7e0oJEpzbtQ/BKshM+2jdMTib+JZTmQBaVIHwEDuPZkdPMYV7YV2cMo8 HG7ERzieIbYWVd5mdmXLypnIt7ygegYzsfxtyf+KhFjNdIb9zrSpbl0pIaz6Ct41/Zkn Dr1ZhtX2cTiz/aEW89szinQpvt8Ijk0j0C+t9BLLsIvpVw4+fvJXQdke7/mCQReV8k8c M+I2EqjCQJWHj6MwxDHJ/1FCSIMH78ZnpMAosXiWx/RtFUAy7fPv6/vh5Yb2em1oGC0+ tzsg== X-Gm-Message-State: AOAM533R+5jVucpZRvCYLZE53lYTxGNFkeQEW1yVZ0+QBaZ31L7jMutP XUJx/MO76vBz3n+u+wTXg2iSHOXfbFkM5Q== X-Google-Smtp-Source: ABdhPJzG5wFO8lN4iQNxT6hvTJ85DKa0QY8nn8KC7el8WWRwXN4pPeCws4+dQ/IgzJ07OHJlXuHIJw== X-Received: by 2002:ac8:5805:0:b0:2f1:f1fe:d403 with SMTP id g5-20020ac85805000000b002f1f1fed403mr23276577qtg.229.1651157277650; Thu, 28 Apr 2022 07:47:57 -0700 (PDT) Received: from localhost ([66.150.196.58]) by smtp.gmail.com with ESMTPSA id cr24-20020a05622a429800b002ed12cea2cdsm74402qtb.96.2022.04.28.07.47.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Apr 2022 07:47:56 -0700 (PDT) From: Ihor Radchenko To: Rodrigo Morales Subject: Re: [Q] How to get all the properties of the current subtree? In-Reply-To: References: Date: Thu, 28 Apr 2022 22:48:46 +0800 Message-ID: <87r15h6z75.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::831; envelope-from=yantar92@gmail.com; helo=mail-qt1-x831.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: , Cc: org-mode-email 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=1651159968; 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=3laPgCBrGMPhu1ZVDb3CTUoPPrBAjo4PqSsm2LxEeaQ=; b=J0/a8W7Ko5Vi6ko12esPQM+TysHOoJhedOXxk77AFMkm+BkjMz9OB3KQuRNxgdY/tKgGMA BcVkcjZ+J2zx1ABlIUTjiILapmVnp62RKGzyjKRQRWQ0LxVQ1+bGEV649kg+fgUUhaaGEq fmFU0sFDBep5/r1coHAAq4R01CW1GPtBdjR0ZTESUIXk/RmYrJjsuixKBI23XnSuG3Shyy ht1gVG3E6NErkGHbHZUoAWJwwFDS/htSFy4IUylz1bgbXNnoWnwiII/p7TuMm2f/LDNr+2 BnwGhHxY/09GNusArgeO7P2T/zOA6Nbl/gsBYo0n8CQGS1GLWfC2aAUFwSajOw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651159968; a=rsa-sha256; cv=none; b=sDtX0+a2rIyjVhvtBKnY65qiy823uGXGJIBXlLg61ga8vNXgHhjibLmyYQyDTFXeE38eQO 2X4IuWsedxj3yTI0MMqu8zls1xbZ+34DfPNPiqHhqXgbjiKHXPybFyJhrPG1Fw5TnuRj4r RfNV2BaiwuwjNYlX7WUfKOBD4YdWH+DhChTbyH+1jFMEQyse2GzPWSOyxBK8fZaa+c7eiT tWAcCFV6ea1juWWtk6ust/Kn54G4uipnv10qPSUH6k9vDr6i13ziRVOcRT4CdRHBotzyk3 AdN1asEcaLmBmLpq39Cr2MH9suso7Ftfn3yMlCpGnK77Smh48K9P+aml5diV5w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=JRwfigaF; 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.80 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=JRwfigaF; 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: A3EC310E44 X-Spam-Score: -3.80 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZrBEmVYkJiQL Rodrigo Morales writes: > My question is: How to get all the properties (inherited properties > included) of the current subtree? In the example shown below, I would > expect the following result You would need to collect property names by running org-entry-properties on current heading, it's parent, and so on. You can get parent headings as (org-element-property :parent (org-element-at-point)) in newer Org or using org-up-heading-safe. Then, you can run org-entry-get on the acquired list of property names. Best, Ihor