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 ms8.migadu.com with LMTPS id wO5sJU+14GU/0QAA62LTzQ:P1 (envelope-from ) for ; Thu, 29 Feb 2024 17:48:15 +0100 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 wO5sJU+14GU/0QAA62LTzQ (envelope-from ) for ; Thu, 29 Feb 2024 17:48:15 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; 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=1709225295; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=0xmWYcpPbOtXM/gQ+kGMuLmazvAa9fY7qJHbvdoIhFE=; b=CeLmvfoSzXPkPkWED3OOXAahrykvXStfoIcHq1Rii9Ct+WAlKEay38DxjUe/2FE1p4hKSz 1qiWooAP+xufhhBQWERjJKG2UdWUVNGa+S5hoZTdR3We/g28NfQGSUB8uXzhj5mkBZCC89 5QT7+K299dY2irhmRwPwgE5VeBF+UE5O1lynjLqK8UGIda4nUs0zhi05/pJhioFWVQChWG 7F5/oBdfzqTI7V8Ogf4yTQIYivNs4ohMzPm78s5ysaT6XVsn2MH4j0eY2PUbE657kpbrac +OUKrh0RW9rBcLFqF16hhpZpHYPNyf4Q0HDpw999wHEogGe14SXByc8CPcwAhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=1709225295; a=rsa-sha256; cv=none; b=ifkx/08Mdj2+LdSi148XWboenD+Bn8gznRxm5RdeGbh29KfB8JptbIMXgaKVTfbyADcOML mpuKzEK/5T3JvfYPYLAGirlNczib+4kFC2ZDdcYxkNNuBthn7rDbpVkB7P0ysdlgLlvVxi YSXMeaAt5O++EeIb75IXty5GTQSqCykNGjDvpOWmejJLyIw84HNUVrCTNI5UUGpggGqGAN +gR//pzdwVLhnOu98d8U3LTN4LOD4u51JkUzL54uL7HbvOa9td8kVSlIOnfdZ/MDXX6RUP SEhHAT3e6qTF9yE3ORnamqwBt9gTodxOTtnC7JUdxhYW2myrJUOuW28KQk3COw== 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 41FF61685C for ; Thu, 29 Feb 2024 17:48:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfjZ1-0007Y4-P5; Thu, 29 Feb 2024 11:47:19 -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 1rfjYz-0007X0-96 for emacs-orgmode@gnu.org; Thu, 29 Feb 2024 11:47:17 -0500 Received: from outbound.soverin.net ([185.233.34.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rfjYx-000419-C6 for emacs-orgmode@gnu.org; Thu, 29 Feb 2024 11:47:17 -0500 Received: from smtp.soverin.net (c04cst-smtp-sov01.int.sover.in [10.10.4.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4Tlxvx1n9pz5x; Thu, 29 Feb 2024 16:47:09 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4Tlxvw42Bnz35; Thu, 29 Feb 2024 16:47:08 +0000 (UTC) From: Noboru Ota To: Ihor Radchenko Cc: emacs-orgmode@gnu.org, salutis@me.com Subject: Re: Radio links work only in small numbers In-Reply-To: <87cysfo78x.fsf@localhost> References: <86il281rc6.fsf@nobiot.com> <87a5nk3411.fsf@localhost> <8634tcp717.fsf@nobiot.com> <87cysfo78x.fsf@localhost> Date: Thu, 29 Feb 2024 17:47:07 +0100 Message-ID: <86frxbb4l0.fsf@nobiot.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.233.34.18; 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.50 X-Spam-Score: -3.50 X-Migadu-Queue-Id: 41FF61685C X-Migadu-Scanner: mx13.migadu.com X-TUID: IVDkAM78ObZs Ihor Radchenko writes: > Thanks for testing! > Applied, onto main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3D341a01a= 07 > Fixed. You're very welcome. This is amazing. Thank you so much. I have rebased the source to the latest main and also tested with 10,000 dummy entries. The target links still work! > See the docstring of `org-target-link-regexp-limit'. The hard limit is > MAX_BUF_SIZE in src/regex-emacs.c, but that's after the regexp is > compiled (AFAIU). So, the real limit is smaller and may depend on > regexp complexity. Thank you for the detail. I do not need to understand all the technical detail here, but for future reference and if you have the time, let me ask this -- please try not to waste your time answering. - MAX_BUF_SIZE in src/regex-emacs.c is, if I understand the comment around it correctly, 2^15 bytes =3D 32768 bytes. - `org-target-link-regexp-limit` is 2^11 bytes =3D 2048 bytes (?). - For my 5000 terms, (length org-target-link-regexp) =3D> 103603 (what's the unit of measure?) - (string-bytes org-target-link-regexp) =3D> 103603, the same number. - If I evaluate the following to try to get a compiled length of the regexp, 88785. (let ((regexp org-target-link-regexp)) (with-temp-file "org-target-link-regexp" (insert regexp))) (byte-compile-file "org-target-link-regexp") (file-attribute-size (file-attributes "org-target-link-regexp.elc")) - For 10000 dummy terms, (length org-target-link-regexp) =3D> 228848. The numbers I get seem to be much greater than 2048 (bytes?) and 32768 bytes.... My test with 10,000 terms is more than sufficient to cover my needs, so please do not feel obliged to answer this technical part -- someone else might want to jump in to help :) =E2=80=93 nobiot