Hi,

Nicolas Goaziou <m...@nicolasgoaziou.fr> writes:

>   [[uri][description]]
>
> is displayed as
>
>   [description]
>
> instead of
>
>   description
>
> and
>
>   [[uri]]
>
> is displayed as
>
>   [uri]
>
> instead of
>
>   uri

How about showing boundaries only when the cursor is near "hidden" text?
This would also work for emphasized text when org-hide-emphasis-markers is
non-nil.  When the cursor is far away from a link it is only using its
respective face, namely org-link or bold or whatever.  Example, where "|"
is the cursor:

      Pre| text description post text
                ^^^^^^^^^^^
                a link, org-link face

      Pre| text bold text text
                ^^^^^^^^^
                bold face

But when the cursor is next to the link or emphasized text markers are
shown.

      Pre text |[description] post text
      Pre text |*bold text* post text

It would not cause much jumping.  Of course, for people who wants to avoid
jumping altogether org-hide-emphasis-markers could be set to nil.  It
would arguably make org-hide-emphasis-markers more useful for emphasized
text as well.

Rasmus

-- 
Hooray!


Reply via email to