From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Kevin Vigouroux via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Re: Functions in bash do not always show in speedbar. Date: Mon, 07 Feb 2022 05:22:45 +0100 Message-ID: <874k5bcnl6.fsf@laposte.net> References: Reply-To: Kevin Vigouroux Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4231"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 07 05:23:18 2022 Return-path: Envelope-to: geh-help-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 1nGvYb-0000zO-GK for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 07 Feb 2022 05:23:17 +0100 Original-Received: from localhost ([::1]:32788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGvYa-0007FS-4J for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 06 Feb 2022 23:23:16 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGvYC-0007FK-C0 for help-gnu-emacs@gnu.org; Sun, 06 Feb 2022 23:22:52 -0500 Original-Received: from smtp-outgoing-1801.laposte.net ([160.92.124.102]:45286) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGvY9-0008S5-Gv for help-gnu-emacs@gnu.org; Sun, 06 Feb 2022 23:22:51 -0500 X-mail-filterd: {"version":"1.3.4", "queueID":"4JsY061DFszSgpM", "contextId":"67d2486a-4797-4369-aa0f-7a4c09806d9a"} Original-Received: from outgoing-mail.laposte.net (localhost.localdomain [127.0.0.1]) by mlpnf0112.laposte.net (SMTP Server) with ESMTP id 4JsY061DFszSgpM for ; Mon, 7 Feb 2022 05:22:46 +0100 (CET) X-mail-filterd: {"version":"1.3.4", "queueID":"4JsY0573rtzSgpL", "contextId":"5dc9988f-495f-42de-8499-2b99ae7e47d6"} X-lpn-mailing: LEGIT X-lpn-spamrating: 50 X-lpn-spamlevel: not-spam X-lpn-spamcause: OK, (0)(0000)gggruggvucftvghtrhhoucdtuddrgedvvddrheeggdeiiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfntefrqffuvffgpdggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufhfffgjkfgfgggtgfesthhqredttderjeenucfhrhhomhepmfgvvhhinhcugghighhouhhrohhugicuoehkvgdrvhhighhouhhrohhugieslhgrphhoshhtvgdrnhgvtheqnecuggftrfgrthhtvghrnhepkeetjeetffegveeggeeugeekfeegkeefgedttdevhfffjeegfeekgfefgfekledtnecukfhppeeltddrfedvrdekkedrvddvjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeltddrfedvrdekkedrvddvjedphhgvlhhopegrrhgrghhoghdpmhgrihhlfhhrohhmpehkvgdrvhhighhouhhrohhugieslhgrphhoshhtvgdrnhgvthdpnhgspghrtghpthhtohepuddprhgtphhtthhopehhvghlphdqghhnuhdqvghmrggtshesghhnuhdrohhrghdpmhhouggvpehsmhhtphhouhht Original-Received: from aragog (arennes-656-1-400-227.w90-32.abo.wanadoo.fr [90.32.88.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mlpnf0112.laposte.net (SMTP Server) with ESMTPSA id 4JsY0573rtzSgpL for ; Mon, 7 Feb 2022 05:22:45 +0100 (CET) Mail-Followup-To: help-gnu-emacs@gnu.org In-Reply-To: (Stefan Monnier via Users list for the's message of "Sun, 06 Feb 2022 22:35:33 -0500") DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=laposte.net; s=lpn-wlmd; t=1644207766; bh=tw3dZT6B9u15pDKktAJ/1edargQyn+qxE1daQdMnOAY=; h=From:To:Subject:References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; b=mYimCXfdYDMOPK+RMqIbis4xKd+yzVlda92xdt6qjhZWZdG/L2E0zhPG27No55raeQO/ndOGaAHRc3qJSpGVJzdcb4dS3DEsDk5skTphCXGUUqPnpxWgWQW2SEMaCKTWILyHrdxebVINQpCJA26DpkDhQvzSk8NCjGyaRrBLciFTxvcQ2YtX9sFChEjv7IPq9vb7n31c+st5goVhO4LkAENg8Jft2WhxFUXFpdrL/ygcFOZeNxyPwi2UKvQExwFPZLsfKFDJlN/qR07VsJHkX1zb9+PGOVREly1qASKETM9gRipP5lRKjM+T1knf7INdwJQxN2xDJfYamhglhjBu5Q==; Received-SPF: pass client-ip=160.92.124.102; envelope-from=ke.vigouroux@laposte.net; helo=smtp-outgoing-1801.laposte.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135795 Archived-At: Stefan Monnier via Users list for the GNU Emacs text editor writes: > goncholden via Users list for the GNU Emacs text editor [2022-02-07 02:37= :23] wrote: >> Have noticed that functions in bash do not always show in speedbar. Is t= here some setup I can do >> for them to show up? Note that `speedbar-supported-extension-expressions' may not match the =E2=80=9C.sh=E2=80=9D extension. > > M-x report-emacs-bug RET > > and give enough details for someone else to reproduce the problem? > I strongly suspect that you can reduce the problem to: > > emacs -q .../my/foo.sh > M-x imenu TAB > > where the completions given after this TAB don't include some of the > functions you have in that `foo.sh`. #+begin_quote When you change the contents of a buffer, if you add or delete definitions, you can update the buffer=E2=80=99s index based on the new con= tents by invoking the =E2=80=98*Rescan*=E2=80=99 item in the menu. Rescanning ha= ppens automatically if you set =E2=80=98imenu-auto-rescan=E2=80=99 to a non-=E2= =80=98nil=E2=80=99 value. There is no need to rescan because of small changes in the text. #+end_quote > So trim the file down to just those functions and included it in your > bug report, so we can see what they look like. > > > Stefan > --=20 Kevin Vigouroux Best regards