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=-2.2 required=5.0 tests=DKIM_ADSP_ALL,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3809 invoked from network); 25 Jan 2021 12:50:25 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 25 Jan 2021 12:50:25 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1611579025; b=TnVwAm/FzEa/Gmy7ZiPvtdx3+O3cExblX6S/9x9lneaXCzmnmaAXdKoAVrlpOJ+euwi0zsDIcT EpFo9FIyqhhptPqX7A31a6CQPyW6kYDcniGaCR33aKbeE6rMVu51BSgktF3YjxcMZoV1/+R1So IX7h/iPP1wjT9Gi+YadCcoQQTAsFaL2VTrozWcOQ1SiC3twOjoc8F8r2+3k0MRRJBzSjZQ7sB7 0lftp4O+CvdXSR9IPHHhgHpDqhUdVCowOXKgjRu2P24B5p2NUGmC9ZItAJhzKUVpHfL+2DYBKP 57PPsBmsuWSOMTnMx+ZBWRsNp8v/w3brvniTFd2D1x6Yjg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail.cs.msu.ru) smtp.remote-ip=188.44.42.39; dkim=pass header.d=cs.msu.ru header.s=dkim header.a=rsa-sha256; dmarc=pass header.from=cs.msu.ru; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1611579025; bh=ld99tdNftfGBiYEdDBD8ZoeelKZwZwvoiJ8WA0gHelE=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Subject:In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Cc:To:From:Date:DKIM-Signature:DKIM-Signature; b=myzxJyStsZnsDW3ZiqeQxJw2Eq150p9f3ltoC7IzxHQ43NujFpYOCxSt2icxMarO0SC8iAuYf6 aGlFGXJFW4k8aFBTdVZfHLGouA04z1vbK1d0zGYnLV6vGXd5w8gkh7wcKF6NJaTRpLacn8JMUW 2NxiWh04xrllA3+t1XdGuqFhwufsLDiFyuJu+1jAO1Tip8vnyISRp3Hz126k8Mrxc+C0dJTcV1 ouo59FaevhZ+oCRE3eU+zHpLlzlCB78MTM81T8C+R/PFb9IQCcM4a4CCnnr/Aspbc3Cw+8xJJ5 ALn4xUMeACe8IZifV6pKftmk3XRwvCn2ZVevX9NaIcAszw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Subject:In-Reply-To:Content-Type: MIME-Version:References:Message-ID: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=ld99tdNftfGBiYEdDBD8ZoeelKZwZwvoiJ8WA0gHelE=; b=crZy8Ayso8d+V65w+cJyvepOIv WvmPdSlPEKBcg7kr76Z1nlGPB6V1igtl7FvljYhpqQq09KE64XYIqe3oteeKv250y7+9YYlF747xP NkPzOQ81cG42z87zYW0NsJ3a4bv55dsSjUjm8IAcLt6BKewwoRDhLBjKzSoMqu4/DZ3n3HlZmUROW U5DAjlobC7LXsJTkD+7jXdtZ23bKCRAYp8xtES/iUhQl9I7IyLVsrg+AY+CojRXW51EM3uS1QCyHH v7jYWwJVb5i8c5Z3j2SRarU4LZGUSGSam4T701QW5xYVNyD7qSVescttJiNPWKRH0frn1duoeGWck r2HEVQaA==; Received: from authenticated user by zero.zsh.org with local id 1l41K5-000D6t-5f; Mon, 25 Jan 2021 12:50:25 +0000 Authentication-Results: zsh.org; iprev=pass (mail.cs.msu.ru) smtp.remote-ip=188.44.42.39; dkim=pass header.d=cs.msu.ru header.s=dkim header.a=rsa-sha256; dmarc=pass header.from=cs.msu.ru; arc=none Received: from mail.cs.msu.ru ([188.44.42.39]:59338) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1l41Jt-000Cxu-Ur; Mon, 25 Jan 2021 12:50:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.msu.ru; s=dkim; h=Subject:In-Reply-To:Content-Type:MIME-Version:References:Message-ID :Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ld99tdNftfGBiYEdDBD8ZoeelKZwZwvoiJ8WA0gHelE=; b=GgTdXPgaG2cUOJbqlp2ZcQSTAZ 38aRoR0RTjTw8r3R7L8xFBkBgSxxRLKHj6solgu4EDM0UDK6SIw1kJ1lFw2Hw1GHIOnn86FXAzQ7s 4RfA2n5zLBAqwOuZ/EhLu7Kasyq9GHmW0+FQ2ZXhbZ+DHuwDyBUpZo9ZB0WGgTPLFaK+6hGmOJ1Xf GWM4JaycyijoKD1OeLO7pHR3ArTkNEQeFiXbjkvVoso5XRtWFd/Kuc+aewGtY8J97esytIEHsyl3W upz8/a02m847aiKpkaCxk4vGs+yuL6hDWlhuZ7QmzcuIzaOVmYQKXyee0RElFuX8RX6VS0Hk5YPKz zJyjyQ6A==; Received: from [37.204.119.143] (port=57014 helo=cello) by mail.cs.msu.ru with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94 (FreeBSD)) (envelope-from ) id 1l41Jt-000CRm-FN; Mon, 25 Jan 2021 15:50:13 +0300 Date: Mon, 25 Jan 2021 15:50:12 +0300 From: Arseny Maslennikov To: Roman Perepelitsa Cc: Zsh hackers list Message-ID: References: <20210125081625.3193714-1-ar@cs.msu.ru> <20210125081625.3193714-2-ar@cs.msu.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7yVnfEllPLNuF/Yg" Content-Disposition: inline In-Reply-To: OpenPGP: url=http://grep.cs.msu.ru/~ar/pgp-key.asc X-SA-Exim-Connect-IP: 37.204.119.143 X-SA-Exim-Mail-From: ar@cs.msu.ru Subject: Re: [PATCH 2/2] promptinit: Fix prompt cleanups X-SA-Exim-Version: 4.2.1 X-SA-Exim-Scanned: Yes (on mail.cs.msu.ru) X-Seq: 47871 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: Archived-At: --7yVnfEllPLNuF/Yg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 25, 2021 at 09:23:32AM +0100, Roman Perepelitsa wrote: > On Mon, Jan 25, 2021 at 9:17 AM Arseny Maslennikov wrote: > > > > This problem was previously brought up in zsh-users/23314, to no avail. >=20 > Also related: zsh-workers/46202. Thank you for bringing this up! However, during working on the patch I found out this is not the only problem with prompt theme cleanups. prompt_$theme_setup works both as an autoloaded function to pull the theme components in and as the setup function, so `prompt -h $theme' and `prompt -p $theme' both _activate_ the $theme and fail to run the cleanup actions. --7yVnfEllPLNuF/Yg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE56JD3UKTLEu/ddrm9dQjyAYL01AFAmAOvn0ACgkQ9dQjyAYL 01Ca8w//ZvY5cL7fraV7yi0PnmfhYKfp5h+q9q6QhCveSKpW1n+8eUDEAoFGuwPs dyvJZKAGMnze6bxrMi56BIuObi6vM1LzEBgL4gG8f+HVDQ3Qyf8SrXtLyvZw7X1v UU2mHvXSlhgQT8Bl2x+DEdjv+bo5cFz2qMmXz9fUxk8fUq16hKmpfh6AmorHLiCG rNCCVmxxwSjZz7W9Wy/bwJ3uFfuaVkjw0NdwsNXCFC1/myN2s4VizUwShCmiDaR0 N36um0Cu8G2X9i85SF5SYh5GOdtdOanK0A4OU6+8ArnnmY6MPTpupF3fBKsOVDBB uLGf6LE2ty+UzkXNB8t/m0pEV+Y4CmnR508oeAuGCYzPP07QJg9XosXOeOdMi0d4 pNzRmnTUBx98eKNxN3YlUXstQ3vbBEWAs+QpAY0WLzuiy/3C3fkvADCa86jsc4Ue 90vZ09NUDpbXrL7+3OR0LuiWSBGUNwFNuKt3BvZQTIGn+2fdJi/WIVLp6rhVJcS1 B+Vz2AU8Xn+79OTJpZUV19qBWjugejZTqK4q37/yszKG/D6+j1WQ/EHobhUDzh2Y 0/fvd2xdAnzVp/HPGAupPEKf5HSwaPkLIAnkGjYCFRSvkAylp3zZI/BS4434d/N3 JoqP8S0Qzm6DWwtmqO+MCcEVJoiZp0cPStbFGPZG3ItuvGrqh0M= =06m2 -----END PGP SIGNATURE----- --7yVnfEllPLNuF/Yg--