help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Highlighting parentheses when matching parentheses resides outside v


From: Eli Zaretskii
Subject: Re: Highlighting parentheses when matching parentheses resides outside visible window
Date: Wed, 26 Oct 2022 14:09:47 +0300

> Date: Tue, 25 Oct 2022 22:41:33 +0000
> From: Heime <heimeborgia@protonmail.com>
> Cc: help-gnu-emacs@gnu.org
> 
> Have spent some serious time scrutinising show-paren-style.   
> 
> I will explain the problem.  Suppose your function is longer than your emacs 
> window.
> Use "expression" as "show-paren-style", then go just after the last closing 
> parenthesis.   
> You get the associated region highlighted.  BUT, try to scroll up the code, 
> the highlighting
> get recomputed as the point moves across the window.  Thus highlighting 
> capability becomes
> useless when the part does not fit in the emacs window pane.

I'm sorry, but this doesn't explain your problem in enough detail.

First, what exactly do you mean by "scroll up the code"? which Emacs
commands did you use to scroll?  At least some ways of scrolling don't
move point.

And when you say "point moves across the window", do you mean that
point moves with the text or that the text moves, but point stays at
the same screen coordinates?  Depending on how you scroll, it could be
one or the other.

Next, what do you mean by "highlighting get recomputed as the point
moves across the window"?  What happens with highlighting as you
"scroll" that you don't like?

And finally, what would you like to happen instead in this case?



reply via email to

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