From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EOcxMZ3rMWEOogAAgWs5BA (envelope-from ) for ; Fri, 03 Sep 2021 11:32:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qIXmLJ3rMWEnfQAAB5/wlQ (envelope-from ) for ; Fri, 03 Sep 2021 09:32:13 +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 2849F17EF0 for ; Fri, 3 Sep 2021 11:32:13 +0200 (CEST) Received: from localhost ([::1]:60794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mM5YR-0003qC-Su for larch@yhetil.org; Fri, 03 Sep 2021 05:32:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mM5Jy-0005Nl-18 for emacs-orgmode@gnu.org; Fri, 03 Sep 2021 05:17:14 -0400 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]:56080) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mM5Jw-00083V-IU for emacs-orgmode@gnu.org; Fri, 03 Sep 2021 05:17:13 -0400 Received: by mail-pj1-x102e.google.com with SMTP id l3so3246599pji.5 for ; Fri, 03 Sep 2021 02:17:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=/e+bDJD4HZLdFpNFXsKX/vepbX3FcrJcSM+nagjPiJ8=; b=jwUd8Xu7TntmlEVQgTNq5QKCQ1nQwlacJ2dgdRZqktai8fN2gIz7qur1dF1mQlqzR/ xPFfBzlP/zDI/QdU1nkJpk2hWnR2Ca9V4ABxP/PvJmnj3YczNyBIPrvF/+0e7szEwipE rnNyOPNQlQO0vxvgWTbLqrCr7Ucf1ugCuJFVMEtZdMp9ckDiDlE/YkFjFIQIBrDsaBDi Bx5HNthXWTJi9sVSjeTeB7xbqzJZ3rtTTpM4vdCdMDar26Jy1nv5DehR7M+9iIeuG6Nz 4qM5+hepqA8KKPjMHXhZabPVGJV1pxb3+ePdfh6FfCVZbCQslAXiCF4wDhKCS/qfXXwB kF3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=/e+bDJD4HZLdFpNFXsKX/vepbX3FcrJcSM+nagjPiJ8=; b=bEqoJxJoRicBbegeQ8s3rGy7UAiBVl5rJIXG5A2taBWalC2eHkFpilX0+mQzp8uKR2 4o89qapkl21GhLolMsuphWk/G+IGqM7G1SYsxuc8Nk2wSJeKGP9QKd11FN1aRPQLuCZZ u8VMxC8YE/eGISoDqM5myQzPuDtVw65FVOcqsuVhXcYWLz6IRFRNJv6v9croTTT3W0BE hVfj2PZ+YvytuY9OCJyeljBdDr3Hvr4jzbpRWe+1KHlXrpuFNg9B9kCJWmyjN7p+7LJB pXDaiXSdUbrWn4kLzi7OyS0Uw0cl5X2KbHdJCVrMhkfDt0WRrla25cY6A4jO4AWIFh1m 8hRg== X-Gm-Message-State: AOAM533uXcU5SNT0A9AtJoMN/l1oxvkr3eO+SPkGGQ/n6qW7l9jrlq/z NypCrAus4sS3fFcYmneFIG8= X-Google-Smtp-Source: ABdhPJy/GP1bJNXIqbsReHFABOj+FD/v/hBZjH27zCXya36wnxTEb7yW6gY8/RVmWbbnPpuRLnDBag== X-Received: by 2002:a17:902:784c:b0:138:f4e5:9df8 with SMTP id e12-20020a170902784c00b00138f4e59df8mr2181081pln.14.1630660631005; Fri, 03 Sep 2021 02:17:11 -0700 (PDT) Received: from localhost ([172.121.189.105]) by smtp.gmail.com with ESMTPSA id y7sm4695812pff.206.2021.09.03.02.17.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Sep 2021 02:17:10 -0700 (PDT) From: Ihor Radchenko To: Timothy Subject: Re: Bug: PDF Export of Link fails [9.4.6 (9.4.6-gab9f2a @ /gnu/store/2pny4z6mbi2aybgzzxz0yrzkds7hbpmq-emacs-org-9.4.6/share/emacs/site-lisp/org-9.4.6/)] In-Reply-To: <87v93im57e.fsf@gmail.com> References: <87pmtqp79s.fsf@web.de> <87v93im57e.fsf@gmail.com> Date: Fri, 03 Sep 2021 17:18:02 +0800 Message-ID: <87mtouuiet.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::102e; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102e.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: , Cc: "Dr. Arne Babenhauserheide" , emacs-orgmode@gnu.org 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=1630661533; 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=/e+bDJD4HZLdFpNFXsKX/vepbX3FcrJcSM+nagjPiJ8=; b=a0mhmDaNU3TJTyK5Ie2QyDTcGB2zBkfJv71byUTdh3xErl3m2TTd7xPuLjwt07M6HLHdEf YxiM2r7m8PCuT+fMw4nS5F8lDkH6PKJlILr0UA8m3h5GiQ2LaorkU206Lejr6roj3tmsMo EnsdhnmvnmkCtuD3xD3K2bVEIIrpTL6MVShREHWK/dNK+Uyj9MYXOj0016B0VLAmZncMRZ R+hjb8pAzForC0IvMEALKIZV6WXYx/98rkWUCFDofbu/B5z1z7d6jCCQmuGQde5UzzQmDw TO40b6aWD4t7j3D3UGhE5eTWZGvBHqFPA4xN0GjY3JBW8gv6Y5Pw/TgELYEwow== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630661533; a=rsa-sha256; cv=none; b=VG0O1+bRQMH1vJud9bycZfenS0BRtu+3xE+XH8JVPyTvjqVOn0cl5XUmAcCg2/Lb9HDNAo 9Z1MxSKfsBP84tFFFCYLoVRODoiqd30xBZTlXl7Jr2mdGyXQUflr57SWX/8NriWpA9Uv40 Gskh1L3yaFRu2B8PnrSOLohBbLFcogqB5VgY9H5boRjEnPHTAk+XeToLI/yuuIl3XXFFKx p77eWixF4DJirNEGWayvTHhlM/VPU2XDn+/b72/81UUJBmfjOlKpYq9XTkvONaOtlXpVTQ wXGcYDf0qAfI2wBxeaq0OzFFZBP5xhgzUjMh8B2JxTklp1XhmDiI4g9pIDRPiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jwUd8Xu7; 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: -2.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jwUd8Xu7; dmarc=pass (policy=none) header.from=gmail.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: 2849F17EF0 X-Spam-Score: -2.62 X-Migadu-Scanner: scn1.migadu.com X-TUID: uB4AFgW5TLp7 Timothy writes: > Causes issues. I also note that in the Org-mode buffer the comma seems to= cause > issues. I=E2=80=99ve attached a screenshot, in which you can see in the = =E2=80=9Ccomma, italics=E2=80=9D > situation: > =E2=81=83 The second line is not italic > =E2=81=83 The second `/' of the pair is shown (and I have Org=E2=80=99s e= ntity hiding setting enabled) The problem is with org-emph-re. Our second component of org-emphasis-regexp-components is > Chars allowed as postmatch. End of line will be allowed too. "-[:space:].,:!?;'\")}\\[" So, org-element-italic-parser will treat /, sequence as end of the italic text disregarding that /, is part of the link. If you try the following text, it will not export correctly as well: /Beginning is italic 1^{/,} and tail should be italic/ Though fontification somehow works. Or we can put some other allowed object like inline src block: /Beginning is italic src_elisp{(message "Foo/,")} and tail should be italic/ This time both export and fontification do not work. I suspect that we need to upgrade org-element-italic-parser in non-trivial way to fix this. Best, Ihor