From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id INTiI1cY42H2vQAAgWs5BA (envelope-from ) for ; Sat, 15 Jan 2022 19:54:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uARKIVcY42EiQgEA9RJhRA (envelope-from ) for ; Sat, 15 Jan 2022 19:54:15 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 21FA73B00A for ; Sat, 15 Jan 2022 19:54:15 +0100 (CET) Received: from localhost ([::1]:58794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8oBo-000669-Jx for larch@yhetil.org; Sat, 15 Jan 2022 13:54:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8o9i-00051i-Ri for guix-patches@gnu.org; Sat, 15 Jan 2022 13:52:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48832) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8o9i-0000Ay-Gm for guix-patches@gnu.org; Sat, 15 Jan 2022 13:52:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8o9i-0004Sm-HE for guix-patches@gnu.org; Sat, 15 Jan 2022 13:52:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53257] [PATCH] gnu: foot: expose terminfo dirs via native-search-paths References: <811cc55626870dbf37af3418e8effe191948541a.1642168254.git.florhizome@posteo.net> Resent-From: Florian Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 15 Jan 2022 18:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos , 53257@debbugs.gnu.org Received: via spool by 53257-submit@debbugs.gnu.org id=B53257.164227267417089 (code B ref 53257); Sat, 15 Jan 2022 18:52:02 +0000 Received: (at 53257) by debbugs.gnu.org; 15 Jan 2022 18:51:14 +0000 Received: from localhost ([127.0.0.1]:41735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8o8w-0004RX-7F for submit@debbugs.gnu.org; Sat, 15 Jan 2022 13:51:14 -0500 Received: from mout02.posteo.de ([185.67.36.66]:46197) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8o6q-0004My-V6 for 53257@debbugs.gnu.org; Sat, 15 Jan 2022 13:49:08 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 9F87C240101 for <53257@debbugs.gnu.org>; Sat, 15 Jan 2022 19:48:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1642272538; bh=Xiq2xWllJcYx5NksmqM7ly8psRMwj3MblIBMGu2ot38=; h=From:To:Subject:Date:From; b=X90ZMp4yVW7r6eKRZ/kmRtIyYJ+/CgBkRvfUIHSCJK3fgqgDSZjtJyvEJuWBtWf+z 7aY8nUdTh023DD9TRXCOyyMh5KMDT9HjPCIJBs2jyjqr/5Ll8FHUgqR7oQ6hk3tkXT YjuHGXbMdGZ/wTs6BlS4yAAYd9HYpEaHrr31cxKpr/VWrxbW6AD8h8V4JI4SbOXkW+ NJWtcl3YQZNAGE2QnWTVb5EbNHlwoFPO+oYk44jGK3sQYJWqqv5NQqCybcYS/FkbMp NuQH39CiWTwT7h3RWeU0laNrdTEjo05FwWz0SSoFVWSJIWx6rJnnI2bgkF1i5fLWr2 FEuUsZ/CTo5XQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JbnJ94ryZz6tmQ; Sat, 15 Jan 2022 19:48:57 +0100 (CET) From: Florian In-Reply-To: <1e090a31fe948da151e1d246a0c16002f4a44f34.camel@telenet.be> Date: Sat, 15 Jan 2022 18:46:46 +0000 Message-ID: <87czksalbd.fsf@tp-x230-guix.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Sat, 15 Jan 2022 13:51:13 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642272855; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=CeZoFswwus0JyZglz4eJA4iQpAFvusp9DKoCj9k1PCs=; b=lF1qO2s4kgBF7gpaYvAU6wKGXrmyAV76B4F2a/am2iPg2mw81r6O9dwExRvQdfyE3XHrZZ YJ9G5GYzdkwLi8bDfH0bjezVW6n9pwbWQUtvx2bnkecx7RMmK/u54ntZzvJqybdUjJgpHB AKtP0Rs0VbBE5jCtRzRR9FHS90mZuINMvbqNzAjS6dq1zxgU2k4FwZW4g1rxqvkAing9/H lTLzlyuL2zVSYNPcVeF5iSi2cW89iMhxb0DIYIBN6dU3+5o8A2ufb0Mhi51Q4FqBLSPiVE 0b0INztMCBa8a9smlUlJJvCq6z9DdGz0yKDDVnk9diasU4Wv3ERXuv/3ggXXww== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642272855; a=rsa-sha256; cv=none; b=JMoxi24my1DJBxIIrrP5I8iaDEXg2E2962NAwy7Y3ywHKkXJS9FGghXKVi5f+rOWiaYW2M 1vX6BVocsbTVxEsOj6elCV6N5a6c+wB1a4UR8LrRkyvRSOcXR7j45o0+hFKVOQjS9teY6t oPvKYwgTV7j+2YKnhjNyvL1kWP1V7/1uLhAdrETLu0sXVA4U7sgsUzPJhFBGmU5e8iOfz/ 9KSgqJCnE5JyrjqtCGJKIhR8DWUlI2iPSIjCn+2hkFI1k0wdpjS2t8FTX4nEAisinPV5cV FDp3/d7UMORn+fTq6/6SK/RvyMEkZTeKCcFl9RozGk3koknldidtmtQAd15uRQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=X90ZMp4y; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.22 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=X90ZMp4y; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 21FA73B00A X-Spam-Score: -2.22 X-Migadu-Scanner: scn1.migadu.com X-TUID: QdQyjayiTsZL Hello Maxime, to me, the functionality of search-paths seemed exactly communicating paths *beyond* a single profile. It would make more sense to set them with the package that installs the decisive files to me, at least as a thumb-of-rule. Your examples don't really counter that, though, i think ;) In other words, what next? > So as long as 'nano/emacs/vi/...' and 'kitty/foot/gnome-terminal- > emulator/...' are in the _same_ profile, the environment variable > of the search path is set. Maxime Devos writes: > Florian schreef op za 15-01-2022 om 15:19 [+0000]: >> Have you tried to add a search path to emacs or nano? > > I don't, but I presume it would work -- at least 'ncurses' has a > TERMINFO_DIRS native-search-path, 'info-reader' and 'emacs' have an > INFOPATH ... > >> I kinda doubt this would do much; neither nano or emacs ship a terminfo >> for kitty, or for foot. What I think could work is wrapping nano and >> emacs and every terminal application that has problems to add a path >> derived from generically set env vars to point to the places where > > It doesn't matter that nano and emacs don't ship terminfo files -- > if a package in the profile (or build environment) has some search > path, then the search path is set with corresponding directories from > _every_ package (*), irrespective of whether they have that search > path. > > So as long as 'nano/emacs/vi/...' and 'kitty/foot/gnome-terminal- > emulator/...' are in the _same_ profile, the environment variable > of the search path is set. > > They aren't always in the same profile though, > > (*) with some restrictions w.r.t. cross-compilation, native-search- > path/search-path, native-inputs/inputs ... > > Greetings, > Maxime.