From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ruijie Yu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#63759: 29.0.91; dockerfile-ts-mode--imenu returns invalid index Date: Sun, 28 May 2023 09:28:23 +0800 Message-ID: References: <83y1l9ipxx.fsf@gnu.org> <3L3FD8w6qqIZzCOUi2VZg1RNgfSDljIQvLCNffR0X9_waGZ1dWIiwyHZoiK-Nkv19wAwKy8PULK5RLDU82cAAQ2OV3ivxGCCdLn4TBVMYNA=@rjt.dev> Reply-To: Ruijie Yu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24748"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.9.22; emacs 30.0.50 Cc: Eli Zaretskii , Jimmy Yuen Ho Wong , 63759@debbugs.gnu.org To: Randy Taylor Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 28 03:29:18 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 1q35Di-0006Fg-NG for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 May 2023 03:29:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q35DU-00048s-Qf; Sat, 27 May 2023 21:29: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 1q35DS-00048X-T8 for bug-gnu-emacs@gnu.org; Sat, 27 May 2023 21:29: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 1q35DS-0005X5-Lt for bug-gnu-emacs@gnu.org; Sat, 27 May 2023 21:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q35DS-0008Ow-DM for bug-gnu-emacs@gnu.org; Sat, 27 May 2023 21:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ruijie Yu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 May 2023 01:29: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.168523732432266 (code B ref 63759); Sun, 28 May 2023 01:29:02 +0000 Original-Received: (at 63759) by debbugs.gnu.org; 28 May 2023 01:28:44 +0000 Original-Received: from localhost ([127.0.0.1]:52815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q35D9-0008OM-QY for submit@debbugs.gnu.org; Sat, 27 May 2023 21:28:44 -0400 Original-Received: from netyu.xyz ([152.44.41.246]:41466 helo=mail.netyu.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q35D8-0008OC-5I for 63759@debbugs.gnu.org; Sat, 27 May 2023 21:28:42 -0400 Original-Received: from fw.net.yu.netyu.xyz ( [222.248.4.98]) by netyu.xyz (OpenSMTPD) with ESMTPSA id 0b81adb6 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 28 May 2023 01:28:40 +0000 (UTC) In-reply-to: <3L3FD8w6qqIZzCOUi2VZg1RNgfSDljIQvLCNffR0X9_waGZ1dWIiwyHZoiK-Nkv19wAwKy8PULK5RLDU82cAAQ2OV3ivxGCCdLn4TBVMYNA=@rjt.dev> 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:262496 Archived-At: Randy Taylor 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