* Bug: org mode rendering linked heading wrongly [9.4.4 (9.4.4-4-g99eafe-elpaplus @ /Users/cvl/.config/emacs/elpa/28.0/develop/org-plus-contrib-20210104/)]
@ 2021-01-05 13:57 Tianrui Wei
2021-04-18 10:24 ` Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: Tianrui Wei @ 2021-01-05 13:57 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
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.
------------------------------------------------------------------------
Here is a minimal reproducing example
** *heading to be linked to*
[[**heading to be linked to*]]
Expected rendered result:
*heading to be linked to
Actual rendered result
**heading to be linked to
Emacs : GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin20.2.0, NS appkit-2022.20 Version 11.1 (Build 20C69))
of 2020-12-24
Package: Org mode version 9.4.4 (9.4.4-4-g99eafe-elpaplus @ /Users/cvl/.config/emacs/elpa/28.0/develop/org-plus-contrib-20210104/)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug: org mode rendering linked heading wrongly [9.4.4 (9.4.4-4-g99eafe-elpaplus @ /Users/cvl/.config/emacs/elpa/28.0/develop/org-plus-contrib-20210104/)]
2021-01-05 13:57 Bug: org mode rendering linked heading wrongly [9.4.4 (9.4.4-4-g99eafe-elpaplus @ /Users/cvl/.config/emacs/elpa/28.0/develop/org-plus-contrib-20210104/)] Tianrui Wei
@ 2021-04-18 10:24 ` Nicolas Goaziou
2021-04-18 10:50 ` Ihor Radchenko
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2021-04-18 10:24 UTC (permalink / raw)
To: Tianrui Wei; +Cc: emacs-orgmode@gnu.org
Hello,
Tianrui Wei <tianrui-wei@outlook.com> writes:
> Here is a minimal reproducing example
>
> ** *heading to be linked to*
>
> [[**heading to be linked to*]]
>
> Expected rendered result:
I had troubles understanding your report. What does "rendering" means
here? Is it about `org-insert-link', fontification, export?
> *heading to be linked to
>
> Actual rendered result
>
> **heading to be linked to
If you're talking about `org-insert-link', this is not a bug. The first
star is a special markup indicating you're specifically linking to
a headline.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug: org mode rendering linked heading wrongly [9.4.4 (9.4.4-4-g99eafe-elpaplus @ /Users/cvl/.config/emacs/elpa/28.0/develop/org-plus-contrib-20210104/)]
2021-04-18 10:24 ` Nicolas Goaziou
@ 2021-04-18 10:50 ` Ihor Radchenko
0 siblings, 0 replies; 3+ messages in thread
From: Ihor Radchenko @ 2021-04-18 10:50 UTC (permalink / raw)
To: Nicolas Goaziou, Tianrui Wei; +Cc: emacs-orgmode@gnu.org
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>> [[**heading to be linked to*]]
>>
>> Expected rendered result:
>
> I had troubles understanding your report. What does "rendering" means
> here? Is it about `org-insert-link', fontification, export?
I think the report referred to fontification. When
org-hide-emphasis-markers is non-nil, the heading is rendered in bold
and the "*" markers are hidden. However, "*" emphasis markers are not
hidden in the link - inconsistent with what users could expect from
non-nil org-hide-emphasis-markers setting.
Best,
Ihor
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-04-18 10:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-05 13:57 Bug: org mode rendering linked heading wrongly [9.4.4 (9.4.4-4-g99eafe-elpaplus @ /Users/cvl/.config/emacs/elpa/28.0/develop/org-plus-contrib-20210104/)] Tianrui Wei
2021-04-18 10:24 ` Nicolas Goaziou
2021-04-18 10:50 ` Ihor Radchenko
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).