From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MCOmM5oLyWUfIQEA62LTzQ:P1 (envelope-from ) for ; Sun, 11 Feb 2024 19:02:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id MCOmM5oLyWUfIQEA62LTzQ (envelope-from ) for ; Sun, 11 Feb 2024 19:02:02 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=martinmarshall-com.20230601.gappssmtp.com header.s=20230601 header.b=tCsHpjAH; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707674522; 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=9EGtUB/yN9vHF6jTIDb1MmRgxmnURpP8+m9s9ZuI3Vo=; b=cz/sKTKNQkMs0w0WjhG3uIbzsO/s9Jp5xKfr3dcEYMwFRwTv+7/V9iTYKtgDoxFjjI2Hhp M+Q+BcbHwdqxmNbr4uxP/soPrKzXfMUqdGpjd508qvD9tKuqZNzmSJlJvdcHwBFAa7b0QP N6i8N4Q9aBvmNgmopub2ye9VCMsx09Uhg+OnHBurzpwgrpF26hQkzpKLmEJDVkDCmijgrb MTCtQ+rodn5pwathzEueoWNm4nvqlUWjD4W0f9Ue/KHAF1F9CI/QIwHzZ/a0X2BJnVVbRV tYiy4JEjkojUDvuJ9Wxja8Vj0qMdqg4KIKiLGzaFCET7AyyPpcS2ejdtKZeOOQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=martinmarshall-com.20230601.gappssmtp.com header.s=20230601 header.b=tCsHpjAH; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707674522; a=rsa-sha256; cv=none; b=e6oCAmYSGEeKKBlci3WbD/1QHLZB+KXZlMYb0xPXWiutIvr4RHTd+1tqCjH5zcAmJ5qqc+ OmWoBWpjwfsf7ZXe3RgEU7N2/By/cqcyju4gg4MiqxUtMAH6lX97stASCCQ+q5AvpHrWPn rIDMK1Zm1r4Bu+ka3bm2Qp4AXSZb4uBD7ViDOxs+IN3jmV/ju2D6vCBaz5ODB/vsGPtFiu txXcmm+Dj8eNhhe6/dnusQWX1DmipuuWq/a+cDCY3cbvkhaRplstNJVL5/b6JRu/dwMh7h OWVbiY7tX5PBNL+R8Y400FNZje7EfjlrecQ2oj6qqOTzUuEFxUojfzPjmXdr7Q== 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 C074724AB2 for ; Sun, 11 Feb 2024 19:02:02 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZE8U-0000go-5e; Sun, 11 Feb 2024 13:01:02 -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 1rZE8S-0000fa-NH for emacs-orgmode@gnu.org; Sun, 11 Feb 2024 13:01:00 -0500 Received: from mail-yw1-x112b.google.com ([2607:f8b0:4864:20::112b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rZE8M-0003Ly-9o for emacs-orgmode@gnu.org; Sun, 11 Feb 2024 13:01:00 -0500 Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-604b23d91afso27503257b3.3 for ; Sun, 11 Feb 2024 10:00:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=martinmarshall-com.20230601.gappssmtp.com; s=20230601; t=1707674451; x=1708279251; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=9EGtUB/yN9vHF6jTIDb1MmRgxmnURpP8+m9s9ZuI3Vo=; b=tCsHpjAHad7j6ov7WIKx5xz8L5FT2AGhVGF5l/UVd6v/5RevYZaXFSPSVA4M6XrAsk xHQMW/tC/3/seIH0RtFduasO6R4Al+DgT77+/uJWSrYiOBEeJjpT6NjSSbte6pOvKF4U 2ZagOlqi1tSBffGC8I/Q8r7ErtFR8YBeYcZIZ3WWoYBU7XGypFFDwXf2ZkxvAef2MjY0 ZTS3n+Vh9XYiK60gCjRdBBUauWxoXOwNPjVoEFH1hccWeTnD/bjEBXg/UqMO66nSW/Q8 AztmifstBfJQglqadJnm6NB53nX0I4vpxV9PivfyF9Nsbm0OC1KWz1CWIEu8+Qt+GKtQ 4GoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707674451; x=1708279251; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9EGtUB/yN9vHF6jTIDb1MmRgxmnURpP8+m9s9ZuI3Vo=; b=fM/91cqArU+cnZumN0ySvO79YWqHeEU4d3bBMmTGyHQnKn4Z7hRc87iP5Jr6VlizSz 2QJ9A9ndPNQxnQVHrdGGHbWIunJ0C487nVlIAmfIzFtLbFdtNw9JFWzoG+pA1Zbu6blq 9OA6UrGD44Ii1PwPOIZzD1vFyv1XmA1QMUTnTEw3hiU7qAoEGyZB0AxXMs588RW1/x/J Y/v1OP//qK/uD+3C1+PoVQ6u32XgRM07jhHWpYiWm2/J3dB5XDo03ZmxoEh1UMd3Scgd LA0N6ht235TpHRqIj14hTflfgxUAs0lTrs2ZiiVow4v+nYM5WzQ33jKpk7twbjTSHBzB DmKQ== X-Gm-Message-State: AOJu0YzQFK7UEJg77b89vgbG87rne30E242gswFVK9LIXoM7nuNA2Xth /sA0pOhrlC3rfVj0s1tGOJZAe6Yd6bGgerTc4U5/6KoLM2BWvR4wNCv9XVkNI6d5eOqyf2ejhf8 = X-Google-Smtp-Source: AGHT+IGSHJS3FcKtVqZdyO0Dz5NMQ3SXUPrPcmcdsK0LlM3IP3V3idux6gfrzlgDCWGmz02kuBUjGA== X-Received: by 2002:a0d:d4c3:0:b0:5ff:7a72:3496 with SMTP id w186-20020a0dd4c3000000b005ff7a723496mr4584322ywd.12.1707674450956; Sun, 11 Feb 2024 10:00:50 -0800 (PST) Received: from vader (68-252-220-225.lightspeed.tukrga.sbcglobal.net. [68.252.220.225]) by smtp.gmail.com with ESMTPSA id b200-20020a0dd9d1000000b005ffb5525f1fsm831031ywe.24.2024.02.11.10.00.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 10:00:50 -0800 (PST) From: Martin Marshall To: emacs-orgmode@gnu.org Subject: [PATCH] org-ctags: Fix regexp to not break radio targets Date: Sun, 11 Feb 2024 13:00:48 -0500 Message-ID: <87frxylw33.fsf@martinmarshall.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: none client-ip=2607:f8b0:4864:20::112b; envelope-from=law@martinmarshall.com; helo=mail-yw1-x112b.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.31 X-Spam-Score: -9.31 X-Migadu-Queue-Id: C074724AB2 X-Migadu-Scanner: mx12.migadu.com X-TUID: KUphmmdV2+Bx --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-org-ctags-Fix-regexp-to-not-break-radio-target-links.patch Content-Description: Fix regexp for radio targets >From 9b9e8ead6c175c76e4f37273a4e4f29b8e41b4f9 Mon Sep 17 00:00:00 2001 From: Martin Marshall Date: Sun, 11 Feb 2024 12:36:46 -0500 Subject: [PATCH] org-ctags: Fix regexp to not break radio-target links * org-ctags.el (org-ctags-tag-regexp): Add left angle-bracket to excluded characters for tag text. --- lisp/org-ctags.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-ctags.el b/lisp/org-ctags.el index e56ed9cd8..6431a2765 100644 --- a/lisp/org-ctags.el +++ b/lisp/org-ctags.el @@ -149,7 +149,7 @@ (defvar org-ctags-enabled-p t "Activate ctags support in org mode?") -(defvar org-ctags-tag-regexp "/<<([^>]+)>>/\\1/d,definition/" +(defvar org-ctags-tag-regexp "/<<([^<>]+)>>/\\1/d,definition/" "Regexp expression used by ctags external program. The regexp matches tag destinations in Org files. Format is: /REGEXP/TAGNAME/FLAGS,TAGTYPE/ -- 2.39.2 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable This updates `org-ctags-tag-regexp' to avoid adding broken entries for radio targets in the TAGS file. With the old regexp, org-ctags would add radio targets to the TAGS file with an extra angle bracket at the beginning. So a target of "<<>>" would be entered in the TAGS file as "