emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [RFC] Change visibility for bracket links


From: Nick Dokos
Subject: Re: [O] [RFC] Change visibility for bracket links
Date: Thu, 13 Oct 2016 12:13:44 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Rasmus <address@hidden> writes:

> Hi,
>
> Nicolas Goaziou <address@hidden> 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.
>

I'm worried that this would be computationally prohibitive.

-- 
Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]