From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Adam Porter Newsgroups: gmane.emacs.bugs Subject: bug#58431: 29.0.50; [Eglot] Add "breadcrumb.el" feature based, on imenu.el/project.el services Date: Tue, 18 Apr 2023 13:10:57 -0500 Message-ID: References: <87czayra73.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28422"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Cc: Eli Zaretskii , =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= , Daniel =?UTF-8?Q?Mart=C3=ADn?= To: 58431@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 18 20:11:22 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 1popnV-0007Cz-D7 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Apr 2023 20:11:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1popnE-0006qE-0U; Tue, 18 Apr 2023 14:11:04 -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 1popnC-0006pz-PF for bug-gnu-emacs@gnu.org; Tue, 18 Apr 2023 14:11: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 1popnC-0005g3-Gb for bug-gnu-emacs@gnu.org; Tue, 18 Apr 2023 14:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1popnC-0006GP-9w for bug-gnu-emacs@gnu.org; Tue, 18 Apr 2023 14:11:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87czayra73.fsf@gmail.com> Resent-From: Adam Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Apr 2023 18:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58431 X-GNU-PR-Package: emacs Original-Received: via spool by 58431-submit@debbugs.gnu.org id=B58431.168184146124069 (code B ref 58431); Tue, 18 Apr 2023 18:11:02 +0000 Original-Received: (at 58431) by debbugs.gnu.org; 18 Apr 2023 18:11:01 +0000 Original-Received: from localhost ([127.0.0.1]:60350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1popnA-0006G8-Ro for submit@debbugs.gnu.org; Tue, 18 Apr 2023 14:11:01 -0400 Original-Received: from bee.birch.relay.mailchannels.net ([23.83.209.14]:13262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1popn7-0006Fy-JT for 58431@debbugs.gnu.org; Tue, 18 Apr 2023 14:10:59 -0400 X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 3FCA06423C9; Tue, 18 Apr 2023 18:10:55 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a232.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id BB855641823; Tue, 18 Apr 2023 18:10:54 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1681841454; a=rsa-sha256; cv=none; b=aGOdWBbSSYOev1upK1xTBFkYUECEhhrPU5HbFU98tnMu9OUO9xnbMiVrpnVqFqekY0gQx+ laBL+Ip+ke3b3LOjVa2X1VEjkJtVcIAvRD4qZZiu43kcLg/aDQetymxsR/44jgW6Ie80Dp QaXbKJdpH0SQmdrnyz/eZW0OmosULgeSyqh7JuNvG25wFC8dtlQaqPBTN0pA+tVvK+oxi9 AyNylWhqrR6yx5t8WqcKN0yd2yYzLZUbF8YUQhgRnYkKP/sGBEyNmhjCctFRynqCyDoF6Z XHVRCN93891r7sXh11fEUAEmHM3KscMUJ6QGRwJVIEXdxVKjcGxHxxjkAjE/XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1681841454; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=l9IHVBYlMlizfgo+/fc4wTwqHNM1PqWoswBcyKsyqDU=; b=Su5ikrGFNtoMlZobQgSim9QgZqtxnPSwrz3Y6vooI489WO9omfkEwvsmEyvxZzIRvYSkON OoZ+JmvKiE5+53SzzOatI2rDill4pfW+MzkJs+FIDBXYqD0M9Dy5wwsuS/t8NyKzrXw4R3 JKoXJrdQn62Kgx/lXlwg3MILlihfS52+gtJDUwirHBBjNPDcJjl6OAdhhE4Fvetr9KIINM KFpAjO0p1G+qPyARPN6csh0l+JBV1UBks5WoyoRbMhMSagFm1jgeeYg4o6tqXzJfN/SIFT uiT6Mct2b3qRharPKDJJKt6oO/Qc8jEqD2djLQW6/FySVemHirPtU9JfRaWsCg== ARC-Authentication-Results: i=1; rspamd-7f66b7b68c-k66cl; auth=pass smtp.auth=dreamhost smtp.mailfrom=adam@alphapapa.net X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|adam@alphapapa.net X-MailChannels-Auth-Id: dreamhost X-Daffy-Drop: 753203e437cd2042_1681841455021_3697038017 X-MC-Loop-Signature: 1681841455021:4041950862 X-MC-Ingress-Time: 1681841455020 Original-Received: from pdx1-sub0-mail-a232.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.114.243.1 (trex/6.7.2); Tue, 18 Apr 2023 18:10:55 +0000 Original-Received: from [10.66.0.114] (unknown [91.193.232.98]) (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: adam@alphapapa.net) by pdx1-sub0-mail-a232.dreamhost.com (Postfix) with ESMTPSA id 4Q1Bmt0WFdz7K; Tue, 18 Apr 2023 11:10:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alphapapa.net; s=dreamhost; t=1681841454; bh=l9IHVBYlMlizfgo+/fc4wTwqHNM1PqWoswBcyKsyqDU=; h=Date:To:Cc:From:Subject:Content-Type:Content-Transfer-Encoding; b=siE61tcZ09IL2ELUXqeTyFGLhE8A5Wg/Y07OY/LQZSUZMCdCvapGYUdm55aI/ffue KFSOKceXx0WScyayAdUyS2HrEOvDhJvVtbo1jr2prs1i3gL6IrrwXYrb6+qiprUYRR qJCcPxoJDWeg+jDygyxY6IpTUr2m6AzdMurcO2Gm+CfxLNUA81IqcjkyvgeDgB+4KV ALDuyWzr4Or1QmMOyGNJlT9BqcxytoutKd0jttJeiX/fbnEIjKRL5S9IDeUc2Vu9QR 6MplIax+XOIZIHMnW/GO4pNvU0ETTzTCYx5k6ysWtuiFqwDPgmV4TViibddqqnWrom NjJBbyCNpR2sw== Content-Language: en-US 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:260230 Archived-At: Daniel Martín yahoo.es> writes: >> This is similar to which-func.el, which displays the trailing element of >> the breadcrumb in the headerline. Perhaps the breadcrumb feature can be >> thought of as an augmentation of which-func.el's functionality. I don't >> have a strong opinion there. > > I see this feature as an augmentation of which-func.el. The purpose is > to show what is the current defun, but the how and where (mode line or > header line) is a configuration option. > > In recent versions of IDEs and text editors another header line UI to > show the current function is getting popular, something like our old > Sticky Function mode. As with this breadcrumb UI, I think its logic > belongs more to which-func-mode.el and shouldn't be coupled to Semantic. FWIW, this sounds similar to the topsy.el library I published on MELPA a couple of years ago. It aims to provide similar (or better) functionality than semantic-stickyfunc-mode without using Semantic. https://github.com/alphapapa/topsy.el If any of its code would be helpful, I'd be glad to "donate" it to ELPA/Emacs.