From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Highlighting parentheses when matching parentheses resides outside visible window Date: Wed, 26 Oct 2022 21:39:39 +0300 Message-ID: <83r0yumntg.fsf@gnu.org> References: <835yg8p1w9.fsf@gnu.org> <83eduuon7o.fsf@gnu.org> <83v8o6mqph.fsf@gnu.org> <83sfjampqf.fsf@gnu.org> <25rnobC_Yy1KG95UB9AlCO-5QTRxGRhAULFPcFlAsS4CsE1LhGFd1fqNK1By6dSk2KhzY5sWD4fCLvE0zt8FS3EjCAUaWC11fvfb4Lh5m6E=@protonmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2254"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 26 20:53:01 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1onlWO-0000N4-Vf for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 26 Oct 2022 20:53:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onlJf-0001Sc-9b; Wed, 26 Oct 2022 14:39:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onlJd-0001SS-Ft for help-gnu-emacs@gnu.org; Wed, 26 Oct 2022 14:39:49 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onlJd-0003hx-8U for help-gnu-emacs@gnu.org; Wed, 26 Oct 2022 14:39:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=iYrza8Wm7j+L54hdRxxcCGyYU/yk1IisO2EfTWnw1+k=; b=lHnwHM8wjkd9 r43LM6fgwexswNBc9sFOE9k0/jkIyLCP9giI2rB3wAoWxnZKCFWs5aPNNwFSkGljwupslAn4irHvT obTlK0vkAVQ41x+TEzzkWF8ODKkb30gg6ZSTkXY088L7EtOU79QmeTxSaDSSr1cC1ydxUepkUKEAa hnQWOqYZKElEAKcX6JfJJjGhSvRHO3b3tcndxVa6llkUMRoP0TipbVtWhjcwr3Shsu1COswLfI0ap ji9DkWBDyfkhAofHYtLAFdkrPaJvP4C4x6HdwxvMeWnySLDsoyUzL6aPRjZo22ugJiPs4f7r1f7Mq ICVCazzvWunUPPtA79pIhg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onlJc-0004Ak-NB for help-gnu-emacs@gnu.org; Wed, 26 Oct 2022 14:39:49 -0400 In-Reply-To: <25rnobC_Yy1KG95UB9AlCO-5QTRxGRhAULFPcFlAsS4CsE1LhGFd1fqNK1By6dSk2KhzY5sWD4fCLvE0zt8FS3EjCAUaWC11fvfb4Lh5m6E=@protonmail.com> (message from Heime on Wed, 26 Oct 2022 18:23:20 +0000) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "help-gnu-emacs" Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:140409 Archived-At: > Date: Wed, 26 Oct 2022 18:23:20 +0000 > From: Heime > Cc: help-gnu-emacs@gnu.org > > > That's not what show-paren-mode is supposed to do. There are many > > packages out there which highlight parenthesized expressions, I'm sure > > you will find one that suits your needs. > > All the highlighting functionality is there. Is it not possible to add a toggle > function to keep the highlighting once some function is called, then call it again > to have show-paren-mode work normally again. It would not be show-paren-mode, then. > Or some other solution you think might work? I'm sure people here will point you to other highlighting packages. I'm not familiar with them, but I know that there are quite a few. > The show-paren-mode tools work well until the highlighting goes > outside the current window pane. It's a rarely-needed functionality, for the purpose for which show-paren-mode was designed.