From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YLiQGo7PTWHtJgAAgWs5BA (envelope-from ) for ; Fri, 24 Sep 2021 15:15:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gMsgFo7PTWEAfAAAbx9fmQ (envelope-from ) for ; Fri, 24 Sep 2021 13:15:58 +0000 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 03C1F31766 for ; Fri, 24 Sep 2021 15:15:58 +0200 (CEST) Received: from localhost ([::1]:48190 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTl3V-0003Dl-0y for larch@yhetil.org; Fri, 24 Sep 2021 09:15:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTkT3-0007ML-Iw for guix-devel@gnu.org; Fri, 24 Sep 2021 08:38:17 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:39876) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mTkT1-0004xb-RN for guix-devel@gnu.org; Fri, 24 Sep 2021 08:38:17 -0400 Received: by mail-wr1-x444.google.com with SMTP id r23so1743002wra.6 for ; Fri, 24 Sep 2021 05:38:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=mlVnmBywkW8AvdlW06UatT8xnAn1tRYE+YqGeBM1zVU=; b=OS9uPmgstaffTdfmitRN/m7/ILxMJaDsT2RvO4FyGCrRKDvc+DXAyaneD2xjQnMR0d N+YhaUupYjNqm1NyAtvMmWZDg039sBxOSYxkaKc+q4bx5nQb/wDCuaiAB2cFqWU7RAFt ROVmF4UqkmZVLTiauzcI6xohRnzgiQEXep0pVjVuDm6l2MRVrbFpjgT+x0GZ10KTqWtK CimeQKd5VX1XTc7KxcMTJYOFYxYdXi9UpQc2z1dBWMB7CjXvZ66VCVn4KTvLmwkmknTV e3vGyx8OzqwsvU+rOHeSjDtnSF+E4iyYMGsE4FtJ5ZmfpLjp21wrKzi4q6noP5qtX4cw voow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=mlVnmBywkW8AvdlW06UatT8xnAn1tRYE+YqGeBM1zVU=; b=ZDhWxZWv02cA7EGCx+CHWWm063uT35Jg4wsJhl1sZo5ojccVS+n6pzT06OvdXdo+xF 6lrbQ5EEPrFbqSLW27No/QhrGKIK8vpG4/2P6DMwLaSC9F1XmvWmuLKlE2L6AMB7Eles 5lMu1fJHQ91Jg7vdUdh14aTdoYj9/dR8WP+ABEuisSqJid367KjYTYw8jDsuQZv2aNFf BcOJyi2XgUO2mWuSWd/oPv31/iYiqE/vXzgabVHn2lCRGBc3YWt3R5JXJjLlFK8HxjFL gSgfSBMQcN0poDf4A04k8FDvEext4vcTE9rCNuOP0QhaqSG8y2UkCHMeRrrwhZuIC0/y DnXg== X-Gm-Message-State: AOAM5320yOhR00ox9BtgQDJAC8/Y78Vj1pnXRzzpVI7s4k7aFm0yFsMB BCCyBKoEJHyZbeb1t+Cc0u4= X-Google-Smtp-Source: ABdhPJymmAwLwmLOFv0JEUSw4UL8qVbdiP+6Wu2b+eRl0pZEY13n5uHZ7pa8MMQSMurlz/d2YT/PGw== X-Received: by 2002:a7b:cd90:: with SMTP id y16mr1897093wmj.84.1632487093741; Fri, 24 Sep 2021 05:38:13 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id l19sm8520240wrc.16.2021.09.24.05.38.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Sep 2021 05:38:13 -0700 (PDT) Message-ID: Subject: Re: Guix, ispell.el and FHS From: Liliana Marie Prikler To: Ekaitz Zarraga , =?ISO-8859-1?Q?Andr=E9?= "A. Gomes" Date: Fri, 24 Sep 2021 14:38:11 +0200 In-Reply-To: References: <871r5el490.fsf@gmail.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::444; envelope-from=liliana.prikler@gmail.com; helo=mail-wr1-x444.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632489358; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=mlVnmBywkW8AvdlW06UatT8xnAn1tRYE+YqGeBM1zVU=; b=l/Ewt+lgvxyooH07S9TNsHVBqZKTLNJtPodAlaoq2WbenVAs/e8A10DnwuS2l7jW4tnGxz jPkuklAiWAtQEo/+jzGCVLoqMRSumjT8Z5OimhDzsW1qVHQ1LgakjCk7ctSYlFUe5K+tpk BX8EyGU/UizYj6KknReWaWYfg9kGiLYGcX0X84avGL2mERoBsj8YP1MVygc5Ant/FFghiD ZV8DSb9q0GUI8ZqNkbr6yPZHYKWPceLmdABu8GFEBkXeYRwDVCbfJqFf7RKu8Z92TEK01m 0Kd/txUvq0Pjuf4iY9b6KS3/4TP0+hnahh/++ZhytzYmm7xX+2B/N6Xadap+kg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632489358; a=rsa-sha256; cv=none; b=PfksJaY9r5hRJNTf8/dbTC/1jMhjWSOMyti/DNrB35FzVstj+DB7zCLF8APO8T/z5Oj5qc MsTWael0zsPmTkV7v1EY5kvavNMr5Nfb5/AQMESWiZthlyvbOioIvciBIS2IBLHweoAheF Kj+iDUBdDdqJ0l0QxocDiEbRpXts0DyrVgV9s/PHAbmAEj1SwjDL3gO6tzZOY4WC1obZ7d 0idIpvTTvucU6IMhI0zwEIqNFxGkFioX86yXF2Ks2rbUKeh9FooJT+7/qHYtVWUslXDGqy ARFR3iKdxiZz6JGZX8zfPqnKuCuZ+iPsn7M35aO58pYC49HXGiz0ebV8tMHqzg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=OS9uPmgs; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.99 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=OS9uPmgs; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 03C1F31766 X-Spam-Score: -3.99 X-Migadu-Scanner: scn1.migadu.com X-TUID: 2BQ6vhCtiRsr Hi, Am Freitag, den 24.09.2021, 11:51 +0000 schrieb Ekaitz Zarraga: > Hi Andre > > > I'm relatively new to the GNU/Linux world, so I apologise for any > > silliness. > > > > I was looking ispell.el and saw: > > > > --8<---------------cut here---------------start------------->8--- > > (defcustom ispell-look-command > > (cond ((file-exists-p "/bin/look") "/bin/look") > > ((file-exists-p "/usr/local/bin/look") "/usr/local/bin/look") > > ((file-exists-p "/usr/bin/look") "/usr/bin/look") > > (t "look")) > > "Name of the look command for search processes. > > This must be an absolute file name." > > :type 'file > > :group 'ispell) > > --8<---------------cut here---------------end--------------->8--- > > > > That's the usual path for most GNU/Linus distro (FHS > > compliant). But for Guix System users it lives at /run/current- > > system/profile/bin/look. > > > > It's obvious I can set the variable properly myself. > > > > My question is: what should be done in such cases? I can think of > > the following: > > > > - Patch the Guix package > > - Patch the program itself > > - Nothing (apart from setting things myself) > > > > Thank you. > > I'm not a Guix maintainer or anything so get this with a pinch of > salt. > > First the program itself should be able to find this stuff in a more > general way, not just checking some specific folders. "Finding things in a more general way" typically means inspecting search paths or something, which *may work*, but should not be a requirement for a program to function. In particular, if this look- command is important (can't say that it is, but I'm only using ispell through flyspell, so ymmv). > Second, if the program does not add that change we can patch the guix > package too. In particular, to substitute variables like this we do have both emacs- substitute-sexps and emacs-substitute-variables and with ~60 uses it does have some relevance. Cheers