From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GJfPMKZg32VF/QAAqHPOHw:P1 (envelope-from ) for ; Wed, 28 Feb 2024 17:34:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id GJfPMKZg32VF/QAAqHPOHw (envelope-from ) for ; Wed, 28 Feb 2024 17:34:46 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709138086; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=rLc5JkycDNvEFV0cwoPhloV4FoNLBNwXbFejE4ZU9H0=; b=LEsHeSgMQ7v4FivdxtXT+JRTMzaX7dzlFQCvHbRdWXBE90obd4x5qXAhshutQdGGcpvYlF pUqFCP15EUca5YUjfXuomqQb+ouwhfTvAR02Fj3vdyr2p4ndH3Kl09RknjWbPDGfaHnkbP Rv3E7IN3kYc1rFMVmpRY0hM6VnPAhNTwWSzumRk4V7ffiyxHdd/0985BRGvXNV+TptjTQL fiXKHAQyhduhGVdi1ptjUFRQf+pcK+wAPrxd9OnDtlI4qY4eNeE0rnHOCX4yR778GwSNDJ sIQkVKy7mXx/IrKUvkhTeDPJp+tU6aEz/U6CwIJEazFlS3j1K/1t1PN0d9Bypw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709138086; a=rsa-sha256; cv=none; b=p6tYGMCAZ8NxZCPkDAiyWFLSod8gdzuWZangVW2qgvgMN+uN/t2JZNs5Q0iCro46vAoSuc 33S0T3tmp7mrAb9RcYeNWdOErGxYFt8QFnE/lkl/Z5YS+TaPFzAVaCZoZYPEyJEXyMYCpb JvrgvvQ09JhTeu4ExDmaGPRwQO+BKlFkJ0ddpVAfKOuQQ0J5nUJw9rzjCDi4SSCzz7tJSP Fx+2oHomxgReS03w10TtcZm9BWbCHO5UasT23qa4e7+TzIn4Jw0yG5B3fV856y7Supxn6q o7/b+N+2kIZTyQD+NyY/b/cOweIl8Cv3sQNNiWpRe/NQbgcbBoj++enpPktpTg== 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 6BF33583E3 for ; Wed, 28 Feb 2024 17:34:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfMsG-0004Vk-IG; Wed, 28 Feb 2024 11:33:40 -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 1rfMsF-0004VU-Cv for emacs-orgmode@gnu.org; Wed, 28 Feb 2024 11:33:39 -0500 Received: from outbound.soverin.net ([2a10:de80:1:4091:b9e9:2212:0:1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rfMsC-0003LD-Mo for emacs-orgmode@gnu.org; Wed, 28 Feb 2024 11:33:39 -0500 Received: from smtp.soverin.net (c04cst-smtp-sov02.int.sover.in [10.10.4.100]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4TlKff6bQxz5s; Wed, 28 Feb 2024 16:33:30 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net (Postfix) with ESMTPSA id 4TlKff229FzF0; Wed, 28 Feb 2024 16:33:30 +0000 (UTC) From: nobiot To: yantar92@posteo.net Cc: emacs-orgmode@gnu.org,salutis@me.com Subject: Re: Radio links work only in small numbers In-Reply-To: <87a5nwhkjq.fsf@localhost> Date: Wed, 28 Feb 2024 17:33:29 +0100 Message-ID: <86il281rc6.fsf@nobiot.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a10:de80:1:4091:b9e9:2212:0:1; envelope-from=me@nobiot.com; helo=outbound.soverin.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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: , 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: -6.37 X-Spam-Score: -6.37 X-Migadu-Queue-Id: 6BF33583E3 X-Migadu-Scanner: mx11.migadu.com X-TUID: VhI2zWozfwn9 Hi Ihor, Rudy, and everyone, > May you try the attached patch? I would love to help this patch move forward and would be happy to try the patch, if this is not going to waste anyone's time: (1) I took the liberty of creating two test Org files we can use on sr.ht: https://git.sr.ht/~nobiot/org-radio-links-patch-20240228/tree The two files, `500-terms.org` and `5000-terms.org`, contain 500 and 5000 radio targets respectively. Both files have two H1 headlines "Definitions" and "Body text". Once you open the file, call `M-x org-update-radio-target-regexp`. For 500 entries, radio targets work beautifully; for the 5000 entries, I get 'org-element-context: Invalid regexp: "Regular expression too big"' error. (2) I am struggling to apply the patch cleanly to the current HEAD of Org-mode source. I git-cloned the source from https://git.sr.ht/~bzg/org-mode (commit 755fef38f Merge branch 'bugfix'). Which commit can I test the patch? I'd appreciate some guidance here. I use Magit and use "W" -> "a" -> "a" to apply the plain patch file. I "get error: patch failed: testing/lisp/test-org-element.el:2378". If I delete the hunk in the patch for test-org-element.el, I then get "error: patch failed: lisp/org.el:5705" on this latest commit. Kind regards, nobiot