From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#21477: 24.4; Imenu - improper parse of shell function names Date: Thu, 20 Aug 2020 11:41:25 -0700 Message-ID: References: <5F3EBD3F005D05A6003905CC_0_68837@msllnjpmsgsv06> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37447"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 21477@debbugs.gnu.org To: Matthew Persico , schwab@linux-m68k.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 20 20:42:49 2020 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 1k8pWS-0009dJ-OC for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Aug 2020 20:42:48 +0200 Original-Received: from localhost ([::1]:57924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8pWR-0003rU-Qm for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Aug 2020 14:42:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8pVi-00038j-9X for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 14:42:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60769) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k8pVh-0003Xo-Tc for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 14:42:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k8pVh-0001yX-SK for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 14:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Aug 2020 18:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21477 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 21477-submit@debbugs.gnu.org id=B21477.15979488957553 (code B ref 21477); Thu, 20 Aug 2020 18:42:01 +0000 Original-Received: (at 21477) by debbugs.gnu.org; 20 Aug 2020 18:41:35 +0000 Original-Received: from localhost ([127.0.0.1]:44082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8pVH-0001xl-0w for submit@debbugs.gnu.org; Thu, 20 Aug 2020 14:41:35 -0400 Original-Received: from mail-yb1-f171.google.com ([209.85.219.171]:37394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8pVE-0001xY-2E for 21477@debbugs.gnu.org; Thu, 20 Aug 2020 14:41:33 -0400 Original-Received: by mail-yb1-f171.google.com with SMTP id e14so1657306ybf.4 for <21477@debbugs.gnu.org>; Thu, 20 Aug 2020 11:41:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=CHTXTF4SSzVobpBQcKGMNrLazC6DQcWIAm9WgwXY6/Q=; b=tVaesLhiUbs485EueFt8mfR373pP+n2h7XOf5i010bSxuXOTeAKFfTChYtnZxxvg2x PY6y+HnwRuFPOCK3/91y7o8ZWow4YOe5hlKQLU8dcQ2fbfN+SkaK3q8k/elhO2KaVzKK W9p3E2T6m6Ne1lC/NkYIUravfxai35NSu68NGK+PbtwC6nAa+vAvSJHr8og4+dUUD/T4 7/QaIPCH3yrvyLFBncPzfvW4hOZvt0UQz04ZmxX3rYgE5MGWvkyfi6J2i6N1zuAyIgVD MRPBW+xyKSqmqUghoEluUYrbPsVtkQJWjo5iZT0/G2HXMWUep49Jd7hPrMZGMYLXIrn7 HHtg== X-Gm-Message-State: AOAM530V6xlpG94Jh3zIVNC8WZ8x2rWBnw7fBV4s5uQLqlCd1JiPbrww usb+ue77kiCkReCnDVWNyqEJ/8f5B4lJz4V/1N8= X-Google-Smtp-Source: ABdhPJzvwqIGEInNqff55UUYcZJxXAAz4wvc8dOAfkDtaj/3XM49sDZNpPORmMW68ZwNFo1fsSw5reu7V/RwtcM9b0E= X-Received: by 2002:a25:b290:: with SMTP id k16mr6632283ybj.389.1597948886467; Thu, 20 Aug 2020 11:41:26 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 20 Aug 2020 11:41:25 -0700 In-Reply-To: <5F3EBD3F005D05A6003905CC_0_68837@msllnjpmsgsv06> 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:185756 Archived-At: "Matthew Persico (BLOOMBERG/ 919 3RD A)" writes: > I am not sure what is going on here, but I just loaded up this file > and it parsed just fine. Which version of Emacs are you using (M-x emacs-version), and could you show an example of the code where you see the function name highlighted? > Stefan, it's been a while - can you send me a link to my original bug report? https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21477 > Right. Well, then adding syntax highlighting here would in a way > encourage people to write non-POSIX conformant shell code, which even if > it happens to work in Bash sounds like a bad idea. > > So I'm leaning towards closing this bug report as wontfix. > > Any other opinions? I'm still undecided on this point, so other opinions would be welcome. Perhaps this is something we should support optionally only, so we don't help unsuspecting users shoot themselves in the foot. Best regards, Stefan Kangas