From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matt Newsgroups: gmane.emacs.help Subject: Re: Navigating Lisp data structures Date: Tue, 06 Dec 2022 23:06:39 -0500 Message-ID: <184eac39ef5.10ef824861550048.9156825989194888863@excalamus.com> References: <184de82cf09.eebfb5c8843687.6482234845227025147@excalamus.com> <87a6421u7a.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26227"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Zoho Mail Cc: "help-gnu-emacs" To: "Eric Abrahamsen" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 07 05:07:27 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 1p2liR-0006ZU-5L for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 07 Dec 2022 05:07:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2lhr-00063B-7n; Tue, 06 Dec 2022 23:06:51 -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 1p2lho-000631-II for help-gnu-emacs@gnu.org; Tue, 06 Dec 2022 23:06:48 -0500 Original-Received: from sender4-op-o12.zoho.com ([136.143.188.12]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2lhm-0000kk-Ep for help-gnu-emacs@gnu.org; Tue, 06 Dec 2022 23:06:48 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1670386000; cv=none; d=zohomail.com; s=zohoarc; b=jQfPhN9vMJvbZs+0J4zQpdeIbHVYk2MGnpEQMX3QBZrDuaILUJKnPwAByOt+WCqIZ+q7ZLr0qupc20EJERLhIszRpKyCbUvkoSWC3oZV2sROnBzqFMVInVIfS+H7xoZ+XQBd4V5E+qnLdxB8fHDkmto+0xqt5ZVY1CTme0wgftM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1670386000; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=bR82ADZwUq1DJo+9fzzQuTpS/bHZuxhSj6HajEpaN9A=; b=GHMHdN6eHD2/lgd8QVOeedtF87ONPCxqxJBAmTKgn+tioN6FxSljvtb2c9z7IzFTPmvpoisNZonQMwRGSku1EWGFM+kH7/uc53EUvZdARMA6Z7c1EBvUL5nWtmWY/CZ5p4ixp1x/hwxgNlp62kecF6D2csRcegRlnfccwS03jno= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=excalamus.com; spf=pass smtp.mailfrom=matt@excalamus.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1670386000; s=zmail; d=excalamus.com; i=matt@excalamus.com; h=Date:Date:From:From:To:To:Cc:Cc:Message-ID:In-Reply-To:References:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=bR82ADZwUq1DJo+9fzzQuTpS/bHZuxhSj6HajEpaN9A=; b=Ne5Ue8bIMRnUUP/2JQZWja+HNs3YUgUgQRb6zvS/ppqEDQ3Z+a3zPtjMPhTjEU4n QL3NbVziUbvFcCF4gmgI++DZhiEDOHmfMiwk1bjiNNwRBbAQNaptgGE23aHEsZZHAde HUht+x0eOa8t+M2c6TEvqv5oGuIPIOkgMtKW7veU= Original-Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1670385999620445.6132198581312; Tue, 6 Dec 2022 20:06:39 -0800 (PST) In-Reply-To: <87a6421u7a.fsf@ericabrahamsen.net> Importance: Medium X-Mailer: Zoho Mail Received-SPF: pass client-ip=136.143.188.12; envelope-from=matt@excalamus.com; helo=sender4-op-o12.zoho.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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:141451 Archived-At: ---- 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? > 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. > There are/have been some truly monster discussion threads recently in > emacs.devel and the bug tracker about how to expand and make use of > projects, so that's very much in the process of evolution. I haven't > seen anyone suggest incorporating window layout into projects, and I'll > bet that some people would find that interesting. > > Just a suggestion! Thanks for the suggestion and for welcoming my opinion!