From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gPAoJUdE92Nf3wAAbAwnHQ (envelope-from ) for ; Thu, 23 Feb 2023 11:47:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sKA0JUdE92MsqgAA9RJhRA (envelope-from ) for ; Thu, 23 Feb 2023 11:47:35 +0100 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 03B2531370 for ; Thu, 23 Feb 2023 11:47:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pV97p-0004oa-KQ; Thu, 23 Feb 2023 05:46:57 -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 1pV97n-0004nv-Ia for emacs-orgmode@gnu.org; Thu, 23 Feb 2023 05:46:55 -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 1pV97k-0001Vy-H0 for emacs-orgmode@gnu.org; Thu, 23 Feb 2023 05:46:55 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 5D15F2403A4 for ; Thu, 23 Feb 2023 11:46:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1677149210; bh=nDVG6SfmQyVXjP/5vIHmc6MmXG5kacxHDajWC4IOfb0=; h=From:To:Cc:Subject:Date:From; b=onTK/7aXEbtFsoLf8OD5Ay2Dxl5s8gHO/X0NB+q21CVY41/tLc49i32DFbOpZXt5y q6SqedkU/i//M57s7hN4tUk0W8lEY9+21OF71aPO5dG5PqzONh+jJoXxARgXol5fJG gVK5TEI4QV2czpAi/fZ+/LbURWXm5Z4EhSBeGgaETw3EPMt5GogsTSYFiCG8Q1pTxU LdNEmOfhW9mhYwmvgloNxsOZSRR9EMnhQorm6ihjj+RncxBPOVD1iqNzei7qLQXphV 2t+sZPSSYOCpL8wAPGQ2HcklH30mhQGaefFsdnmxi7G4GtZr9PRxfVlBmZ87clLSsW 2uT0FkZwCiXSQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PMqTP2p7Sz9rxL; Thu, 23 Feb 2023 11:46:49 +0100 (CET) From: Ihor Radchenko To: Rafael =?utf-8?Q?Laboissi=C3=A8re?= Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] Wrong display when URL contains "/-/" [9.6.1 (release_9.6.1-264-g236bd4)] In-Reply-To: References: Date: Thu, 23 Feb 2023 10:47:30 +0000 Message-ID: <87o7pk8xq5.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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, 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.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 ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="onTK/7aX"; 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=1677149255; a=rsa-sha256; cv=none; b=fKkJncmPZnOpDA6Af9Lb77U63xg89rAm+/vnbHyWxVLvgWckuvn5V7pZEv0fzLaudcpZLU CagJRgbMDQSaWY8rpE3MZKPWy/m5rUIj0V9BqSBDgoQpYBPy+CEFjUFoX+RlvM/glb5AP9 netM4cJXd+096Cn5xMO5PT5ichE0rhjhJKL6djN+nTxIMjS9l1btXCr/SzFHSlefYSLG4D 8n1aqwiQWCtdYNw+MYL4mVNQ3oQb9lKOgc9K44Uly5Ke/FJpcdLoJCBApdKORUGDckO70f N2MCsI7meOuPu9j6IM+CQ56mJYAkGUtHIhpQ2/8BnEZaKKJj4LEeWHMxc6ztwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677149255; 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:dkim-signature; bh=nQG51J+Fy3ZQrqhRmJymF2o/7ZW+pm1KQYfmcRTBd/M=; b=DUSDJHVVOVzn49NSYgB66Y7solb+zpzhAmDJ9pkaABlVJSs9wwsdk6G89mSs/mPQqu3m62 L0+i/J/o6tz4UCCThszg5wjNHXqkcWJMzwlgdI1foTmR0hQ5+pa5NmyY5Wn2391JW8WGyL Cq1rZxUXjnItw1+4POeI15LGDRfZXO5JTZvVGA57bGlK7ccQPIq36xfFAJfkUTcuaLSal0 LdS5mIHb0eAU9W/a6s/SX/vQn6/9rZtaBvL3KKI8Jq1fFpatIM1H5JHwdEpzKs0ShYgJO6 8fssQ1p6XgKOH9HW8J+1QPyDxUHlbvZ81kOedxDolKEUsT8akl8/d8z7aVgbPg== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.16 X-Spam-Score: -6.16 X-Migadu-Queue-Id: 03B2531370 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="onTK/7aX"; 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 X-TUID: QHJVgDLSII/D Rafael Laboissi=C3=A8re writes: > The following content is not displaying correctly for me (see attached=20 > screenshot): > > [[https://host/some/-/path][[pre link]=E2=80=8B]] this is underlined, = but shouldn't be [[https://host/another/-/path][[post link]=E2=80=8B]] > [[https://host/some/path][[pre link]=E2=80=8B]] this is okay [[https:/= /host/another/path][[post link]=E2=80=8B]] > > I guess that this is caused by the presence of "/-/" substrings in the=20 > URLs. Such URLs containing this substring are used, in instance, by=20 > GitLab. It is wrongly fontified as italics, which appears to be fontified using underline face in your Emacs. The problem is known. See https://orgmode.org/list/87ee7c9quk.fsf@localhost --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at