From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: James Cherti Newsgroups: gmane.emacs.devel Subject: Suggestion of enhancement by adding a hyphen to sh-imenu-generic-expression Date: Sat, 23 Nov 2024 16:04:17 -0500 Message-ID: <183cd0f5-4d8d-401d-8a27-503ee4061cb1@jamescherti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29567"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 23 22:05:14 2024 Return-path: Envelope-to: ged-emacs-devel@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 1tExJY-0007XU-VN for ged-emacs-devel@m.gmane-mx.org; Sat, 23 Nov 2024 22:05:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tExIr-0004dc-65; Sat, 23 Nov 2024 16:04:29 -0500 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 1tExIo-0004dF-Ie for emacs-devel@gnu.org; Sat, 23 Nov 2024 16:04:26 -0500 Original-Received: from shrimp.cherry.relay.mailchannels.net ([23.83.223.164]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tExIm-0001Ue-Gw for emacs-devel@gnu.org; Sat, 23 Nov 2024 16:04:26 -0500 X-Sender-Id: dreamhost|x-authsender|contact@jamescherti.com Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 11D409021ED for ; Sat, 23 Nov 2024 21:04:20 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a288.dreamhost.com (100-112-192-241.trex-nlb.outbound.svc.cluster.local [100.112.192.241]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 9E91D901D68 for ; Sat, 23 Nov 2024 21:04:19 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1732395859; a=rsa-sha256; cv=none; b=OsaQJDOg5gDxhvCIGp1jbYmOLtA3h54UtOP2o0LieCogogF+uBcebXFkLsYUhySmqzvuDZ f3Hz9f+kY9HRjr7+t1V+2JPROmM0TZGPnAFhDhySudyBlf8bOlwbZawjIPGQsQi+3M8XIk Ns04NbvWOS3ujcuNbimam67zsuXTIWKdwJLBhbhGrWTyx5N757uoK4L8HPugxCaFPD2lbk shKsmGzb/63e1MwjnDARIijpmYMdjrcBKvP9tSzDLFSZvchIDRe5aw09ZfEUJxupb/z1hf bIhS2mxw8lkvMBTQMxYxzw0I1ICD3236JCgO8IaeFyKq1zkvtHju+gN5mugPYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1732395859; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=U2vdcCZOZopGrCTZP6hK7dq6Lu4kbVwoZNcqqsK8uKw=; b=4UjeiT16UK/itsIdENfff5iuQM8E60SFaeK26UPXKIde4iyrO8PLT6u+JGX4UEoPl7JKA3 D1HZx8lviJ31PZSnOJp720JG8EnUCARiaaLSNXgUqVjDeY9LmhNIAZbfwcSdCsDhhPV882 923V32/SI8HiLCH1+Pd0sqtyTF3hG3kZ/ke8Dpz6+cFBg1SZGFS4qEbEquNvPj6UiPbqyQ Y1O4oorOPvMnbzo6Utemz747rTN4DitMdfjU7Gz1LaWyEq8k8kC2jpqhl1oiqdNpN4oH4n vQHm68TBK6w7DEiT84UBxYIsaL+WcqwxJ6huQlW3ARb+IvansDHZky77d9eErw== ARC-Authentication-Results: i=1; rspamd-dcc6979f6-8hjsk; auth=pass smtp.auth=dreamhost smtp.mailfrom=contact@jamescherti.com X-Sender-Id: dreamhost|x-authsender|contact@jamescherti.com X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|contact@jamescherti.com X-MailChannels-Auth-Id: dreamhost X-Trouble-Wipe: 5ce74917408fad9b_1732395859864_2888506262 X-MC-Loop-Signature: 1732395859864:4040539873 X-MC-Ingress-Time: 1732395859863 Original-Received: from pdx1-sub0-mail-a288.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.112.192.241 (trex/7.0.2); Sat, 23 Nov 2024 21:04:19 +0000 Original-Received: from [192.168.5.23] (bras-base-toroon0648w-grc-39-184-146-163-190.dsl.bell.ca [184.146.163.190]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: contact@jamescherti.com) by pdx1-sub0-mail-a288.dreamhost.com (Postfix) with ESMTPSA id 4Xwkwz2qrGz39 for ; Sat, 23 Nov 2024 13:04:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jamescherti.com; s=dreamhost; t=1732395859; bh=U2vdcCZOZopGrCTZP6hK7dq6Lu4kbVwoZNcqqsK8uKw=; h=Date:To:From:Subject:Content-Type:Content-Transfer-Encoding; b=eVcJ4eq3hruxFfM0ZxIPRHhWX5hQ0XQQT4j/4TEgJsriNWgKK7mJh8iyG5Vbg5qZo rCfHpI3Lx0caasIW4xCP8useIIWkgc52mlEhtuG9+dJgyfAVfHAVxtTShn6pPvvfnJ 65toB0oxMnQW4cO4QkoEfOqStxmt6h9bC65JlKinjDPL4lcIyeptxdF1+ni/hnfOTf z/NvqhW4ndGJY1AQ6esU2W9P2Q3T84EWLmWMU+plEUgiTvbWxB6HymbmVWM4f4y832 8XvIpPL1LyXVdu4oEliKDieFV8I7UZhjigRJB+8yid0vhTFhP8uTQSm7i0p4HA8vJ+ lWJvIoCzB3FNQ== Content-Language: en-US Received-SPF: pass client-ip=23.83.223.164; envelope-from=contact@jamescherti.com; helo=shrimp.cherry.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:325635 Archived-At: Hello, While editing a Bash shell script today, I discovered that imenu does not include functions with hyphens in their names. While it is true that sh does not allow hyphens in function names, Bash does permit them. My suggestion is to add a hyphen '-' to the sh-imenu-generic-expression (sh-script.el) regular expression to make imenu include these functions, -- James Cherti https://www.jamescherti.com/