X-Loop: help-debbugs@HIDDEN Subject: bug#78456: 31.0.50; regression in treesit-simple-imenu Resent-From: Vincenzo Pupillo <v.pupillo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 16 May 2025 14:04:02 +0000 Resent-Message-ID: <handler.78456.B.174740424015224 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 78456 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 78456 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.174740424015224 (code B ref -1); Fri, 16 May 2025 14:04:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 May 2025 14:04:00 +0000 Received: from localhost ([127.0.0.1]:39177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uFvfL-0003xU-NE for submit <at> debbugs.gnu.org; Fri, 16 May 2025 10:04:00 -0400 Received: from lists.gnu.org ([2001:470:142::17]:58752) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <v.pupillo@HIDDEN>) id 1uFvfI-0003x6-Sy for submit <at> debbugs.gnu.org; Fri, 16 May 2025 10:03:57 -0400 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 <v.pupillo@HIDDEN>) id 1uFvf3-0006hY-0n for bug-gnu-emacs@HIDDEN; Fri, 16 May 2025 10:03:42 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <v.pupillo@HIDDEN>) id 1uFvf0-0002Ks-ST for bug-gnu-emacs@HIDDEN; Fri, 16 May 2025 10:03:40 -0400 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-43cec5cd73bso14741555e9.3 for <bug-gnu-emacs@HIDDEN>; Fri, 16 May 2025 07:03:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747404216; x=1748009016; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=ydl7VTJXsBX9r5rPd1r85QFBkUuaym8VozZ2nvyeUGY=; b=gKW0FL83jYKYvKeKxinBPNHAbob3CaOqTaf+kfBIMvntrNFv/Y89aimlQAwwgzinyN q8yunU7cx+mtAw6rxEJrremMskup7HCRLZsJte/6Y39Et2dZ1zGraeiqEsY9TCFzMtXu ANKdLZsC1tqj5JBx8gQRrLD7J+6Bz9zerjv+65HP4zTffzTkFehag05DC8Bpe6YZVHuq QmwFVO90XHQN2OPE0IQ7IK/++uo3asrMQWddM0xzH+zJ11Dk2bSo/mn64rduY39fmh2f 2n9cNt8KlGyHt/F4VnUabq69bYgbcEy9dashlQlNmSru7KwXBu+aFOucY9ZEcueq2KMk 4BUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747404216; x=1748009016; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ydl7VTJXsBX9r5rPd1r85QFBkUuaym8VozZ2nvyeUGY=; b=fWG4JRBJ2BFlckTWg3zLbBgpKXTi6l3eytUcADMk5P8OUxqlVNWM9U19CDeXWJAOGW 2ji/OzV7wAtFl6USFoKJy5TAjSiqiw89lWGy03mwkFx0Ps5wZwlLdG8HUuZiTHjHpxh2 idsH17AbZOHu+cHZqDPF4j99VRaPU6k8CZc1y0lJpfGefJWMYFV11WuwVTzJt4Uu0cAg KwL+arPbkmAl0L8kKFgIB5j7ee6hPc3ZRIQ/AwZ2FPaEwVilP4c7z2Yq/1tnAUxol93U xbZSMftHmusOE4UrJsTl/XMNejstjKUDOXPFbTqxjnd/uwhCF9bEt2DsG7JGDsGqFk0w GZKQ== X-Gm-Message-State: AOJu0YyhjQHIXX9bbOk6LB3GClD3y9IwpxHc7EkmIkuPY2uppsCKCHl9 Xi9jJJ8aOkXFC6fNmuAuqnn1owsIg5FAYcxtwYc+ns51Ee5FVkR0tkEMo8SuPQ== X-Gm-Gg: ASbGnctuCf3YCskSQ/+a5QlCT1VBsC+Gm/5Z+rnzpQ79oCFoteTwn3fl+QhzGIkT/Ho QPBPrVnCXCWFr011JeL2ra10y9eK8aW/nCoFb+eofQPaHdgC+NLof1y3lxe8Uh5fk+y1T2vp0Rz ZllZR3tcv7IYJ9z+R/OcB/phBj/mCepsMMyvYzUrfh0Q2nCTIkyzZqzlX2wBs5XAffs6MweA7yZ sxnL+yGLvwOdA8BiI3nIgl0Zx14f2BaiJfRMp4oen7yYOGY1gmnTGZlvDh0jQCIKepbI6/cvo9g A4j71BU3qNnIee5lLYDJR57AWWhi7+lYZVAFTiyzHjyLr0iI9Pqp2+C4TPvkXdZhKJ3Y2acqUa+ XfpJK0g0sGltN2/w= X-Google-Smtp-Source: AGHT+IGDLRTg4en+oEr1vNjlPMnYkz6KyB/shop2RusU1dOqWuXeQx1ep2Yy80e8IRdUz2mSI3B1Xw== X-Received: by 2002:a05:600c:c13:b0:43d:79:ae1b with SMTP id 5b1f17b1804b1-442fd627416mr37704325e9.14.1747404214156; Fri, 16 May 2025 07:03:34 -0700 (PDT) Received: from fedora.localnet (2-230-139-124.ip202.fastwebnet.it. [2.230.139.124]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-442fd59ab21sm33650195e9.38.2025.05.16.07.03.32 for <bug-gnu-emacs@HIDDEN> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 May 2025 07:03:33 -0700 (PDT) From: Vincenzo Pupillo <v.pupillo@HIDDEN> Date: Fri, 16 May 2025 16:03:32 +0200 Message-ID: <26923989.1r3eYUQgxm@fedora> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=v.pupillo@HIDDEN; helo=mail-wm1-x32c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) Ciao,=20 Imenu of =E2=80=98mhtml-ts-mode=E2=80=99 was able to show all (when I wrote= mhtml-ts-mode)=20 items regardless of the cursor's position within the file.=20 =46or example, it always showed CSS, JavaScript, and HTML items. However, I= =20 realized that the behavior has changed, and the displayed items vary depend= ing=20 on the cursor's position. If the cursor is placed inside the <script> tags, you will see HTML and=20 JavaScript items, but not CSS items. If the cursor is positioned outside th= e=20 <style> and <script> tags, only the HTML items are visible. This change seems to be related to the patch (bug #77256). Is it possible t= o=20 restore the previous behavior? Thanks. V. =2D-8<---------------cut here---------------start------------->8--- <!DOCTYPE html> <html> <head> <title></title> <style> body { background-color: lightblue; } h1 { color: white; text-align: center; } p { font-family: verdana; font-size: 20px; } c { color: red; } </style> <script> function myFunction(p1, p2) { return p1 * p2; } function test(a, b) { return a + b; } function provola(c, d, e) { return c + d + e; } </script> <script> function tion(p1, p2) { return p1 * p2; } </script> </head> <body> <h1> <div></div> <a href=3D"http://example.com">http://example.com</a> <div></div> <div></div> </h1> </body> </html> =2D-8<---------------cut here---------------end--------------->8---
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Vincenzo Pupillo <v.pupillo@HIDDEN> Subject: bug#78456: Acknowledgement (31.0.50; regression in treesit-simple-imenu) Message-ID: <handler.78456.B.174740424015224.ack <at> debbugs.gnu.org> References: <26923989.1r3eYUQgxm@fedora> X-Gnu-PR-Message: ack 78456 X-Gnu-PR-Package: emacs Reply-To: 78456 <at> debbugs.gnu.org Date: Fri, 16 May 2025 14:04:03 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 78456 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 78456: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78456 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#78456: 31.0.50; regression in treesit-simple-imenu Resent-From: Juri Linkov <juri@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 16 May 2025 16:06:02 +0000 Resent-Message-ID: <handler.78456.B78456.17474115471671 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 78456 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Vincenzo Pupillo <v.pupillo@HIDDEN> Cc: 78456 <at> debbugs.gnu.org Received: via spool by 78456-submit <at> debbugs.gnu.org id=B78456.17474115471671 (code B ref 78456); Fri, 16 May 2025 16:06:02 +0000 Received: (at 78456) by debbugs.gnu.org; 16 May 2025 16:05:47 +0000 Received: from localhost ([127.0.0.1]:40370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uFxZC-0000Qs-NC for submit <at> debbugs.gnu.org; Fri, 16 May 2025 12:05:47 -0400 Received: from relay6-d.mail.gandi.net ([2001:4b98:dc4:8::226]:39359) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1uFxZ9-0000Q2-6e; Fri, 16 May 2025 12:05:43 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 808ED439AA; Fri, 16 May 2025 16:05:34 +0000 (UTC) From: Juri Linkov <juri@HIDDEN> In-Reply-To: <26923989.1r3eYUQgxm@fedora> Organization: LINKOV.NET References: <26923989.1r3eYUQgxm@fedora> Date: Fri, 16 May 2025 19:04:09 +0300 Message-ID: <87wmag4k5i.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdefudefudekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjohhffffkfgggtgfgsehtkeertddtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuggftrfgrthhtvghrnhepieffteejgeehffejuedtiefhudekgeejteekiefgveeuheetvdefgeekkeevkedunecukfhppeeluddruddvledruddthedruddujeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeluddruddvledruddthedruddujedphhgvlhhopehmrghilhdrghgrnhguihdrnhgvthdpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnsggprhgtphhtthhopeefpdhrtghpthhtoheptghonhhtrhholhesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopeejkeegheeiseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepvhdrphhuphhilhhlohesghhmrghilhdrtghomh X-GND-Sasl: juri@HIDDEN X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) close 78456 31.0.50 thanks > Ciao, > Imenu of ‘mhtml-ts-mode’ was able to show all (when I wrote mhtml-ts-mode) > items regardless of the cursor's position within the file. > For example, it always showed CSS, JavaScript, and HTML items. However, I > realized that the behavior has changed, and the displayed items vary depending > on the cursor's position. > > If the cursor is placed inside the <script> tags, you will see HTML and > JavaScript items, but not CSS items. If the cursor is positioned outside the > <style> and <script> tags, only the HTML items are visible. > > This change seems to be related to the patch (bug #77256). Is it possible to > restore the previous behavior? Sorry, this was caused by the assumption that imenu should depend on the language at point. I have no opinion whether imenu should be context-dependent or global to show tags from all languages. So I just restored the previous behavior.
Received: (at control) by debbugs.gnu.org; 16 May 2025 16:05:49 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 16 12:05:49 2025 Received: from localhost ([127.0.0.1]:40373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uFxZD-0000Qu-3K for submit <at> debbugs.gnu.org; Fri, 16 May 2025 12:05:49 -0400 Received: from relay6-d.mail.gandi.net ([2001:4b98:dc4:8::226]:39359) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1uFxZ9-0000Q2-6e; Fri, 16 May 2025 12:05:43 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 808ED439AA; Fri, 16 May 2025 16:05:34 +0000 (UTC) From: Juri Linkov <juri@HIDDEN> To: Vincenzo Pupillo <v.pupillo@HIDDEN> Subject: Re: bug#78456: 31.0.50; regression in treesit-simple-imenu In-Reply-To: <26923989.1r3eYUQgxm@fedora> Organization: LINKOV.NET References: <26923989.1r3eYUQgxm@fedora> Date: Fri, 16 May 2025 19:04:09 +0300 Message-ID: <87wmag4k5i.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdefudefudekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjohhffffkfgggtgfgsehtkeertddtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuggftrfgrthhtvghrnhepieffteejgeehffejuedtiefhudekgeejteekiefgveeuheetvdefgeekkeevkedunecukfhppeeluddruddvledruddthedruddujeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeluddruddvledruddthedruddujedphhgvlhhopehmrghilhdrghgrnhguihdrnhgvthdpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnsggprhgtphhtthhopeefpdhrtghpthhtoheptghonhhtrhholhesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopeejkeegheeiseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepvhdrphhuphhilhhlohesghhmrghilhdrtghomh X-GND-Sasl: juri@HIDDEN X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control Cc: 78456 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) close 78456 31.0.50 thanks > Ciao, > Imenu of ‘mhtml-ts-mode’ was able to show all (when I wrote mhtml-ts-mode) > items regardless of the cursor's position within the file. > For example, it always showed CSS, JavaScript, and HTML items. However, I > realized that the behavior has changed, and the displayed items vary depending > on the cursor's position. > > If the cursor is placed inside the <script> tags, you will see HTML and > JavaScript items, but not CSS items. If the cursor is positioned outside the > <style> and <script> tags, only the HTML items are visible. > > This change seems to be related to the patch (bug #77256). Is it possible to > restore the previous behavior? Sorry, this was caused by the assumption that imenu should depend on the language at point. I have no opinion whether imenu should be context-dependent or global to show tags from all languages. So I just restored the previous behavior.
X-Loop: help-debbugs@HIDDEN Subject: bug#78456: 31.0.50; regression in treesit-simple-imenu Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 16 May 2025 16:08:01 +0000 Resent-Message-ID: <handler.78456.B78456.17474116362391 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 78456 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Vincenzo Pupillo <v.pupillo@HIDDEN>, Juri Linkov <juri@HIDDEN> Cc: 78456 <at> debbugs.gnu.org Received: via spool by 78456-submit <at> debbugs.gnu.org id=B78456.17474116362391 (code B ref 78456); Fri, 16 May 2025 16:08:01 +0000 Received: (at 78456) by debbugs.gnu.org; 16 May 2025 16:07:16 +0000 Received: from localhost ([127.0.0.1]:40398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uFxad-0000cU-QH for submit <at> debbugs.gnu.org; Fri, 16 May 2025 12:07:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60540) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uFxab-0000bU-EM for 78456 <at> debbugs.gnu.org; Fri, 16 May 2025 12:07:14 -0400 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 <eliz@HIDDEN>) id 1uFxaW-0003yL-3u; Fri, 16 May 2025 12:07:08 -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=BkNNTieHHTdqtxXwJmlrsQSJiBvy+3FtUXR6uHMIGfg=; b=CV8igj4lv+R0dpI6AJBL ekZ9UYY55KRn6v5pPFU6xREqY84EcJByrzVNL9ZYNGItN745X4699UbbnlZzpyy5EtkmtB3qZU1vz GFmb3RG9AVAffHMSk8AxKd4iwWb3Yng7ovqIEP+Iut7MJ/vJ7VuytZOJQVAEQVBiMljOkQvV7HO9B mpnVADo3r5XqeN7asx8AVeWSPxlHWefrM0vudx4DeognsvbD5TVgDyK5t85mISH50l1kE6I8NmBGp N0nFrPGvK8X3eWTPNLa3yNiEZkcC+2vlepCW5yBliy/eQsUsJyoTDudrd4rVx6cDb9mC82fiQV+n3 vMxghsghUso0Lg==; Date: Fri, 16 May 2025 19:07:05 +0300 Message-Id: <86ldqwy1xy.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <26923989.1r3eYUQgxm@fedora> (message from Vincenzo Pupillo on Fri, 16 May 2025 16:03:32 +0200) References: <26923989.1r3eYUQgxm@fedora> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Vincenzo Pupillo <v.pupillo@HIDDEN> > Date: Fri, 16 May 2025 16:03:32 +0200 > > Ciao, > Imenu of ‘mhtml-ts-mode’ was able to show all (when I wrote mhtml-ts-mode) > items regardless of the cursor's position within the file. > For example, it always showed CSS, JavaScript, and HTML items. However, I > realized that the behavior has changed, and the displayed items vary depending > on the cursor's position. > > If the cursor is placed inside the <script> tags, you will see HTML and > JavaScript items, but not CSS items. If the cursor is positioned outside the > <style> and <script> tags, only the HTML items are visible. > > This change seems to be related to the patch (bug #77256). Is it possible to > restore the previous behavior? I think you are talking about commit a6d746400cd? So adding Juri to the discussion.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.