From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: Navigating Lisp data structures Date: Wed, 07 Dec 2022 10:01:44 -0800 Message-ID: <87mt7zm6t3.fsf@ericabrahamsen.net> References: <184de82cf09.eebfb5c8843687.6482234845227025147@excalamus.com> <87a6421u7a.fsf@ericabrahamsen.net> <184eac39ef5.10ef824861550048.9156825989194888863@excalamus.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20843"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: "help-gnu-emacs" To: Matt Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 07 19:02:25 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 1p2ykT-00059B-BI for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 07 Dec 2022 19:02:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2yk1-0005nt-8B; Wed, 07 Dec 2022 13:01:57 -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 1p2yjy-0005nD-RW for help-gnu-emacs@gnu.org; Wed, 07 Dec 2022 13:01:54 -0500 Original-Received: from mail.ericabrahamsen.net ([52.70.2.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2yjs-00017t-GT for help-gnu-emacs@gnu.org; Wed, 07 Dec 2022 13:01:54 -0500 Original-Received: from localhost (unknown [76.135.104.211]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 8A2E4FA097; Wed, 7 Dec 2022 18:01:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1670436105; bh=VXYt4hD8BcaFznEhXTNtIU7gzU27HHx4fDR6x0a8P5A=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=m3BiJWPOpQ1n63Jfy2rYTc7r4DTUh+9EuxohuQmbsxS05KxzLSfbt0mC7sw2A+LDy A0mvw0jB1cv4YEvBxu2kudc9CTQQSeVswwu3tp92SIAntNM2K/3IT1JGozQnvndACg oa1ndo7Rs6H9P0IynjDPkXbdYW/3vbGCv0+8lkmo= In-Reply-To: <184eac39ef5.10ef824861550048.9156825989194888863@excalamus.com> (Matt's message of "Tue, 06 Dec 2022 23:06:39 -0500") Received-SPF: pass client-ip=52.70.2.18; envelope-from=eric@ericabrahamsen.net; helo=mail.ericabrahamsen.net X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:141454 Archived-At: Matt writes: > ---- On Sun, 04 Dec 2022 21:05:13 -0500 Eric Abrahamsen wrote --- > > Wow, it looks like you're recreating complete project management > > facilities from scratch! That's impressive, and also a bit terrifying. > > Yeah, pretty much :) > > I've been refactoring a package I wrote and have been using for a few > years now, peut-gerer (https://codeberg.org/excalamus/peut-gerer). I > found I'd written a handful of utilities sharing the loose theme of > "project workflow management" and so packaged them up. I recall at the > time project.el being largely undocumented (it seems to have an info > entry now) and was, at least to me, incoherent. I'm glad to see it's > been developed since then. I also found myself reading the projectile > documentation trying to figure out how to do what I wanted instead of > actually coding. Why spend 30 minutes reading when you could spend 30 > hours programming, right? Ugh, I know that mindset... > > Your adventurous spirit is to be commended, but you might _also_ look > > into making use of more of Emacs' built-in facilities for this stuff. > > Emacs has projects, and projects have `project-compile', which calls > > `compile', and a bunch of the config above looks like it could be worked > > into existing facilities. > > I agree, it looks like what I'm doing could be fit to project.el. I > appreciate you mentioning it because I was able to steal some ideas >>:) Unfortunately, I still find the documentation for project.el > lacking. Specifically, there appears to be nothing about how to > actually define a project. All the commands assume one exists. I'm on > 28.2, though, so maybe the documentation and code is different on > HEAD. And like I said, it's all under very active development, and I think will end up looking much different (and much more feature-complete) in a few months' time. Personally I'm making the minimal effective use of project.el (and eglot), and waiting for the dust to clear to invest more time in customization. But I do think they appreciate hearing feature requests and use cases.