[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [RFC] Change visibility for bracket links
From: |
Rasmus |
Subject: |
Re: [O] [RFC] Change visibility for bracket links |
Date: |
Wed, 12 Oct 2016 11:27:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes:
> Hello,
>
> Clément Pit--Claudel <address@hidden> writes:
>
>> 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?
>
> I have the feeling that it would cause some visual "jumping" when the
> link is very different (e.g., wider) than its visible pars. Some links
> tend to be very long. So showing the full link is not an option.
We can limit it to a certain number of characters and expand it, like when
the width of table columns is limited.
BTW: I don’t find that prettify-symbols-mode with (setq
prettify-symbols-unprettify-at-point 'right-edge) ruins the reading flow.
On the contrary, I would love to port org-entities to use this
functionality for at display in buffers.
Rasmus
--
Together we will make the possible totalllly impossible!
- [O] [RFC] Change visibility for bracket links, Nicolas Goaziou, 2016/10/05
- Re: [O] [RFC] Change visibility for bracket links, Rainer M Krug, 2016/10/05
- Re: [O] [RFC] Change visibility for bracket links, Marco Wahl, 2016/10/05
- Re: [O] [RFC] Change visibility for bracket links, Detlef Steuer, 2016/10/05
- Message not available
- Message not available
- Re: [O] [RFC] Change visibility for bracket links, Eric S Fraga, 2016/10/06
- Re: [O] [RFC] Change visibility for bracket links, William Denton, 2016/10/06
Re: [O] [RFC] Change visibility for bracket links, Adam Porter, 2016/10/07
- Re: [O] [RFC] Change visibility for bracket links, Clément Pit--Claudel, 2016/10/07
- Re: [O] [RFC] Change visibility for bracket links, Adam Porter, 2016/10/08
- Re: [O] [RFC] Change visibility for bracket links, Nick Dokos, 2016/10/10
- Re: [O] [RFC] Change visibility for bracket links, Clément Pit--Claudel, 2016/10/10
- Re: [O] [RFC] Change visibility for bracket links, Nick Dokos, 2016/10/10
- Re: [O] [RFC] Change visibility for bracket links, Joost Kremers, 2016/10/14
- Re: [O] [RFC] Change visibility for bracket links, Thomas S. Dye, 2016/10/14