From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id IGIqMC71amZaUAEAe85BDQ:P1 (envelope-from ) for ; Thu, 13 Jun 2024 13:33:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id IGIqMC71amZaUAEAe85BDQ (envelope-from ) for ; Thu, 13 Jun 2024 15:33:34 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ice9.digital header.s=gm1 header.b=kF2b2sii; 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=1718285614; a=rsa-sha256; cv=none; b=Xw++Es3CG70vATZrUpwEJ84WjRcFXBIvKtGXV5qWvf7LcyYSb8cpEKSeqYjrCrjH3MCRqd RVR0LT6Umkmw8S4Kt9YTIvU14prxwGSxZ4yCiNpC2CPZVFOdcJ22jMCvoXZuAeEfJBhvWc P4oRww5LNxjS05XSwXxo/8YWJwcN9K1WQvX3TcHwDbgKNHUtQF2G3R3fGJfJgcaUsXIlu+ VQjQ2ZLkFaswQ3llkaza8oumsJsnXNCXUVEoLRNi+L7ZBbi+qAxvN4+kA9tJjGggguHLZj gj1qn6sXhkmKs2rwCAb7hB5d91PMyLmFdwtNLy8HxMb9AkQQ24XLG2gY/PwOXg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=ice9.digital header.s=gm1 header.b=kF2b2sii; 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=1718285614; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=CcmQiOgIlucrx2lSFz0RAdTzNIwPbfWjiW7NnIazHWU=; b=GJko4/9fbmX4IYWx1fumlMPfYbejugNWAu44k83evdEdwKsPlRO8ILiSw0jb+zrKeWav8t 738+sRU66UAvnK8h0Gru9VvyUlasqmvhSFJxWNEx5hAZAx1PLLwNJRv8GWkNobNPdj3Hdh BgdNRwe8AW+KliSoHtgW1Ox9nZT8UBW5m08nNqNfOBO6ZgCj5fQa4u01JOHyX4iF4pZTGR DFpEQzz5RWu0WOakgIbFzUvLm58Lg1/+LDspCn0jKucq2faIet452pZorp2Zh91fakZO7V YYjgEXBDM8QXi31XLRJrDQgkp16VmpEnzeJPQybSh4RyeS1yWW45AmFuoUbfbQ== 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 16E3963C11 for ; Thu, 13 Jun 2024 15:33:34 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sHkZT-0002Cj-EF; Thu, 13 Jun 2024 09:32:55 -0400 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 1sHkZR-00023Y-OL for emacs-orgmode@gnu.org; Thu, 13 Jun 2024 09:32:53 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sHkZO-0002do-Vs for emacs-orgmode@gnu.org; Thu, 13 Jun 2024 09:32:53 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 4C7CDC0002 for ; Thu, 13 Jun 2024 13:32:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ice9.digital; s=gm1; t=1718285565; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=CcmQiOgIlucrx2lSFz0RAdTzNIwPbfWjiW7NnIazHWU=; b=kF2b2siiXSjcRlIfTgs7e61/DvymP23pf+aD3FT5YM8uAgsmrAy+bU8eDQHPmWcuHnPVKv EbXaNf147kDrekd6edq3eBt4rGYXYGcCZ9qs21evnDeLbPkFRmgXRQneDronBo0lvl+zOz fg5/pj8IIyyqtc54nsu/mKRA2cCUfdaT7Bh626dmxRYUwNF60NyGe2HiGcr1J0U7Khpjm7 RNWKcCGPy6epGLm0rgAmyx5hSkRZh8zxzLbpj6R6VMvF1s8IVgPNe7sM6HStRybQQEIOdy bcJx+rwmxY8ruc/yUG4sMzyiq+4DqPKO2nuUwcU8BNtGzDzpQTXfmRq9St78Qg== From: Morgan Willcock To: emacs-orgmode@gnu.org Subject: [BUG] Trailing dash is not included in link [9.7.3 (9.7.3-2f1844 @ /home/mwillcock/.emacs.d/elpa/org-9.7.3/)] Date: Thu, 13 Jun 2024 14:32:44 +0100 Message-ID: <87sexh9ddv.fsf@ice9.digital> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: morgan@ice9.digital Received-SPF: pass client-ip=217.70.183.198; envelope-from=morgan@ice9.digital; helo=relay6-d.mail.gandi.net X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URI_TRY_3LD=1.999 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: , 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-Queue-Id: 16E3963C11 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -7.14 X-Spam-Score: -7.14 X-TUID: PSYOKESEQplJ Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. ------------------------------------------------------------------------ When web links are inserted into an org buffer, if the link ends in a trailing dash this seems to be omitted from the link target. i.e. Inserting "https://domain/test-" into the buffer will create a clickable link for "https://domain/test". These types of links will likely be encountered for sites where anchor targets are automatically generated from documentation headings which are questions. e.g. https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/how-to-connect-sso-faq#how-can-i-roll-over-the-kerberos-decryption-key-of-the--azureadsso--computer-account- It seems straight-forward to verify that the trailing dash of the link is not considered part of the link: (with-temp-buffer (org-mode) (insert "https://domain/test-") (goto-char (point-min)) (let ((context (org-element-context))) (cl-assert (eq (org-element-type context) 'link)) (buffer-substring-no-properties (org-element-property :begin context) (org-element-property :end context)))) Emacs : GNU Emacs 29.3 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) of 2024-03-25 Package: Org mode version 9.7.3 (9.7.3-2f1844 @ /home/mwillcock/.emacs.d/elpa/org-9.7.3/)