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: Wed, 12 Aug 2020 07:08:29 -0700 Message-ID: References: <5F33F3F000D2020C00390369_0_31281@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="13256"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 21477@debbugs.gnu.org To: Matthew Persico Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 12 16:09:11 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 1k5rRG-0003IN-NY for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Aug 2020 16:09:10 +0200 Original-Received: from localhost ([::1]:57662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k5rRF-0007rc-K7 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Aug 2020 10:09:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k5rR8-0007r7-Gu for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2020 10:09:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33505) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k5rR8-0000dy-7q for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2020 10:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k5rR8-000071-3H for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2020 10:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Aug 2020 14:09:02 +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.1597241321396 (code B ref 21477); Wed, 12 Aug 2020 14:09:02 +0000 Original-Received: (at 21477) by debbugs.gnu.org; 12 Aug 2020 14:08:41 +0000 Original-Received: from localhost ([127.0.0.1]:45051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5rQm-00006K-RV for submit@debbugs.gnu.org; Wed, 12 Aug 2020 10:08:41 -0400 Original-Received: from mail-yb1-f177.google.com ([209.85.219.177]:46216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5rQj-000064-PF for 21477@debbugs.gnu.org; Wed, 12 Aug 2020 10:08:39 -0400 Original-Received: by mail-yb1-f177.google.com with SMTP id x10so1404319ybj.13 for <21477@debbugs.gnu.org>; Wed, 12 Aug 2020 07:08:37 -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=KnJNt2m5fnxvoEW0a3E41x88eBjhCGMUStlspIplVJI=; b=uctsAaYxpwgQEb33D+zKb256oummAlPdOY1lstba6URikaexpDyyWSzzgUI7+fy/5b G5zQlCa0VBT8Z6JnycPftkUZR1mpobZYfTdeusXVSGTu74AHnaX0QnwITrfor+I0KIEG /q7AIUGQ6OZo7gX2M2QPPQ7ubUb1c6DpJU1lFaC5gt5dhfrCR/EwWJEuXkZRr/SVYWyd jGWvZNYf679k7iL/HzdUK6DqKUfIpSjc2JZopSS+f/0HQbIrxxPvIsiEyTiMPjU9YTRW f/hSH51AF6HXKQvHsMg3W4pifCwgASQKtmT/OhpGB58UMt4U7sQHyeK45CZkeJw6MGLK TETA== X-Gm-Message-State: AOAM533vcopJCH5vC0vXsgSd5QZ8VIwl9ptRlaoDnGUbOLLm+WnYuiAr KDPyR9HOuSMUUwE5MneYhX3FcNGph7yR7OsD1PI= X-Google-Smtp-Source: ABdhPJwnlAeGLfV2TZC2xmglBn9wDAUF53Ga+qa280wbZUGfNJ+PJupVHYIhWWAq+lTIrKulFuM0E7TzpFG8TJKne1g= X-Received: by 2002:a25:4609:: with SMTP id t9mr197076yba.231.1597241312289; Wed, 12 Aug 2020 07:08:32 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 12 Aug 2020 07:08:29 -0700 In-Reply-To: <5F33F3F000D2020C00390369_0_31281@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:184802 Archived-At: "Matthew Persico (BLOOMBERG/ 919 3RD A)" writes: > Interesting. I have function names with dashes all over and nothing > complains. Not Bash 4.X, not shellcheck. If you ran that file in the > post, it would not complain. > > Now, you can't use dashes in variables. But functions work just fine. > > I wonder if the bash manual needs an update? Would you be willing to ask the bash maintainers about this? Best regards, Stefan Kangas