From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QEr5OtGd8F6wHgAA0tVLHw (envelope-from ) for ; Mon, 22 Jun 2020 12:02:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QH3KNtGd8F6xIQAAB5/wlQ (envelope-from ) for ; Mon, 22 Jun 2020 12:02:25 +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 6186F9409E7 for ; Mon, 22 Jun 2020 12:02:24 +0000 (UTC) Received: from localhost ([::1]:54010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnL9Z-0000sw-ND for larch@yhetil.org; Mon, 22 Jun 2020 08:02:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jn8tj-0005rb-4d for emacs-orgmode@gnu.org; Sun, 21 Jun 2020 18:57:11 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:41417) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jn8tg-0003lh-UB for emacs-orgmode@gnu.org; Sun, 21 Jun 2020 18:57:10 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id EB5605C07DD for ; Sun, 21 Jun 2020 18:57:06 -0400 (EDT) Received: from imap1 ([10.202.2.51]) by compute4.internal (MEProxy); Sun, 21 Jun 2020 18:57:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fizz.buzz; h= mime-version:message-id:date:from:to:subject:content-type; s= fm3; bh=n3tjQUzgW6SkXfT4R2PepFpiQa7O3RY55s6jeJRzklU=; b=EdNmXJMF GX6nNwqlt8epSVRv7hBrkcJ95jrUVSHtSRRJY/y16B0MELEx8FtojzPzPrYewodM /ce/tKdlInXA6aZQHsxsmMRaiGNRh+/Gt22CgeLAkDqHhnOxCqkRCP0qQjM5Lg6N EE5tU/mMQIncyqC2QxfhoFsuWrZTJJdikA2MMqSIL7e85ViEbfPW5PbHgWIuCqLi en6aXs71GMYNZUOe7WwM8LU+2OnucjRc3eMlyoJ/G3Gcife8x543IiRNYPNcWjde EUptKkhhqGIy3uAP+mcOJIsDQPWh/w3pttaUyesjGBBg5q1IJUWjIEO9sptTaQ2c tTLB+gTfb7pN6Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=n3tjQUzgW6SkXfT4R2PepFpiQa7O3 RY55s6jeJRzklU=; b=VOCo0WI6CeShhuF8da1kL1jl2iRjvdcQD4LnkMcU40jaP BPn2r2/0iXkZZTHxQ9PC+mtDpHRqcPtyzZlonv3l4xHQ39HNUx2yCFYvCv27k1D6 Y7xeAxmzoYplX3DAoC7vdQm8x8Rz/rmtZ3Mzk66aiB9B5YefjRu+08/O+pdNDals QMVn0slCmoJo4Q0Ay162uaY/AF6VS/QvAKaPZjnPh/oJVvW6BAaJQ88O/2yrnXu5 Ct8jenxqqjHQw0iP1JImxUFnbDCftcET1o/Q8AU+LWJOU1PB/J6ATYzUxPI4lVXl JtnzerwD2ox5bQI0d6R0Mezub2c3QI2WXCgV9yz6g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudekuddgudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehttdertd erreejnecuhfhrohhmpedfvfhomhcutehlvgigrghnuggvrhdfuceothhomhesfhhiiiii rdgsuhiiiieqnecuggftrfgrthhtvghrnhepffekudfffefgveeghfeiheeufeegiefhhf egffejffehtdekveevjeffudffueevnecuffhomhgrihhnpehfohhordgsrghrnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhomhesfhhiii iirdgsuhiiii X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id B795DC200A5; Sun, 21 Jun 2020 18:57:06 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-dev0-543-gda70334-fm-20200618.004-gda703345 Mime-Version: 1.0 Message-Id: Date: Sun, 21 Jun 2020 18:56:22 -0400 From: "Tom Alexander" To: emacs-orgmode@gnu.org Subject: =?UTF-8?Q?Bug:_Inconsistent_formatting_when_terminating_bold_inside_a_li?= =?UTF-8?Q?nk_[9.3_(release=5F9.3_@_/usr/share/emacs/27.0.91/lisp/org/)]?= Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.29; envelope-from=tom@fizz.buzz; helo=out5-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/21 18:57:06 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: 2 X-Spam_score: 0.2 X-Spam_bar: / X-Spam_report: (0.2 / 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, FROM_SUSPICIOUS_NTLD=1, FROM_SUSPICIOUS_NTLD_FP=1, PDS_OTHER_BAD_TLD=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Mailman-Approved-At: Mon, 22 Jun 2020 08:00:58 -0400 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fizz.buzz header.s=fm3 header.b=EdNmXJMF; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=VOCo0WI6; dmarc=none; 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-Spam-Score: 1.00 X-TUID: v3Kg6bTh+6iT When you have a section of bold text that ends inside a link, for example: *can you [[http://foo.bar/][terminate *bolds* inside]] links* Inside emacs it bolds the text "can you terminate bolds" and represents "terminate *bolds* inside" as a link, but if you export to any non-text format (I tested html, LaTeX to PDF, and ODT) then it breaks the link exporting the raw org-mode link syntax. Expected behavior: I see three options. Naturally in HTML you can't do can you terminate bolds inside links so it could either 1. duplicate the bold tag: can you terminate bolds inside links 2. or the text inside a link could be considered an independent context from the outside text: can you terminate bolds inside links 3. or the emacs rendering can be updated to accurately reflect the link being broken as it currently is in the exported output. Reproduced the issue with `emacs -q`. Below is the version/config information: Emacs : GNU Emacs 27.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.17.3) of 2020-06-09 Package: Org mode version 9.3 (release_9.3 @ /usr/share/emacs/27.0.91/lisp/org/) current state: ============== (setq org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-link-shell-confirm-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function org-odt-format-headline-function 'org-odt-format-headline-default-function org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-mode-hook '(#[0 "\301\211\207" [imenu-create-index-function org-imenu-get-tree] 2] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-archive-hook '(org-attach-archive-delete-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"] org-babel-pre-tangle-hook '(save-buffer) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-ascii-format-drawer-function #[771 "\207" [] 4 "\n\n(fn NAME CONTENTS WIDTH)"] org-occur-hook '(org-first-headline-recenter) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("attachment" :follow org-attach-open-link :export org-attach-export-link :complete org-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow eww :store org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell) ("news" :follow #[257 "\301\300\302Q!\207" ["news" browse-url ":"] 5 "\n\n(fn URL)"]) ("mailto" :follow #[257 "\301\300\302Q!\207" ["mailto" browse-url ":"] 5 "\n\n(fn URL)"]) ("https" :follow #[257 "\301\300\302Q!\207" ["https" browse-url ":"] 5 "\n\n(fn URL)"]) ("http" :follow #[257 "\301\300\302Q!\207" ["http" browse-url ":"] 5 "\n\n(fn URL)"]) ("ftp" :follow #[257 "\301\300\302Q!\207" ["ftp" browse-url ":"] 5 "\n\n(fn URL)"]) ("help" :follow org-link--open-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp) ("doi" :follow org-link--open-doi)) org-latex-format-headline-function 'org-latex-format-headline-default-function org-link-elisp-confirm-function 'yes-or-no-p org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-html-format-headline-function 'org-html-format-headline-default-function ) -- Tom Alexander