From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jimmy Wong Newsgroups: gmane.emacs.bugs Subject: bug#63759: 29.0.91; dockerfile-ts-mode--imenu returns invalid index Date: Sun, 28 May 2023 11:34:15 +0100 Message-ID: <2e8cb794-221b-4805-bda0-aafe64ba6cf3@Spark> References: <83y1l9ipxx.fsf@gnu.org> <3L3FD8w6qqIZzCOUi2VZg1RNgfSDljIQvLCNffR0X9_waGZ1dWIiwyHZoiK-Nkv19wAwKy8PULK5RLDU82cAAQ2OV3ivxGCCdLn4TBVMYNA=@rjt.dev> <0EAFO0dt2aGv_b4IpqeoEFbeJOQ7nGwDT5YRFYOJjZT174aJgf0tVqpJu-Vl5MvqNX2vJU5pUS5uIStEkQjBKHB535Yzieu4DqZfveAVuEk=@rjt.dev> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="64732e2d_2ca3388_b973" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11078"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 63759@debbugs.gnu.org To: Ruijie Yu , Randy Taylor Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 28 12:35:23 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 1q3DkA-0002ei-Pl for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 May 2023 12:35:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3Djt-0006WJ-6u; Sun, 28 May 2023 06:35:05 -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 1q3Djr-0006W5-5N for bug-gnu-emacs@gnu.org; Sun, 28 May 2023 06:35:03 -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 1q3Djq-0006dt-KU for bug-gnu-emacs@gnu.org; Sun, 28 May 2023 06:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q3Djq-00037D-GE for bug-gnu-emacs@gnu.org; Sun, 28 May 2023 06:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jimmy Wong Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 May 2023 10:35: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.168527006911932 (code B ref 63759); Sun, 28 May 2023 10:35:02 +0000 Original-Received: (at 63759) by debbugs.gnu.org; 28 May 2023 10:34:29 +0000 Original-Received: from localhost ([127.0.0.1]:53347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3DjI-00036O-Kj for submit@debbugs.gnu.org; Sun, 28 May 2023 06:34:28 -0400 Original-Received: from mail-wm1-f49.google.com ([209.85.128.49]:58551) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3DjG-00036A-Pf for 63759@debbugs.gnu.org; Sun, 28 May 2023 06:34:28 -0400 Original-Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-3f6dfc4dffaso15164955e9.0 for <63759@debbugs.gnu.org>; Sun, 28 May 2023 03:34:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685270061; x=1687862061; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=rg+T85Lu0orrVSV2twBhJFIgofQ9EXG5srGDew0FDNA=; b=Diukucnp0vshBCSLeWB6QJ+kImeg0xAQ3maRMWrnGFWVbzEAZjh6uJOB9NFRi+dqay ofkuKsipylT1I0m9noy16D9Ad9GJJYiB1JQbJjw0x4KdGNthhxI6yLKZUC8j6uCS5RJi aOM6wVTClLCImTttY0eROybSoMjgyF6II74sItwoJOeQlSiVnX18SfwRHQIE1ZH87cAX 91zRMja1Pc8C9oSxWoEzk7a/ZRue7PevTle2rFrGPeOqQV7rnbItXdscVcechowJtF7m lIO8tA2JH9HmcbwoBpjgjfulw45riTUjufGXtbsRDmEZ33pYCMF93aRqvqmAc8CZB/5L ttnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685270061; x=1687862061; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rg+T85Lu0orrVSV2twBhJFIgofQ9EXG5srGDew0FDNA=; b=AO3DEP2BIcuPVLg2EDdo06KOx6BbMBlDiZ29pPfNzkReXfnNFyuJpcsNwJPCMLMUMO bVFaBoTtzKXlHUcBXV7jqCq/j5Ce1OXIxJUfxpKTMZU2Gq6tLJUP88zGLaDTglPessm/ ykvNddsoQbl46y0mbtfPux1lkyPIugBM/RNYNXZIKFSHuU0PRTUwn13/fwT7E/N1SXF0 APycZ+QIUp9gO6T19r8diFwl90ZqFU6c4ND4kxWqfskrGCYTg2u2u8pdXtSEgKDgr4zG BxJ6brycKBcnKro8AaKJ+uiBbAbfZdG3RbKr3Wot3URNBdBcOqSJGnAaOwWxRP3lyeUe LWhw== X-Gm-Message-State: AC+VfDw8GZh+SjZ2Tc8/mdqbXaA6GuQfHwaW92yKDC7rhOpHYAIyMl0j qOxHhRJRqMXnQLAaZd6PT68= X-Google-Smtp-Source: ACHHUZ5dhzk1QRUdiDBJ/sQDE7bPDe3xXB/HD/sa7aozIYoMKpyrSFB8LXF83UzuHO5OiihlWt5uCA== X-Received: by 2002:a1c:4b15:0:b0:3f6:113f:9184 with SMTP id y21-20020a1c4b15000000b003f6113f9184mr8170106wma.19.1685270060836; Sun, 28 May 2023 03:34:20 -0700 (PDT) Original-Received: from [2a01:4b00:89a0:2400::ffff:ffff] ([2a01:4b00:89a0:2400:2475:e966:d579:bf7f]) by smtp.gmail.com with ESMTPSA id t7-20020a7bc3c7000000b003f6132f95e6sm14297595wmj.35.2023.05.28.03.34.20 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 May 2023 03:34:20 -0700 (PDT) In-Reply-To: <0EAFO0dt2aGv_b4IpqeoEFbeJOQ7nGwDT5YRFYOJjZT174aJgf0tVqpJu-Vl5MvqNX2vJU5pUS5uIStEkQjBKHB535Yzieu4DqZfveAVuEk=@rjt.dev> X-Readdle-Message-ID: 2e8cb794-221b-4805-bda0-aafe64ba6cf3@Spark 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:262527 Archived-At: --64732e2d_2ca3388_b973 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline This patch works! Thank you! On 28 May 2023 at 3:08 AM +0100, Randy Taylor , wrote: > On Saturday, May 27th, 2023 at 21:28, Ruijie Yu wrote: > > Randy Taylor dev@rjt.dev writes: > > > > > Thanks for the report Jimmy. > > > > > > Patch attached. > > > > > > [2. text/x-patch; 0001-dockerfile-ts-mode-Prevent-empty-categories-in-imenu.patch]... > > > > > > I think you can get rid of the `append' call, no? > > > > -- > > Best, > > > > > > RY > > Good point, thanks. That's what I get for lazily copying from my other tree-sitter mode :). > > New patch attached. --64732e2d_2ca3388_b973 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
This patch works=21 Thank you=21
On 28 May 2023 at 3:08 AM +0100, Ra= ndy Taylor <dev=40rjt.dev>, wrote:
On Saturday, May 27th, 2023 at 21:28, Ruijie Yu <ruijie=40ne= tyu.xyz> wrote:
Randy Taylor dev=40rjt.dev writes:

Thanks for the report Jimmy.

Patch attached.

=5B2. text/x-patch; 0001-dockerfile-ts-mode-Prevent-empty-categories-in-i= menu.patch=5D...


I think you can get rid of the =60append' call, no=3F

--
Best,


RY

Good point, thanks. That's what I get for lazily copying from my other tr= ee-sitter mode :).

New patch attached.
--64732e2d_2ca3388_b973--