From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EIOoGaM1nGDpxgAAgWs5BA (envelope-from ) for ; Wed, 12 May 2021 22:08:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4KxnFaM1nGA2NgAA1q6Kng (envelope-from ) for ; Wed, 12 May 2021 20:08:03 +0000 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 D710516C69 for ; Wed, 12 May 2021 22:08:02 +0200 (CEST) Received: from localhost ([::1]:60196 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgv9F-0000u8-4p for larch@yhetil.org; Wed, 12 May 2021 16:08:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgv8D-0000pA-UP for emacs-orgmode@gnu.org; Wed, 12 May 2021 16:06:58 -0400 Received: from pv50p00im-ztdg10011301.me.com ([17.58.6.40]:57292) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgv8C-0000yF-Ag for emacs-orgmode@gnu.org; Wed, 12 May 2021 16:06:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1620850013; bh=5WefVsuslcvQl3G2mvFMAyd7RhIfLmEltTevALOswWI=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=VLkHAuALrj0N4zVa8td1MlaP6IeRsq5UfGhFyk4DX9T04kWqAMvO8WeITh4XpYvfB ziy39HaUANzejrPsZVKTqOYvgCS+qX2n3PkEMJ3S1WALaWQgUAl8DjlOGXoaE5RUb8 huHGV6gtKHjPrsrAnWifBvCbIY2Mvt23zXWCRaBbY8+OVbYTaTo3PGo1kFV9Z6ddEJ 9O2LaTo7L0SZkhXkW35YVgxavJHZzAuNr2/umqINut6++BSvf9cgIlIGOHZc8N9ssl +IWmn0vISl7/EhZvCy4TBuRmjVcnesY/QgW8jvPAcsZvcp11uhvASSTk6Tk7oXE+zi W2SpJ1gIdyXhQ== Received: from Workstation.local (78-141-116-131.dynamic.orange.sk [78.141.116.131]) by pv50p00im-ztdg10011301.me.com (Postfix) with ESMTPSA id 29FA87603E6 for ; Wed, 12 May 2021 20:06:52 +0000 (UTC) From: =?utf-8?Q?Rudolf_Adamkovi=C4=8D?= To: emacs-orgmode@gnu.org Subject: Re: URLs with brackets not recognised References: <87lf8k2yr6.fsf@yandex.com> Date: Wed, 12 May 2021 22:06:50 +0200 In-Reply-To: (Maxim Nikulin's message of "Wed, 12 May 2021 18:58:35 +0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-05-12_11:2021-05-12, 2021-05-12 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=508 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2105120131 Received-SPF: pass client-ip=17.58.6.40; envelope-from=salutis@me.com; helo=pv50p00im-ztdg10011301.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620850083; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=5WefVsuslcvQl3G2mvFMAyd7RhIfLmEltTevALOswWI=; b=Z85WDdB5PsghPTxO54ald4ZRDKx7z5YKVB/UY81pOdhGitAncMrR68dvOP43nK2QPZa2oB FbP4YKYLms1AdLVf1L0NsUMV4YRG3CUjgVJPqsMIRfmgqHXvXJdRcvWc83jNrHiYNRxDzM TOxlNDr9wnJ2CLKY7FD1+/HUOCmoDX3xZHCUrs/2m4EoF7ZsPTpCcedgIMXmX/FNwFfBSZ 8WZhM/WkzpKd9tCoP3TTRSaj/IgleQ7KaS2Lqok6aLezWmv3VNg+uViqRFSFMDVgsfqzNJ Uoz7Il8L9+YmZKkSFNs+L6VyPdObFwRSrg86xmjncm/A7Rna9aEe7hcUXcNmtA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620850083; a=rsa-sha256; cv=none; b=GvTEYTfG5Be0IORPbTr0sEEYsm3EqQNCNWCcvSmQSRRSkErmkK3tgYF9+B9NhxwVhGj+aP CLkOSh/r3h2G46nHXhQHxdEKoDEKg3OnSHIAySSIXa/BRp5dmddN5gkec3jkCey9XiHbEF KJj4BYzZpqcYGuT+xtrhHVzqh3PS2tk3XsK1x4fwstBpncbOM7Juu/aTB5lW9RXmJW82tZ GVkXMnmrK0w1mX8YC6WZHQol6PkAF+iqJv14Fip79TchEnkDWYThoTCsdjRnRBVAkEycT7 mRRLY29ewoeajeW+xbOaHq4/z2dA5VlPpU1Td0+xDDN5h/qSYo/m9KXQPE6Glg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=VLkHAuAL; dmarc=pass (policy=quarantine) header.from=me.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.15 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=VLkHAuAL; dmarc=pass (policy=quarantine) header.from=me.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: D710516C69 X-Spam-Score: -3.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: heY3bWbvcVra Maxim Nikulin writes: > I do not think it is a bug. Plain text links detection is a kind of > heuristics. It will be always possible to win competition with regexp. > Consider it as a limitation requiring some hints from an intelligent > user. I disagree. URLs are well-specified. Per RFC 3986, the characters allowed in a URL are [A-Za-z0-9\-._~!$&'()*+,;=:@\/?]. Org mode should implement proper URL detection, not asking its users "to give it some hints" and using "a kind of heuristics". A string either is a valid URL per the relevant RFCs or it is not. -- Rudy