From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 14596 invoked from network); 13 Nov 2022 05:21:14 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 13 Nov 2022 05:21:14 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1668316874; b=HmSCn8e4np6dCju5Hzl4QyA09tOD5JDMxtiaEfMjDebCAMjtSJRhywtmWBGLE1QegeBytLiL1D /ZBGL1W6QeHl0Ct4q+fBqT3eeh/O56D5K6SX+P3JUX18FtOmAusfCnRHfvGPU7Zk1OUqAhc2Ns 3HzytcwBpy+I4ZeHYWTn9PxaIP9rfdYoarsNir16IaCy5ta5hATmCYm3nsUjkCxcZiwvJvtReR bWXeLFA6QSmFVpXFrbmtF3dMShDztCE8jdAqR/H04SOfb4QT3wMarq6V0W+nFqyONywIc6Usy4 QEMH1H1J3rAWMBhSz0UsPDDeE+VR2qBeErTvoOTV4BVJLg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (out5-smtp.messagingengine.com) smtp.remote-ip=66.111.4.29; dkim=pass header.d=daniel.shahaf.name header.s=fm3 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm1 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1668316874; bh=EPiGY4Y9mP9DgG4jtwfubyek62zPn8opvDRSRwGhTbk=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:DKIM-Signature:DKIM-Signature:DKIM-Signature; b=o6+mKS+NzXiFMaoM08UGcT0sMkKCU/RdURRfIaXiYVpYIdvYjdnr7+reqMU8Qko8tN1zF10wHE b2RrFDmHFhiPKCZsH15lzaD1gBox1+XMQbAqnMzARjwcncMXadY4OihUBHFSba9vzTT4NAKUmG 3Ux6lnodaMAi3Fp0zwp0znm9BzCz5qi29AaBwiuE4Dhxa74pvscxB1a633LPKBQzvULiQud+S2 iYMf2zBi/+8fVgqMmT/Stbsc8fUWnglurYEDUqEW90ulSGmQFBIkszWD9I02p+e65ohERWmx7v a2TqwokJsm/lbj8dnnQIdDABn++AmPmHEKP34s13YI5IWQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=ibCF0VaQX+lDtEfgx5BdLXCGDqSmzgdRjrCKg3hSwJo=; b=ExfHTbNRe6QqmPz+e89Vrh6r+t at03tx7r7bA474cIZc46SYMqO1SIEuurPlLg4BUuBAB4I6mX6wKCIiwWJ1Ht4fFEZHGOqXinYJkGw 9ksVeR1pR910+YMI2AW+tz5yFynzo6GqFaTHMWDzfsGusgjxRKgDxnZb0ItiRevcAwbvjyDBH8QC3 eCpa9xQ1aMsHzadNv3VKUT1bZ8WYiUqhhIp5DLvrFdLB9qQ5SE4bewbBxHr6+XQjn5rW2qGtqYFZ2 RIw088sBbtvxLPmNZ5bpgIY9RIzyQq5shx3gavcwaMoDGpXH+ngSH6y9qZSKt8VvI/x2i49PsqOqr jpwfQEZw==; Received: by zero.zsh.org with local id 1ou5Qf-000IP1-Ip; Sun, 13 Nov 2022 05:21:13 +0000 Authentication-Results: zsh.org; iprev=pass (out5-smtp.messagingengine.com) smtp.remote-ip=66.111.4.29; dkim=pass header.d=daniel.shahaf.name header.s=fm3 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm1 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none Received: from out5-smtp.messagingengine.com ([66.111.4.29]:55339) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1ou5Pt-000I45-8U; Sun, 13 Nov 2022 05:20:25 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 88E675C007F; Sun, 13 Nov 2022 00:20:24 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 13 Nov 2022 00:20:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1668316824; x= 1668403224; bh=ibCF0VaQX+lDtEfgx5BdLXCGDqSmzgdRjrCKg3hSwJo=; b=f eypmzX4SW3LzbRJ4V0QOOGzgU4fLMVvVHyxT7ojdVA9TEROybD4oV3fAyYQ+4wPb gk7o652nv/EGZHA0sM9kFK328Vz2sOM5CfgFtyfUUdEkKS9mB7zVHpXErn2WTjey 332eW+4zoHBGq/q4Q+NuYrOYS7u3Zz63x20G20ZGdA37ia2deZEO+/pUiV3id4UG G+VV4n7lg6LhaIaCKQx8CkK0b6iAK/nn79LxTFsgpoWAyDgi3el9JJ3Fe/y+aWNq UO5VJNl83Hb9jav/Uzq8rvJFIiZ9VR6IlCRdS4Vee/It6SeQOVcXmPBBvoBRlf3I 1qYrVzWhgwgs50ygGv5GA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1668316824; x=1668403224; bh=ibCF0VaQX+lDtEfgx5BdLXCGDqSm zgdRjrCKg3hSwJo=; b=sU0xcwt068VH1PtkzTZbdJaLQTnbfUYByZ4kg5zALwNd q3z5MrIt0339v7GcLtW/vZKsxjKv2ukqoENoYyycwiUNlNG8tAYwbxABCT6a6Der YiPnAwXuteXHvcTN8kVAGsjdlndrt60a/bg5TTvjQvpoFHr1cXVCBM2r7F8TKBVA cf2lljaAnUXUwXSoCw26wKrMBSlkMlKSsidnl1exvwyQlC7OfEkNqavrNYiaQqcR tb+xvIZmWFvkl8wTvpIwFX/aYR4/PcfbkCQB4v9cGPXWweCaHA7JueeTUbLGM7Yf uO61LNgfgi5aLUFUjBDviGgXi0hIbSaBpUZAXJWeXw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrfeelgdekvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenog fuuhhsphgvtghtffhomhgrihhnucdlgeelmdenucfjughrpeffhffvvefukfhfgggtuggj fgesthdttddttdervdenucfhrhhomhepffgrnhhivghlucfuhhgrhhgrfhcuoegurdhsse gurghnihgvlhdrshhhrghhrghfrdhnrghmvgeqnecuggftrfgrthhtvghrnhepieeifeei gefghfdvvdejueeiheefheffteeghedtgfegtefgkeehhfeileegveeinecuffhomhgrih hnpeiishhhrdhorhhgpdhsohhurhgtvghfohhrghgvrdhnvghtnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepugdrshesuggrnhhivghlrdhshh grhhgrfhdrnhgrmhgv X-ME-Proxy: Feedback-ID: i425e4195:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 13 Nov 2022 00:20:24 -0500 (EST) Received: by tarpaulin.shahaf.local2 (Postfix, from userid 1000) id 4N913l70B4zDY; Sun, 13 Nov 2022 05:20:19 +0000 (UTC) Date: Sun, 13 Nov 2022 05:20:19 +0000 From: Daniel Shahaf To: Philippe Altherr Cc: zsh-workers@zsh.org Subject: Re: Documentation and tools to understand and debug the Zsh codebase Message-ID: <20221113052019.GJ27622@tarpaulin.shahaf.local2> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Seq: 50949 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: Philippe Altherr wrote on Sat, Nov 12, 2022 at 23:16:02 +0100: > Hi everyone, > > About a year ago, a friend of mine finally convinced me to look into Zsh. I > quickly became a big fan. All the little extra features and behavior tweaks > add up and make it in my opinion a much better shell than Bash, which I was > using until then. Nevertheless, I still stumbled on a few bugs and > shortcomings. Since I have some free time on my hands, I figured that I > could maybe one day help address some of these. Last week, I finally took > the plunge and started looking into the codebase to understand what was > going on with ERR_EXIT (see related thread > ). > > So far, I have mainly studied exec.c > and loop.c > , which seem > to constitute the bulk of the evaluation loop. I have also seen that zsh.h > contains most > of the important data structures and I he found the description of word > codes in parse.c > , (About this link's syntax, see .) > - How do you search the mailing list? I don't see a search box on > www.zsh.org/mla/. Personally, I've been subscribed to the list for years so I just search my mailbox. The archives are available in rfc822 form (see the left column of https://www.zsh.org/mla/; also available via rsync); you can download that and import it to any mail search tool you like. Leaving your other questions to others. Cheers, Daniel