From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mAX/ElarT2OgagEAbAwnHQ (envelope-from ) for ; Wed, 19 Oct 2022 09:46:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uMMcElarT2MSKAAAG6o9tA (envelope-from ) for ; Wed, 19 Oct 2022 09:46:30 +0200 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 EE9769CB9 for ; Wed, 19 Oct 2022 09:46:29 +0200 (CEST) Received: from localhost ([::1]:47268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ol3mX-0004NA-55 for larch@yhetil.org; Wed, 19 Oct 2022 03:46:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ol3lN-0004Mr-7C for emacs-orgmode@gnu.org; Wed, 19 Oct 2022 03:45:17 -0400 Received: from [2409:8a28:603a:44b0:52d2:f5ff:fe16:c591] (port=58042 helo=Mac-mini.local) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ol3lL-000367-0e for emacs-orgmode@gnu.org; Wed, 19 Oct 2022 03:45:16 -0400 Received: by Mac-mini.local (Postfix, from userid 501) id 2AB93692CC24; Wed, 19 Oct 2022 15:45:05 +0800 (CST) References: <87sfjlg16b.fsf@localhost> User-agent: mu4e 1.8.10; emacs 29.0.50 From: "Christopher M. Miles" To: Ihor Radchenko Cc: numbchild@gmail.com, Org mode Subject: Re: [BUG] Org mode does not recognize the last character "_" in URL link Date: Wed, 19 Oct 2022 15:44:14 +0800 In-reply-to: <87sfjlg16b.fsf@localhost> Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2409:8a28:603a:44b0:52d2:f5ff:fe16:c591 (deferred) Received-SPF: softfail client-ip=2409:8a28:603a:44b0:52d2:f5ff:fe16:c591; envelope-from=numbchild@gmail.com; helo=Mac-mini.local X-Spam_score_int: 25 X-Spam_score: 2.5 X-Spam_bar: ++ X-Spam_report: (2.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, MSGID_MULTIPLE_AT=1, NML_ADSP_CUSTOM_MED=0.9, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, SPOOFED_FREEMAIL_NO_RDNS=0.001 autolearn=no 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: , Reply-To: numbchild@gmail.com Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666165590; h=from:from:sender:sender:reply-to: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; bh=rGkitBgZqCdNqdfSqNgbZd1GPAgC6dZZaDLlJ2wzGpc=; b=GBY/6rjDRrIc4smOlh+IZA50rEqxs7zF4eexsP9VGRoGpbnpF4lVwTf+gR0s/6+s7gkRwM 4sS/K9nSMtFGl8IrnT/NaWjIB21o9G6XpjXmQ6RY9t/drlI7vFdBJjlXpc/NTiM+yZk4DS srMBfDNwkVwdhEgVsBNnfVdmJuxICzhOVwng4V9niD+mWjGeN+JH20/9+Z5Mwm09b707FB 0FVmwWojI2BI8GcR+VhrtR4CYNol4uOBcvoMILdhu7UPwrFcJy3iMH4aer13vlekOe7/uE kSqxJTCb3LRtxgHoKyTXlLUQ7Vd0A/HShIYe9NHJe7aEfUARkFWMpUMqf9JVAA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666165590; a=rsa-sha256; cv=none; b=NoSQekfGeOBsfoDOrU/tdC3MCaTDeoQmUxcEHzrCkv0tZo6a97u0iYSkVocIy09AOIxGmB 6DxMiAhxPZ/ZAmFgJKFIAHVDiOqzpFplgAHW4Na+rlryPVa58DEN9XhhZxte2SRT3fBpH0 m1XVJHMqz1UYE0eAy2cdkDP9biFLcMMLZxYIZKq+DYrZ7OCglsP0QYjYJiAvemyyAKMhgQ Tt307wa/IIswj9r7u4lgBYwj/msn2dxgshqBrhdfEoXhEtoKDBK4Zqp72OBKGmTN3eCzuJ /D6C3oy1UbW9Se7kFyXz6WVbfWex+E2RpGPGdGKj9OylpPgNlpIFItAWNgYn1w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=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" X-Migadu-Spam-Score: 3.17 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=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" X-Migadu-Queue-Id: EE9769CB9 X-Spam-Score: 3.17 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5yRoKUZ+3P8n --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> When URL has a character "_" at the end, Org mode can't fontify the URL >> link correctly. >> >> For example: >> >> https://www.twitter.com/example_ > > Plain links are tricky. There is no definitive regexp to catch all > possible links. We use heuristics. > > If you see anything we can improve in org-link-make-regexps, patches are > welcome. I have checked out the function `org-link-make-regexps' source code, the regexp is hard to understand for me. I will study it when I got time to figure whether I can improve it. Thanks for your hint. =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----- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAmNPqwEACgkQG13xyVro msPiagf/brxilDVCDe+UyUdGxBW8ivafu/0DahM+idjo/HDZ8gSo7T6eAANDcSJp C9pHY019N3CCOmou8CUx6xSVaC1R4Zif4qWFanjiRIhYpl8LbOUerd0W0WX+IeLj p21GIOpinMD3F5BrMuQ9T5tU+cEGdSxu8SAzeQBeEMUfquYLCq6FdPiQbRC6/nn5 2VNQg5gdY9IHDq0A3VOUVdWh1hDhXwY1gqJtzOxb832okvIhoWGreYzgDML6rA92 /sIMURDUF6mGov7zmEJfhdICcwWgz+XuEq7L6/eTeaOlz/8A7377S17lJVQgT6vg YhZfOWCTh+cfiEAKe8X9zjmFKPA2oA== =0rCU -----END PGP SIGNATURE----- --=-=-=--