[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 6e5d79c048: Display show-paren-context-when-offscreen in chil
From: |
Tassilo Horn |
Subject: |
Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame |
Date: |
Wed, 09 Feb 2022 14:28:33 +0100 |
User-agent: |
mu4e 1.7.7; emacs 29.0.50 |
Po Lu <luangruo@yahoo.com> writes:
>>> I think I have found a bug, I will send a report to bug-gnu-emacs.
>>
>> BTW, in the meantime I've pushed the overlay version which is pretty
>> much the same UI-wise but doesn't hit bug bug#53871.
>
> Another advantage of using an overlay is that it wraps correctly and
> doesn't overwrite the scrollbar or a wrapped tool bar on the
> no-toolkit build.
Yes, each version has its pros and cons. The child-frame version has
the benefit of not occupying a complete line if the context string is
shorter. Another hypothetical benefit is that, in a future
grammar-aware emacs buffer (tree-sitter), the context string could be
tweaked to be "semantically sensible", e.g., with
if (foobar
&& quux % 2 == 0)
{
...
}<== point here!
it could show the complete multi-line if+condition rather than only
"&& quux % 2 == 0)...{".
Bye,
Tassilo
- Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame, (continued)
- Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame, Tassilo Horn, 2022/02/07
- Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame, Arash Esbati, 2022/02/07
- Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame, Tassilo Horn, 2022/02/07
- Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame, Tassilo Horn, 2022/02/07
- Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame, Arash Esbati, 2022/02/07
- Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame, Tassilo Horn, 2022/02/07
- Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame, Arash Esbati, 2022/02/08
- Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame, Tassilo Horn, 2022/02/08
- Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame, Tassilo Horn, 2022/02/09
- Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame, Po Lu, 2022/02/09
- Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame,
Tassilo Horn <=
- Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame, Po Lu, 2022/02/09
- Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame, Tassilo Horn, 2022/02/09
- Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame, Tassilo Horn, 2022/02/09
- Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame, Po Lu, 2022/02/09
- Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame, Po Lu, 2022/02/14
- Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame, Tassilo Horn, 2022/02/14
- Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame, Arash Esbati, 2022/02/09
- Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame, martin rudalics, 2022/02/09
- Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame, Po Lu, 2022/02/07
- Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame, Tassilo Horn, 2022/02/08