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: Heime
Subject: Re: Highlighting parentheses when matching parentheses resides outside visible window
Date: Tue, 25 Oct 2022 22:41:33 +0000

------- Original Message -------
On Tuesday, October 25th, 2022 at 11:40 AM, Eli Zaretskii <eliz@gnu.org> wrote:


> > Date: Tue, 25 Oct 2022 11:22:24 +0000
> > From: Heime heimeborgia@protonmail.com
> > 
> > Although emacs is capable of highlighting parentheses, when the matching 
> > parentheses
> > is located outside the visible window, there is no chance to see where a 
> > closing
> > parenthesis actually matches. Can there be a solution to this?
> 
> 
> Did you try the non-default values of show-paren-style?

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.


 




reply via email to

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