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: Clément Pit--Claudel
Subject: Re: [O] [RFC] Change visibility for bracket links
Date: Wed, 5 Oct 2016 20:27:53 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

On 2016-10-05 20:16, David A. Gershman wrote:
> On 10/05/2016 03:26 PM, Nicolas Goaziou wrote:
>> Hello,
>>
>> "David A. Gershman" <address@hidden> writes:
>>
>>> Not bad, but could it be customizable via variable giving the user the
>>> choice?
>> Thank you for your feedback.
>>
>> I guess we could introduce a variable to let users shoot them in the
>> foot, but is there any incentive to do so? I mean, the clutter is
>> minimal, and the current state can be very annoying at times (ever tried
>> to start a buffer with a bracket link?).
>>
>>
> Actually, no I haven't. :)
> 
> I have no problem with the brackets, I just think they "break up" the
> flow of reading we're familiar with.  Dare I say many people are use to
> a web-like experience when having hyper links in text.  From your
> description, the existence of the brackets are more for precise edits
> without having to fudge with point.  I have fallen victim to that, but
> admit, I prefer "clean" links.

What about having our cake and eating it too? :)  We could do just the same as 
what prettify-symbols-mode does with its prettify-symbols-unprettify-at-point 
variable.  Namely, we could show the brackets when point is at the edge of a 
link, and hide them otherwise.  The same trick could be applied to subscripts 
(I have working code for that for a different project, at 
https://github.com/cpitclaudel/company-coq/blob/master/company-coq.el#L4287).

Wouldn't this preserve the flow of reading, while allowing for easier editing?

Cheers,
Clément.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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