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.bugs Subject: bug#54634: 29.0.50; Off-by-one highlighting Date: Wed, 06 Apr 2022 14:01:25 +0300 Message-ID: <83pmlucw6y.fsf@gnu.org> References: <83fsmz8yf0.fsf@gnu.org> <83bkxif9zi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6305"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 54634@debbugs.gnu.org To: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 06 13:02:16 2022 Return-path: Envelope-to: geb-bug-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 1nc3QW-0001UU-CW for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Apr 2022 13:02:16 +0200 Original-Received: from localhost ([::1]:47964 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nc3QV-0000IA-EV for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Apr 2022 07:02:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nc3QJ-0000Hx-1J for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2022 07:02:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34983) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nc3QH-0004ZT-Tf for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2022 07:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nc3QH-0001r6-Rg for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2022 07:02:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Apr 2022 11:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54634 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 54634-submit@debbugs.gnu.org id=B54634.16492428857078 (code B ref 54634); Wed, 06 Apr 2022 11:02:01 +0000 Original-Received: (at 54634) by debbugs.gnu.org; 6 Apr 2022 11:01:25 +0000 Original-Received: from localhost ([127.0.0.1]:57113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nc3Ph-0001q6-8Z for submit@debbugs.gnu.org; Wed, 06 Apr 2022 07:01:25 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nc3Pf-0001pt-Vq for 54634@debbugs.gnu.org; Wed, 06 Apr 2022 07:01:24 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53926) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nc3Pa-0004V9-L1; Wed, 06 Apr 2022 07:01:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=2StS7xzGAbh4LPSrjghAyF/pL/Neo0f0RmcC6R5DIjQ=; b=ZvdaMH5P0mwNdFCm2082 5gMuelM7l2NbWmS0VE2XHaZR13NGDDjmIdumlh4ggeidg3TG2xXHvkdQ2zMXG8mtV2t7SSZQMa1BE HbN0Xe7p/5/9saTcCU0LVelybjnh0/9yBlVt//2tBmCRSfD4zWlYRCuV6qgWeS5Nnpwg7u92jMjTW rHPRQQ18ZtFFRF92uJABKyWUU1NTkBRLFBw7E6+v3dYMBDiRwuFxp7M4V4R2tDtmTI64cz2OgQaDq NYTmDsROdy0BrgKacQVk7FEi70MrH95uV+tbysawXWkbOQjAngyJqBQJm3yla1qbuXPWd+Pzw+A2C Rx0bilJBlwQ2oA==; Original-Received: from [87.69.77.57] (port=4002 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 1nc3Pa-0003hg-4K; Wed, 06 Apr 2022 07:01:18 -0400 In-Reply-To: (message from Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= on Wed, 06 Apr 2022 07:35:08 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:229487 Archived-At: > From: Rudolf Adamkovič > Cc: 54634@debbugs.gnu.org > Date: Wed, 06 Apr 2022 07:35:08 +0200 > > Eli Zaretskii writes: > > > I meant under the default value of show-paren-style. > > Yes, the current behavior makes sense under the default style, but when > highlighting parenthesized expressions, it does not. Instead, it causes > confusion. For example, it makes me worry that Emacs will copy the > marked expression without the opening parenthesis. Given that the > highlight exists to help the user, and not to confuse them, I decided to > report this bug. I hope it all makes sense. If you can suggest a better setting for the priority/priorities of the two involved overlays, perhaps we could change the priority only when this style of show-paren-mode is used, and that would be an okay solution.