From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 CIJ1AGy84GUFBgAAe85BDQ:P1 (envelope-from ) for ; Thu, 29 Feb 2024 18:18:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id CIJ1AGy84GUFBgAAe85BDQ (envelope-from ) for ; Thu, 29 Feb 2024 18:18:36 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=RN0EV8IB; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709227115; 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=bPZo4tBfSRxOQVfg7DO/FMgp8Eh0WPAu278Hy/paTpw=; b=hC9Kj0wTIWYBIgsf2810CanupPGIzjs3yHO8CQppoVMGOn4LmI+jPs3d8LE1g4P22V2Vrz XMtfJa86/kkE0VCTjy/X71QtVPgqUkkZ8S6hmjpQ0jw/e74iFolVSt6/s5Ii2kKtnkKJoB aSFFCeW5OZBQ21zvsEMUmu3FjK3LpbqHTtwlljuwliJEKZ5whu4nfYHRi09q7zLkZhpmqN rLQKSxb/1EfcZw/cpNFrvlN5MyPssqkenGG+X/OgvxaXOhFWwoX6UasxBHL0UNUMjafYMU gGAkZsbartmELibUunrExzil/9IwAGJeiOMzXBRT1x7MlxIynqw7IlUr3e6e5w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=RN0EV8IB; 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=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709227115; a=rsa-sha256; cv=none; b=VyqRT62emOI1ZyGmlwWHZgae9Muzu1xiPi0o3XWbpbe+UWmF7Xb7A/w0m5BAWEU+xFImfN zLGVVjdBo/9tY1qMds10cLD/2rRqdv3Azh8U6JS46a4b9b0TyXedDtmuYIUiUyIbMYyvNS hNG8VbW3s4IJBz2UmcwJsKBSPdgwY8iY7PWSqrSxQRUqIloDkVn0HdSwufEhi/qok4LBdi f2RzkEVgQosipKi5iC96cZcRq7laKIO6ZN7WnfBnanHUwVBRBgSuxk8vihTklFJAhO9F03 NtYGuieBhL2yoKVS6CoFVGCc/YZVSX+VpbtnISZl/cYDlDYwbYiqd5qJ+8rx4w== 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 AD6EF3A462 for ; Thu, 29 Feb 2024 18:18:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfk2V-0004s5-5y; Thu, 29 Feb 2024 12:17:47 -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 1rfk2R-0004rM-64 for emacs-orgmode@gnu.org; Thu, 29 Feb 2024 12:17:43 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rfk2O-0004J8-Gb for emacs-orgmode@gnu.org; Thu, 29 Feb 2024 12:17:42 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E2991240027 for ; Thu, 29 Feb 2024 18:17:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1709227056; bh=pwlmGJY7we+Xn3KG835xRufLT5JGRjJmP+cAs678O+M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=RN0EV8IBCf9ffvAQ0pNuKszkkg4i9a54w/bgDZXtr3NGJeeqgt+JtqAHcZAb1phSp 0VKWkPqnO4JPFYBYnIJFvQUHnxG0ui8m4ikX2HcbKgifcLScXcy1a0OBn8D3qyUYgg DV8xEvMfjxbN0jjhpl2x4bscYZURNUY0D18kXeovwr6/ipzM9TAbVkqihqF2K6X80b fIeSIIKfCB0LriZLEHc9FOnS+tl5GmcW+VbC5QW9SF2iWxIk+FZnQp4PPS6xzlb0rC 0lk3NdDn/hYX7Tvb1Wd2jHr5iHn01lFUgJ6bkEfMdAgxdBv0BcCXwO6ASC+r7TsDll Pb4eoNI/aecQA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Tlyb42q8tz6tm8; Thu, 29 Feb 2024 18:17:36 +0100 (CET) From: Ihor Radchenko To: Noboru Ota Cc: emacs-orgmode@gnu.org, salutis@me.com Subject: Re: Radio links work only in small numbers In-Reply-To: <86frxbb4l0.fsf@nobiot.com> References: <86il281rc6.fsf@nobiot.com> <87a5nk3411.fsf@localhost> <8634tcp717.fsf@nobiot.com> <87cysfo78x.fsf@localhost> <86frxbb4l0.fsf@nobiot.com> Date: Thu, 29 Feb 2024 17:21:26 +0000 Message-ID: <87zfvjmbjd.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: , 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: -7.98 X-Spam-Score: -7.98 X-Migadu-Queue-Id: AD6EF3A462 X-Migadu-Scanner: mx11.migadu.com X-TUID: hX/L9QoM78+T Noboru Ota writes: > - MAX_BUF_SIZE in src/regex-emacs.c is, if I understand the comment > around it correctly, 2^15 bytes = 32768 bytes. > > - `org-target-link-regexp-limit` is 2^11 bytes = 2048 bytes (?). > > - For my 5000 terms, (length org-target-link-regexp) => 103603 (what's > the unit of measure?) > > - (string-bytes org-target-link-regexp) => 103603, the same number. org-target-link-regexp does not matter in this case. For this long regexps I introduced a new variable org-target-link-regexps that contains a list of shorter regexps. This list is used instead of org-target-link-regexp. > - If I evaluate the following to try to get a compiled length of the > regexp, 88785. By "compiled", I did not mean byte-compiled. Regexp compilation is a completely different beast. It is performed by Emacs C internals, converting string regexp into representation used by regexp matching code. This compiled representation is not exposed to Elisp. If you want to learn more about regexp matching theory and implementation, you may check https://blog.burntsushi.net/regex-internals/ -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at