From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 4NYSIiNTEmbIkgAA62LTzQ:P1 (envelope-from ) for ; Sun, 07 Apr 2024 10:02:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 4NYSIiNTEmbIkgAA62LTzQ (envelope-from ) for ; Sun, 07 Apr 2024 10:02:43 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=gyOGevR5; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712476963; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=VzdO/UUPEUBYKrCI2WPJkRAf6APBI9uiNH3zA+BHFOI=; b=eEVz2jMONOHykbsBezhJdgR6JQkHO9KlMx+GGbP4ilKox4ribxJlYC/l+xU8+KvYdI+uXQ d63k40cn20rUf0vpW14ZGbZyEY7roGES+/zMq64m7lwyeoBbRbSDfBHeF05K97x8373u3G 49wJ7XINKcwDp53T2s1GRAob3xpbW/qHFOp8mCvNbB4q6cXUQRBGXYhwTRnXQNvviHZGhR 0F0hKrdXhdm5oxEt7lq76D5PL8z28S5qljq4hm13bqCbNGT5p45TGnmJA8SUJ2itrdez8/ wUH3C4PkorqyB0UB9E33uviEPngyZp8I0sXYXx/u1anmQY02RSmLbg2m9P0rcA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712476963; a=rsa-sha256; cv=none; b=QB+e5Vxu5hwGjscZjW6++Rhob5Fo46WK0Ww1ZNKRmBxOWX/xVcaRVyI5ZxfvUdMU/YxNK2 BXI4quBGJuvRNQpuY/i6O526Jag7b0Uhop0MJFZO6q48/KTjyvUaKdhnHJxDll07jSwHf2 Qa5IOIWMePGD/Y/Euqz0JeUroxu8CFgDJV8garzbHN2hcG3X2abaP3pg1Ckjp9RzgBKp1v ZWQ5lSulcCNDic23kUcRhGkKvfL6y3harRiJXCAYK+LbdD8PiQvBDABDC0iInKLtdK5rA7 OeWxfA1leEP7yX16U/opJ0L4XCVzzP89y9+w1Hxa8tUtRqFo83Z5hTlr5psvuQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=gyOGevR5; 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 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 3DFA039E0B for ; Sun, 7 Apr 2024 10:02:43 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rtNTG-0000Fl-3D; Sun, 07 Apr 2024 04:01:46 -0400 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 1rtNTF-0000FT-3C for emacs-orgmode@gnu.org; Sun, 07 Apr 2024 04:01:45 -0400 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rtNTD-0007ka-Hz for emacs-orgmode@gnu.org; Sun, 07 Apr 2024 04:01:44 -0400 Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1e3e84a302eso3989325ad.0 for ; Sun, 07 Apr 2024 01:01:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712476901; x=1713081701; darn=gnu.org; h=mime-version:date:user-agent:subject:to:from:message-id:from:to:cc :subject:date:message-id:reply-to; bh=VzdO/UUPEUBYKrCI2WPJkRAf6APBI9uiNH3zA+BHFOI=; b=gyOGevR5VMBXLB0/5UA7NjFcAOk3BvAeNdewk7FmsmAuh/KPh/5ZeZFANIEmwIpjPm tSStLB6syXvqUhhPmwQYZUWUAlQno+aYTE5IG1N7fhwF1VpZtWvghlwSHK1F+vDd5Hsn W6uNQ5n8+E9etskhbO+/XSlSfyjPQmJykdbwT9NiHIxjJQ0ZVBnQ6coVSfV16UmUCR7+ ePaed4r7w3JVDOjJ+1wZBcoICpiCQM2B2ZNZIsBiFU6N25Bw6DI9GL1cYoyCVm7xKI6U bH5i+2QjQniEwjkJ9GGetjlpdb674XJ+PJKMXtYa0+xiOy1A1Yv7stDKOmnW6puZKTV+ hnMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712476901; x=1713081701; h=mime-version:date:user-agent:subject:to:from:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=VzdO/UUPEUBYKrCI2WPJkRAf6APBI9uiNH3zA+BHFOI=; b=nsqxFtcsnH4ZdPhHJYmXqwxO1BawNB3t9ny59p4F2wR3na3esUHB6xbf/pvCLko2kD P7fxdxjO0I1cIFR6vdpa8Dbh2S1TlCHw+I6LHIXxVDPay/lUHEd8ZDhOO9WI/tWR4xOS IdnrDr4CJAJRx5XqW4E3Xk/9XgGxs8HL0ciGARx2OJ5SSsX8t6FxB1fmNVNQWG0xgPeU cB/19MEXLYsjaVR2xVhVeiOQmBPileTOWwkF5DJEG0bD5ZG2IaPD5SxMQVabHEavlKZ4 Y1qR8d9WMGHNsuQznrFYSM/lFtNW21y04laCeVQAn5MPbrngiAfOMrkDhHEbvcpElJP/ TeJA== X-Gm-Message-State: AOJu0YzRWfC+BARJoYzgheDIHFlifXDVARvzeqz/h8FMVkleEgA1VutL u7nrefX/SLNqEMeG+q0RpHwNI4toDQ/nZMmFvJenehWHNRc24Jo+1GgLsyKIUw== X-Google-Smtp-Source: AGHT+IGD9yxlTHl+Yv2qrDCp5e6NNeEzBFow+PnJrapigtJZX9X1cevidiTi+X0trayxe1QaYBUK1w== X-Received: by 2002:a17:902:ca03:b0:1dd:5f85:118c with SMTP id w3-20020a170902ca0300b001dd5f85118cmr4933471pld.62.1712476901084; Sun, 07 Apr 2024 01:01:41 -0700 (PDT) Received: from Mac-mini.local ([39.171.198.193]) by smtp.gmail.com with ESMTPSA id w22-20020a1709026f1600b001db717d2dbbsm4553557plk.210.2024.04.07.01.01.39 for (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sun, 07 Apr 2024 01:01:40 -0700 (PDT) Message-ID: <661252e4.170a0220.59420.c9cb@mx.google.com> X-Google-Original-Message-ID: Received: by Mac-mini.local (Postfix, from userid 501) id E4038CB37478; Sun, 7 Apr 2024 16:01:35 +0800 (CST) From: "Christopher M. Miles" To: Org mode (mailing-list) Subject: Let `org-element-at-point` or `org-element-context` return element type "tags" when point on tags. User-Agent: mu4e 1.12.2; emacs 30.0.50 Date: Sun, 07 Apr 2024 16:01:32 +0800 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=numbchild@gmail.com; helo=mail-pl1-x632.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, MSGID_FROM_MTA_HEADER=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 X-Migadu-Spam-Score: -10.51 X-Spam-Score: -10.51 X-Migadu-Queue-Id: 3DFA039E0B X-Migadu-Scanner: mx13.migadu.com X-TUID: ZTeqU14A6mkP --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable When I move point on the headline tags position. I evaluate `(org-element-at-point)` or `(org-element-context)`, both return element type is `(headline ....)`. I hope those two functions can return more explicit element type like "tags". I tried to find this type API function in existing functions. But I have not found. If someone knows, please let me know. I use this function to detect whether current point is on tags element. I try to write a simple extension to display tag explanation info through eldoc. =2D-=20 [ stardiviner ] I try to make every word tell the meaning that I want to express without mi= sunderstanding. Blog: https://stardiviner.github.io/ IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAmYSUtwACgkQG13xyVro msOlJggAofICR8gofq42fpkUZ/qBr4A3fDGSfqEx8eBG3JvHYE7+g/EmDOYDSNHO w7GOV4ZUDdCt5mtSFu6JeYMaYO1xdBktXh1AK3kTIm+BBvs/6jMdWsHPP/N7bPTN Q/DEiqK6oS07VWLCGCJ+r66JXAasRb2zj2YEJrIlWvo1ZE3vQ7aMtBiTI7PW8eO8 j0UvMTycQAf6UOY0lCkkflIA/YxfFK0ELwto8CsIt0I9skrt5ZdLnCOodqu+C5QX YjCeYw4dg9Tr7g7xsVwiqbDguk1xcJwixwIVKhvXrPptoUrpEWWzf1B+vUa7EQfa 3iGLxioUgx9XG8EpBxDumjXMJc31QQ== =uqsU -----END PGP SIGNATURE----- --=-=-=--