From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: eglot-cthier.el --- show call hierarchy with Eglot (formally called eglot-hierarchy) Date: Tue, 10 Dec 2024 15:44:53 +0100 Message-ID: References: <43440606-4506-41c2-a608-18a910376d8e@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28463"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Harald Kirsch Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 10 15:45:24 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 1tL1UK-0007Gc-4u for ged-emacs-devel@m.gmane-mx.org; Tue, 10 Dec 2024 15:45:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tL1U1-0002Ad-34; Tue, 10 Dec 2024 09:45:05 -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 1tL1Tw-00025I-RG for emacs-devel@gnu.org; Tue, 10 Dec 2024 09:45:02 -0500 Original-Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tL1Tu-0003oF-55 for emacs-devel@gnu.org; Tue, 10 Dec 2024 09:45:00 -0500 Original-Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-4361815b96cso3709435e9.1 for ; Tue, 10 Dec 2024 06:44:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733841895; x=1734446695; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=wFj7WcNHgLQOES5VQO2slFeLOlNhRxphYURRPfYIHUs=; b=NjcDtvkfh/NS+EKQ4mFxvPGv7+7V6mJsCeBc5XjIk3tydXJ1EqrI2+N3jDyHo/ZwFY mZ8GgeX8prG99Vh2h0k1KhZkKrIt1ylEAn5xy9E4xpwDIWa4XwP4bsMY189GNarNNMWM YPZrFIZsSAWfMbBNpSCziimic1M314qsorpeRWaM6EQWalBvEnTBtcjTdSQ5UMVLSLbZ lNFn3z/+B4s1vYycmUJcOxb9725o4F2w9+t7SfX3nrs2OSSg5gmM1niVlSxF5TcpIeCb i9T+NtlTcyp5QRSe86oQYGTkttbF7tqEdC2GP5mbLgsi+FA2n7p03FqeSIHKEbzUOTDA lQOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733841895; x=1734446695; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=wFj7WcNHgLQOES5VQO2slFeLOlNhRxphYURRPfYIHUs=; b=sS+Pf/6oAb6FihPFEhWHoQnZaVFT4kGbLkmXQJ8n4iwZUYEbm7gcKbpVZMcyA1kVH/ ZRtSpWkfXF2xkP52oIIAjU8VFXyiaae6wcpRiUtS8HiEtJ+OLpVk1AEoUs7N+oXJqdDK 5OFa0qCMOJMcHAg7rmziGpMrPhWBU7cuFLaX5vN+YkDeNQy9p8mJaRhAcxMh/jSuJUda rxhJ8Q4/1jZ65l9f8THJ90D6SImCgEF9G7QHQCTk6791+vDkXemW20MIZbyxXAb10gPe kYXhDSUvWHVrb3fC27o3gQAPwGss2SkhY7yE2eEuHwraU5GbOTBeDNlrvlSGmyLmQ/qm 1iow== X-Gm-Message-State: AOJu0YyJYE+pei7WZEJ21J1C0RPkvJ7XtXJSSHmy0TuCa3/GGXJHv5fh M8gQUt0+1RHeF24F3A3shpDm0mQtzn8XKKDFNA6KbHIpBIh+Qoq3N9UG/A== X-Gm-Gg: ASbGnct63uVwCTThoXPH6QDk58POIg5VvCnXHMiwjH5MM1ETziLuYKmMMjxqK7CBOsA 15kAjskFV0hjEqW8Z9ujMaGUXTbLeGqRCt5YeIFtInypW/ZCFJZ0I0jYIIbE1wVLsROPWQdMYL/ oAOsz/YV/6tzlse+e6f/QBUjFMT8yUKAd6X7BNBykPLFD4Q2J4LHOPUD6AF2fqyqajusSgmKYS2 9HaK0Jo8+2BanIWg1VUtIq/ahMABCazbZ9azr1bbk4rkIc33E4JZMDONyHvoTVQNeHRX4nvqeBy NOrvohp1XP3FRdRNU2BoPni4CI970xzUgUe3XDJUWs/wiwXDoP/oJvNjEdmiKs4= X-Google-Smtp-Source: AGHT+IEFEYefWw3NcDBrQJFq7M3r1Nb79ZnB8jKMcAufqCY3Ir50cJnjm4dZHJ4cfLypIL5dboCywg== X-Received: by 2002:a05:600c:4749:b0:434:a7e7:a1ca with SMTP id 5b1f17b1804b1-434fffb2d10mr35174165e9.20.1733841895134; Tue, 10 Dec 2024 06:44:55 -0800 (PST) Original-Received: from pro2 (p200300e0b73a150089512521f002ebd0.dip0.t-ipconnect.de. [2003:e0:b73a:1500:8951:2521:f002:ebd0]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4361b09fec0sm1785065e9.4.2024.12.10.06.44.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 06:44:54 -0800 (PST) In-Reply-To: <43440606-4506-41c2-a608-18a910376d8e@gmx.de> (Harald Kirsch's message of "Tue, 10 Dec 2024 13:29:41 +0100") Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=gerd.moellmann@gmail.com; helo=mail-wm1-x32f.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:326292 Archived-At: Harald Kirsch writes: > This shows a call hierarchy as a foldable tree, unfolded on demand. > > Through nice feedback here, on codeberg and on @HaraldKi@nrw.social, it > got a significant update with bug fixes, enhancements and code improvements. > > I test this with eglipse-jdts (Java) and tsc (TypeScript). > > https://codeberg.org/harald/eglot-supplements#call-hierarchy > > Feedback welcome. Major improvement, thanks Harald! I have only one minor wish: could you bind TAB like RET? I think things like profiler-report do that, too. Any plans for the other direction, i.e. functions called from another function?