From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Randy Taylor Newsgroups: gmane.emacs.bugs Subject: bug#63759: 29.0.91; dockerfile-ts-mode--imenu returns invalid index Date: Wed, 31 May 2023 13:03:31 +0000 Message-ID: References: <83y1l9ipxx.fsf@gnu.org> <3L3FD8w6qqIZzCOUi2VZg1RNgfSDljIQvLCNffR0X9_waGZ1dWIiwyHZoiK-Nkv19wAwKy8PULK5RLDU82cAAQ2OV3ivxGCCdLn4TBVMYNA=@rjt.dev> <0EAFO0dt2aGv_b4IpqeoEFbeJOQ7nGwDT5YRFYOJjZT174aJgf0tVqpJu-Vl5MvqNX2vJU5pUS5uIStEkQjBKHB535Yzieu4DqZfveAVuEk=@rjt.dev> <2e8cb794-221b-4805-bda0-aafe64ba6cf3@Spark> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29364"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Ruijie Yu , Eli Zaretskii , 63759@debbugs.gnu.org To: Jimmy Wong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 31 15:04:22 2023 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 1q4LUy-0007N1-Ul for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 31 May 2023 15:04:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q4LUi-0000iL-1p; Wed, 31 May 2023 09:04:04 -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 1q4LUg-0000dB-Q8 for bug-gnu-emacs@gnu.org; Wed, 31 May 2023 09:04:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q4LUg-0000LA-HP for bug-gnu-emacs@gnu.org; Wed, 31 May 2023 09:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q4LUg-0008F3-CW for bug-gnu-emacs@gnu.org; Wed, 31 May 2023 09:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Randy Taylor Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 May 2023 13:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63759 X-GNU-PR-Package: emacs Original-Received: via spool by 63759-submit@debbugs.gnu.org id=B63759.168553823031647 (code B ref 63759); Wed, 31 May 2023 13:04:02 +0000 Original-Received: (at 63759) by debbugs.gnu.org; 31 May 2023 13:03:50 +0000 Original-Received: from localhost ([127.0.0.1]:35070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q4LUT-0008EN-Sr for submit@debbugs.gnu.org; Wed, 31 May 2023 09:03:50 -0400 Original-Received: from mail-4022.proton.ch ([185.70.40.22]:61273) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q4LUR-0008E9-Ki for 63759@debbugs.gnu.org; Wed, 31 May 2023 09:03:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rjt.dev; s=protonmail3; t=1685538219; x=1685797419; bh=RZc/J2K5qtS/5hQMHSI4rKNb3b3vIJ1lfsDzimwcV6A=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=XB1LPNO/iIU13l3iG+an/CjSNpNHPxqjH8XgagobN3GCPdWKS6c9LNqgyu0mJ/Ndw aLKzHISREILeq702j1pta+EFB9BOw+mF/4UnrzQ/zD2JyQxi/ZOE41SGYwHtPpgHld 84uix7h7W/A1oiYcnzT52QQ4xJzH6AEf/qXkMai60uV9BcP6NZjtQ7tmNSTKu2LEng CkOifesJuCtom2MUXMToV8+qUZdoHJbNFqucHslNUOjzAQxgv6dM8VrR4Qye55RFBy NdCIlBplvfROy3ClatD3J7Lg8FiGDT9H2dsBQHj/HLgka5d/A24ydU95ip1Jl+7ire 7pEXuf1L8Nenw== In-Reply-To: <2e8cb794-221b-4805-bda0-aafe64ba6cf3@Spark> Feedback-ID: 44397038:user:proton 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:262658 Archived-At: On Sunday, May 28th, 2023 at 06:34, Jimmy Wong wrote: > This patch works! Thank you! Thanks for testing. Would someone be able to install the patch to emacs-29? > On 28 May 2023 at 3:08 AM +0100, Randy Taylor , wrote: >=20 > > On Saturday, May 27th, 2023 at 21:28, Ruijie Yu wrot= e: > >=20 > > > Randy Taylor dev@rjt.dev writes: > > >=20 > > >=20 > > > > Thanks for the report Jimmy. > > > >=20 > > > > Patch attached. > > > >=20 > > > > [2. text/x-patch; 0001-dockerfile-ts-mode-Prevent-empty-categories-= in-imenu.patch]... > > >=20 > > >=20 > > >=20 > > > I think you can get rid of the `append' call, no? > > >=20 > > > -- > > > Best, > > >=20 > > >=20 > > > RY > >=20 > >=20 > > Good point, thanks. That's what I get for lazily copying from my other = tree-sitter mode :). > >=20 > > New patch attached.