From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 30 04:16:08 2020 Received: (at submit) by debbugs.gnu.org; 30 Apr 2020 08:16:08 +0000 Received: from localhost ([127.0.0.1]:45292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jU4Ma-0006nw-KN for submit@debbugs.gnu.org; Thu, 30 Apr 2020 04:16:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:38618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jU4MY-0006no-TQ for submit@debbugs.gnu.org; Thu, 30 Apr 2020 04:16:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40150) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jU4MY-0003cJ-Hc for bug-guix@gnu.org; Thu, 30 Apr 2020 04:16:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=unavailable autolearn_force=no version=3.4.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jU4MX-0005wP-Kv for bug-guix@gnu.org; Thu, 30 Apr 2020 04:16:06 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:39902) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jU4MX-0005ur-2W for bug-guix@gnu.org; Thu, 30 Apr 2020 04:16:05 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 49CSrJ3wKqz1rtN6 for ; Thu, 30 Apr 2020 10:16:00 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 49CSrJ3mjnz1qr4H for ; Thu, 30 Apr 2020 10:16:00 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id DxNdq7ZjbzvU for ; Thu, 30 Apr 2020 10:15:59 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-59-14.dynamic.mnet-online.de [188.174.59.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Thu, 30 Apr 2020 10:15:59 +0200 (CEST) Received: from lenashee.goebel-consult.de (lenashee.fritz.box [192.168.110.28]) by hermia.goebel-consult.de (Postfix) with ESMTP id CB64560154 for ; Thu, 30 Apr 2020 10:16:39 +0200 (CEST) To: bug-guix From: Hartmut Goebel Subject: --load-path does not honor ~ Organization: crazy-compilers.com Message-ID: <9fc5fc35-10c6-dda3-1e11-36740e4510c4@crazy-compilers.com> Date: Thu, 30 Apr 2020 10:15:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Received-SPF: none client-ip=212.18.0.10; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/30 04:16:00 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Received-From: 212.18.0.10 X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) Specifying the home directory using `~` (tilde) in `--load-path` does not add the proper path to Does not work (not who "mypackage":   guix package --load-path=~/path/tp/my/project -A mypackage Using $HOME (which si resolve by the shell works:   guix package --load-path=$HOME/path/tp/my/project -A mypackage I would expect ~ and ~username to work, too. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 30 11:32:09 2020 Received: (at 40977) by debbugs.gnu.org; 30 Apr 2020 15:32:09 +0000 Received: from localhost ([127.0.0.1]:47497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUBAV-0007Bq-So for submit@debbugs.gnu.org; Thu, 30 Apr 2020 11:32:08 -0400 Received: from mail-qk1-f174.google.com ([209.85.222.174]:46282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUBAT-0007BM-IO for 40977@debbugs.gnu.org; Thu, 30 Apr 2020 11:32:06 -0400 Received: by mail-qk1-f174.google.com with SMTP id g74so6062519qke.13 for <40977@debbugs.gnu.org>; Thu, 30 Apr 2020 08:32:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bBOVWxHd5mydJx+8iNnIA+zO3iAn7WKFCLnF4gx2RrU=; b=VUlLphGVjR17EV1g14tmHyVLjsxXidObrNUiVlZt0z1lR+dnIkyMo8xou1kRVA/kgZ Vc3F4FmlKreAToZUyvCFJayqxl9vZXLV1yE0bqvfGJPhmshF338JmRgRZ8zY/mbvDlUt hoA/+Ll7ezcZvBgdTFOb2pXxYVX4zsDXrfMjhAM9/tFltHZciyU46OpxKwarVMuIo72n mS2/IiSnV4g7X09IfVd7W7l94LZLRXU91ePlmo2+Ye4gl1FRImS1S5zFcX7TT3e9KXaY 1qZCH195r/OflPB/oT5ny2S2vsponU+XvGAbRpV0q9hKvEcXDGmyaL5rBD25RbL/6VTn Rpjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bBOVWxHd5mydJx+8iNnIA+zO3iAn7WKFCLnF4gx2RrU=; b=AQbg5uQ0h7M7vuLQFRJ0JjJgeyzlUGPx7Y9o2R4f/IvHvZw6acUlPcfsuAH0JZNCh4 6qOC2kQksdRAi2Ky5SFf2hHjZ8RyVh5UUVspMuewgvWJGyLYg8CE8pFFfDQC+h5z7hK4 cniHf6YYBzHkuFYlwlS9Si+YMRoLS9VfZLXFqqK5m8lEKIy53+kp4kzo5onP1QEJh19H /YxkZDWbg0CLxx9Za8ypQ5WjKVuf9cQxrSwN9MAU0wE9ilGiYNwbqCv03oSv2geW9rIv Ig6KrjswBYPIOeI3HJebK4Z/e+8aWInIXmA0/viwoKuB6d3iXBg1f4G7+jwEZuxpL+Hc 9tIQ== X-Gm-Message-State: AGi0PuZ6EwnKv6m29Z5eGegy+VWuP5ekOQfy4vh4lNULMPAf3KGzt23t 9X+Zq9FHBlmg1T6Izm+3UkgfAvfQVrYuOzp9mplXzTB+ X-Google-Smtp-Source: APiQypJC/MV+3KEE0DFLyAWSe9OJtwMRlGD2w3czv4fk3000BOgEOXKYHHnFphN2lbPRf8hYC1J75CN/M20gW7RpiS0= X-Received: by 2002:a37:4e05:: with SMTP id c5mr4182432qkb.232.1588260719798; Thu, 30 Apr 2020 08:31:59 -0700 (PDT) MIME-Version: 1.0 References: <9fc5fc35-10c6-dda3-1e11-36740e4510c4@crazy-compilers.com> In-Reply-To: <9fc5fc35-10c6-dda3-1e11-36740e4510c4@crazy-compilers.com> From: zimoun Date: Thu, 30 Apr 2020 17:31:48 +0200 Message-ID: Subject: Re: bug#40977: --load-path does not honor ~ To: Hartmut Goebel Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40977 Cc: 40977@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Dear, On Thu, 30 Apr 2020 at 10:17, Hartmut Goebel wrote: > > Specifying the home directory using `~` (tilde) in `--load-path` does > not add the proper path to > > Does not work (not who "mypackage": > > guix package --load-path=~/path/tp/my/project -A mypackage It seems related to long vs short options, not to the expansion. The short option works: guix package -L ~/path/to/my/project -A mypackage but not the long '--load-path='. > I would expect ~ and ~username to work, too. Same for '~username'. Well, I think it is related to bug #40549, see [1]. [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=40549#14 All the best, simon From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 30 12:38:16 2020 Received: (at 40977) by debbugs.gnu.org; 30 Apr 2020 16:38:16 +0000 Received: from localhost ([127.0.0.1]:47551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUCCW-0004Zn-5y for submit@debbugs.gnu.org; Thu, 30 Apr 2020 12:38:16 -0400 Received: from mail-qv1-f49.google.com ([209.85.219.49]:33578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUCCT-0004ZX-Ji for 40977@debbugs.gnu.org; Thu, 30 Apr 2020 12:38:14 -0400 Received: by mail-qv1-f49.google.com with SMTP id ep1so3341614qvb.0 for <40977@debbugs.gnu.org>; Thu, 30 Apr 2020 09:38:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=stH+uZTSSpWn8tElw+SgPMyGg/GAQ6D9ENN3ACN26PI=; b=nZ2zRnrSOZ94djkCliURKkaJP/xnNK4PBp+1AoshD6I/RvXRwP0n5PrvC8C2ATf56+ Y34nPxvXuhhDlt8mtVZkc5iVi590phJivqNZ24D3gn/M3VBuXR0uhXhHEuNcdrFX6FYX EQdM575of24dfOxraNZXCtHRoC9m02Zgy1Z9l8WqbxinvNf16zR56uTn9a7tPXXuonT5 e47bytfta6rEBf9+aGteScf47w0WaGowMo2f9uc5aD3RxSjhnuYYFEHhLHbM4cD2zICk Xsav79gn6jfhZ9+x3/s44KTRZrlNAMcQI6VEmwvig0oKfWgxIz/Rdg+AH6/TDY6YBcMf DQRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=stH+uZTSSpWn8tElw+SgPMyGg/GAQ6D9ENN3ACN26PI=; b=YdGl6psRQI65g98RK2tI6HoZaRm0EfV4FbLMsZTrnPmZW6rIdlDYtwjYpQdpSKmCCs uV4aBQAkvfhUON7RbOsxIqHwfQxIs9GKU8Gpeqo7stQ9C8m3M3UEjrIbSzsyESaDYAhA FEabCgbuSc0joB4b1kjvogreuTmkBLZIbiBvZPoBm8O7ZNyAV3oLKyDgZgsCBTEDTjch 7DYFM1jRNWKJFfDUsbn+E9ejPy1CMkSyv+VzfQtGxEL/9MLfC5PBk/aJPCsfU3k5fbxO JkEL9gnGdzAFX+kELW8/g0MFbQaogivfanxLz2OCuLEoaolHRWls89Im7b/Mw+EhALfO Vxig== X-Gm-Message-State: AGi0PuZyrLmI2scpRJhWhJ7NecguP1Fbg+Yl0evqVKOazxwQyrtOdkHe yvN3l8udZ3E6N8xXVl2DXzUYRBy62PTW2DRavc2m/Q== X-Google-Smtp-Source: APiQypJNOgiA7x5SShbdGPsqyOdd4r319va1xOC4RPkwau/EdDYo/2ihnWxJQwslGRnMgfHXmUPL54eOUxyYJYrS9jY= X-Received: by 2002:ad4:4c92:: with SMTP id bs18mr3926974qvb.67.1588264687945; Thu, 30 Apr 2020 09:38:07 -0700 (PDT) MIME-Version: 1.0 References: <9fc5fc35-10c6-dda3-1e11-36740e4510c4@crazy-compilers.com> In-Reply-To: From: zimoun Date: Thu, 30 Apr 2020 18:37:50 +0200 Message-ID: Subject: Re: bug#40977: --load-path does not honor ~ To: Hartmut Goebel Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40977 Cc: 40977@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu, 30 Apr 2020 at 17:31, zimoun wrote: > > Dear, > > On Thu, 30 Apr 2020 at 10:17, Hartmut Goebel > wrote: > > > > Specifying the home directory using `~` (tilde) in `--load-path` does > > not add the proper path to > > > > Does not work (not who "mypackage": > > > > guix package --load-path=~/path/tp/my/project -A mypackage > > It seems related to long vs short options, not to the expansion. I am wrong. It is about the expansion. When using the short option, then the expansion is done by the shell. Note that it should be the same for '--manifest=~/path/to/manifests/'. And all the '--long-options=~/path/to/something'. Well, I do not find a function to expand tilde in Guile. All the best, simon From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 30 12:42:57 2020 Received: (at 40977) by debbugs.gnu.org; 30 Apr 2020 16:42:57 +0000 Received: from localhost ([127.0.0.1]:47555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUCH2-0004gv-No for submit@debbugs.gnu.org; Thu, 30 Apr 2020 12:42:56 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:55472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUCH0-0004gi-H0 for 40977@debbugs.gnu.org; Thu, 30 Apr 2020 12:42:55 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 49Ch591SSWz1rv0N; Thu, 30 Apr 2020 18:42:52 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 49Ch585V8cz1qspb; Thu, 30 Apr 2020 18:42:52 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id RqoKJ8UnAcYj; Thu, 30 Apr 2020 18:42:51 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-59-14.dynamic.mnet-online.de [188.174.59.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Thu, 30 Apr 2020 18:42:51 +0200 (CEST) Received: from lenashee.goebel-consult.de (lenashee.fritz.box [192.168.110.28]) by hermia.goebel-consult.de (Postfix) with ESMTP id E9B6460138; Thu, 30 Apr 2020 18:43:32 +0200 (CEST) Subject: Re: bug#40977: --load-path does not honor ~ To: zimoun References: <9fc5fc35-10c6-dda3-1e11-36740e4510c4@crazy-compilers.com> From: Hartmut Goebel Organization: crazy-compilers.com Message-ID: <52117c4b-3090-1ccf-5669-ff4c47935e19@crazy-compilers.com> Date: Thu, 30 Apr 2020 18:42:49 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40977 Cc: 40977@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, This is not related to #40549. The short option "-L ~/…" works, since thin this case the shell resolves the tilde. Whereas for the long-option the shell does not revolve the tilde, since the tilde is in the middle of the argument. Yu can verify this yourself easily: $ python -c 'import sys; print(sys.argv)' ~ ['-c', '/home/hartmut'] $ python -c 'import sys; print(sys.argv)' -L ~ ['-c', '-L', '/home/hartmut'] $ python -c 'import sys; print(sys.argv)' ---long=~ ['-c', '---long=~'] Proposed solution: After processing options, guix need to "expanduser()" (as it is called in Python) on all arguments which are paths. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 30 12:51:00 2020 Received: (at 40977) by debbugs.gnu.org; 30 Apr 2020 16:51:00 +0000 Received: from localhost ([127.0.0.1]:47572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUCOq-0004uB-2b for submit@debbugs.gnu.org; Thu, 30 Apr 2020 12:51:00 -0400 Received: from mail-qv1-f45.google.com ([209.85.219.45]:42328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUCOo-0004tz-FJ for 40977@debbugs.gnu.org; Thu, 30 Apr 2020 12:50:58 -0400 Received: by mail-qv1-f45.google.com with SMTP id v18so3343133qvx.9 for <40977@debbugs.gnu.org>; Thu, 30 Apr 2020 09:50:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=1C6E6YyacUdf5fkwq7ExD3bUSZ9O9gIasBOnGmjI4r0=; b=cyXWSKE+khhZ1Tuck7JYLAqdF1Gf463xilSLBowCidXrHWKK/qMnqUlKAwzXmnyY5z tR17bFi2lrqYhNGE5iP1B1Sed1O7AdsJclpz+stNIKIYmBI9KT5qInGlbwV2pMNQn0JA 2+s6SmxZSdff4wdnXcLflZ+lWWzvkzwACzvxDKQ7pYYUofAjq74q/7RlNW1t0Zwg3gVT M/5q5De8xME9EfIAGbsC1LvocnR7iHVEoXH4+UNeHBa46LLXsOTHLbrutUU+ayUWe77V IvGysyHCC61rETST4eeeJi9EyzbygwnQlP+b9vKk9w/F2zh6RfuSlxnbBgtN9VCmsvjE zwIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=1C6E6YyacUdf5fkwq7ExD3bUSZ9O9gIasBOnGmjI4r0=; b=cPDQgOEfWhHzjVAEzTgbDl2YaJF2xz33l5TEKdLhpiZoR1lPUdlnYNFDhCKcDwF+0R DGTnfXjeybcTKEldZy8t3HSPw5lXVW7g7BlMs/AiCf16hHj4AUpx+0pSivBnta0P9SvQ ALLvMYmoQqv8uE7i/56xQnFqbe+AFYzRdYyoNpOzXs8T3vOaY5N3xbR7PV0XlDnpVvBL 6keQnvtXG4raNRzpVrmnP5kpAF6IW5F2DZBVFeozmCNkiMkazsXfmbqmwQ0iR/rmEFc1 FFxEriM7QZaTqFi/53n1dyENPWbWPxDjJcFcfeDynju4xgHwe3LUy1dMSDR5SE9P050/ hEdw== X-Gm-Message-State: AGi0PubrIFmrCzVuaLX/NSXAthVvB/b7sgiQxpKotM+9n8dmMKjc8oGy T4VlDmY1Z+7CMfi0Pd8xPhKOwXL2Z0KowVTYYOE= X-Google-Smtp-Source: APiQypLOCBE4/f6XNsHyx5cnG4i8QnVkqxkpeQ44G45vbLPXV7aULwwyGfTnVsvc0y6YWH4PYFGvUVc+kkp0yUZ8l88= X-Received: by 2002:ad4:4441:: with SMTP id l1mr3938691qvt.74.1588265452904; Thu, 30 Apr 2020 09:50:52 -0700 (PDT) MIME-Version: 1.0 References: <9fc5fc35-10c6-dda3-1e11-36740e4510c4@crazy-compilers.com> <52117c4b-3090-1ccf-5669-ff4c47935e19@crazy-compilers.com> In-Reply-To: <52117c4b-3090-1ccf-5669-ff4c47935e19@crazy-compilers.com> From: zimoun Date: Thu, 30 Apr 2020 18:50:41 +0200 Message-ID: Subject: Re: bug#40977: --load-path does not honor ~ To: Hartmut Goebel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40977 Cc: 40977@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Dear Hartmut, On Thu, 30 Apr 2020 at 18:42, Hartmut Goebel wrote: > The short option "-L ~/=E2=80=A6" works, since thin this case the shell r= esolves the tilde. Whereas for the long-option the shell does not revolve t= he tilde, since the tilde is in the middle of the argument. Yu can verify t= his yourself easily: Yes, you have right. > Proposed solution: > > After processing options, guix need to "expanduser()" (as it is called > in Python) on all arguments which are paths. I agree. I am not aware of such function in Guile. All the best, simon From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 30 13:34:46 2020 Received: (at 40977) by debbugs.gnu.org; 30 Apr 2020 17:34:46 +0000 Received: from localhost ([127.0.0.1]:47624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUD5C-00060S-9x for submit@debbugs.gnu.org; Thu, 30 Apr 2020 13:34:46 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:43066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUD59-00060I-Ss for 40977@debbugs.gnu.org; Thu, 30 Apr 2020 13:34:44 -0400 Received: from localhost (80-110-127-207.cgn.dynamic.surfer.at [80.110.127.207]) by dd26836.kasserver.com (Postfix) with ESMTPSA id F38933361DA7; Thu, 30 Apr 2020 19:34:41 +0200 (CEST) Date: Thu, 30 Apr 2020 19:34:39 +0200 From: Danny Milosavljevic To: zimoun Subject: Re: bug#40977: --load-path does not honor ~ Message-ID: <20200430193439.0db54d2f@scratchpost.org> In-Reply-To: References: <9fc5fc35-10c6-dda3-1e11-36740e4510c4@crazy-compilers.com> <52117c4b-3090-1ccf-5669-ff4c47935e19@crazy-compilers.com> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/9OlmMkwr7P2VPm3.Pd3RIYH"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40977 Cc: 40977@debbugs.gnu.org, Hartmut Goebel X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --Sig_/9OlmMkwr7P2VPm3.Pd3RIYH Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable > After processing options, guix need to "expanduser()" (as it is called > in Python) on all arguments which are paths. =20 Please don't do it. UNIX has its warts, and this is a well-known one (use ${HOME} instead). If we did expanduser, I'm sure we'd be seeing bug reports about paths where there was a tilde in the actual file name, NOT as a expanduser mark. UNIX tools do what they do, and this wart is here to stay in a lot of tools. Then at least make it consistent across all the tools UNIX has. --Sig_/9OlmMkwr7P2VPm3.Pd3RIYH Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl6rDC8ACgkQ5xo1VCww uqXOzwf+L7U3vk0HQ8ehOS4D7fjZFXefXyDZuJJKjxbEz+2BSaoxUKGTSLPV6lHO m9cxMnlTbUPz8bGLa3Xp2p+7bYzAySWzEFbzjQmsKMizHVCu7FswaEHTChPlgzuj LolyLA0GqteGGQDrlfFqpq6A1wz0x3gx0oktl+M5CfZQhqYFjwGwhhYreswtsiLl mNyHgO+XZiEGuAHlAycxvJQQhJrnJ4fpEVYufHUqJPIQow4+HOLAX9K9orb9ZlcY VKcTvBEYnPp7ejwhZ9fx/KQDZHaf9I24IFvsbsnYupjxaTtJNZXuP6Erm7wA11Yn 4nB8GT2NC6RJAPx1jDy6l7DZdJoKNA== =NZhE -----END PGP SIGNATURE----- --Sig_/9OlmMkwr7P2VPm3.Pd3RIYH-- From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 30 13:53:19 2020 Received: (at 40977) by debbugs.gnu.org; 30 Apr 2020 17:53:20 +0000 Received: from localhost ([127.0.0.1]:47639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUDN4-00005g-Er for submit@debbugs.gnu.org; Thu, 30 Apr 2020 13:53:19 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:37781) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUDN3-00005U-53 for 40977@debbugs.gnu.org; Thu, 30 Apr 2020 13:53:13 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 054B25C0125; Thu, 30 Apr 2020 13:53:08 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 30 Apr 2020 13:53:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=x5keAaroG19zqtfx+vyYFpsx 6pi320zqirHyiviYEXI=; b=fROYshFB5FhsMd28br2u9jJjhz5mFk0d2kc8cL8m J3lSgPJCpFnMlAwl+HtCmXc+Y6FxFzA9OfMCm7/wZRY1/0xkjekGB+ENx+WZV2hE G7CAGFKZYVj0roCf5DTytIS2e32kj73rVEvZMfPJJwMHtOrjSZj30UhEVLu6IlWX wh0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=x5keAa roG19zqtfx+vyYFpsx6pi320zqirHyiviYEXI=; b=t3EoBUiMOM4qhgVVLgDCUQ 9MfJiR1l1Cvkk73LkzohsWIprPkOntGIFIAuyH8THei/fxw4c/pBGdInTQ+3Atfj cmbseYffOFWwpC6bqP76y4gUE9sNLgRnd7NUSYeAd3KLGDOI51lVfHGswgfH3pFG XM+b0sTxvd17A1w3r+LbPuemSWe97HwhOSkH3sxgGz2DJv70QfZ5Qv7EWq+Emmm4 RdoZwR39aX7wWHOfkYMcpmiIbblOKdSFOXKEMykcejZT4g3Wfpc6gtIhmv4QB6hL Tn6CBDADpQ+LOS4guc3+DzJk/udI5F+UFu1BlziPWuFNSYD4lmCeyKBLgz5xenTw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrieehgdduudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpeeukeektdffvddtudegjeegtdevhfeufeeivdejiedtieegtdevjedvjeehffev gfenucfkphepjeeirdduvdegrddufeekrdeifeenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (c-76-124-138-63.hsd1.pa.comcast.net [76.124.138.63]) by mail.messagingengine.com (Postfix) with ESMTPA id 1FA023065F36; Thu, 30 Apr 2020 13:53:07 -0400 (EDT) Date: Thu, 30 Apr 2020 13:53:05 -0400 From: Leo Famulari To: Danny Milosavljevic Subject: Re: bug#40977: --load-path does not honor ~ Message-ID: <20200430175305.GA26916@jasmine.lan> References: <9fc5fc35-10c6-dda3-1e11-36740e4510c4@crazy-compilers.com> <52117c4b-3090-1ccf-5669-ff4c47935e19@crazy-compilers.com> <20200430193439.0db54d2f@scratchpost.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200430193439.0db54d2f@scratchpost.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40977 Cc: 40977@debbugs.gnu.org, Hartmut Goebel , zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Thu, Apr 30, 2020 at 07:34:39PM +0200, Danny Milosavljevic wrote: > UNIX has its warts, and this is a well-known one (use ${HOME} instead). > > If we did expanduser, I'm sure we'd be seeing bug reports about paths where > there was a tilde in the actual file name, NOT as a expanduser mark. > > UNIX tools do what they do, and this wart is here to stay in a lot of tools. > Then at least make it consistent across all the tools UNIX has. If it's true that this behaviour is more or less consistent in UNIX / POSIX, then I agree with Danny that we should leave it as is. And, I have noticed that ${HOME} is the way to go. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 30 14:15:08 2020 Received: (at 40977) by debbugs.gnu.org; 30 Apr 2020 18:15:08 +0000 Received: from localhost ([127.0.0.1]:47645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUDi7-0000bo-I5 for submit@debbugs.gnu.org; Thu, 30 Apr 2020 14:15:08 -0400 Received: from mail-qk1-f178.google.com ([209.85.222.178]:43038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUDi6-0000bb-Ez for 40977@debbugs.gnu.org; Thu, 30 Apr 2020 14:14:58 -0400 Received: by mail-qk1-f178.google.com with SMTP id i136so2614691qke.10 for <40977@debbugs.gnu.org>; Thu, 30 Apr 2020 11:14:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CiG9s90cLxMtgAAvkgwFbqCqj1WZQFEmmt+eX3Nvhxs=; b=Ufk1kUYKeo508x+97fNSzeCkPw+G8pA7i8SMcyBG+i4TIn6jzE3RYOdpSdMTsi1T7Q X3ULogm6aGsLza5XhEKGw43MYFz3N2cnC3P1DmDd0SpYSCao0grldTaaGO70UTuU0xHH yXuLOsrSPDzGcAbHDQvsiR7dZkhYPaAJLmbhDfOGo2lwsdAwzpuNM2GhI7vrsTq0UQ2W bcZFbujrZQn8YWjdnxH4YuwvrJkJQK+QO1mdFSYQF7m7CklcDtCx+ts/N84kV7UKnYxx jYhAtrTX/IuO9JwLXXE6xr6CN+N7aAcNq7RqkkhbfIEXuvOSbZDYwOFqAgR5fKNLyNUn Ht9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CiG9s90cLxMtgAAvkgwFbqCqj1WZQFEmmt+eX3Nvhxs=; b=eAHwam9VkWs2sBnUYMIGOqbET9bY3vSMknDz3TRwaSl/np1W39Z/Z1Sic7yylBRSLg vNxyWgbpsvVDoqTwvP/elWXzEp4ZnHG7oEQqApLaKF/ZjTb5NaEB5vOAXtYPwUz6A7GQ AwUjAAuZEau+/2fWOh9u2rk/2OX6iRTekqgns8mu+8Pupjgew9oQWQ1AvVM1v5Zlo48z pw1TKmJ0ElE0kH5drRqdkObe1cZ9lbTwALuKp9BMnVtrhejI4o8f45RkqjLJzfrGZzY2 h8buus8lCKKXFrGlWF7PEsAOIGdJOfwMV0Dta7H0f1fgMocuBnP8FIMOh8SuQFrZoaRA UgTw== X-Gm-Message-State: AGi0PuZ40uzM4Vssh2Yf2/on72jvvba1faTNLCuZSZqdM5+xKgTFobyJ +cqyTaQaYRCsq3IiSo3iVlis5rEBtduenrQx/Ck= X-Google-Smtp-Source: APiQypKbHTfS2Xpfvc1h/RSV499aD4Wyc+SLkltVRG1Bd67KtSwUNKIL2kzR/dgzIwwu4vjbGOQWuTIZ75jMUAUV0mk= X-Received: by 2002:a37:4e05:: with SMTP id c5mr4926204qkb.232.1588270492925; Thu, 30 Apr 2020 11:14:52 -0700 (PDT) MIME-Version: 1.0 References: <9fc5fc35-10c6-dda3-1e11-36740e4510c4@crazy-compilers.com> <52117c4b-3090-1ccf-5669-ff4c47935e19@crazy-compilers.com> <20200430193439.0db54d2f@scratchpost.org> <20200430175305.GA26916@jasmine.lan> In-Reply-To: <20200430175305.GA26916@jasmine.lan> From: zimoun Date: Thu, 30 Apr 2020 20:14:40 +0200 Message-ID: Subject: Re: bug#40977: --load-path does not honor ~ To: Leo Famulari Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40977 Cc: 40977@debbugs.gnu.org, Danny Milosavljevic , Hartmut Goebel X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu, 30 Apr 2020 at 19:53, Leo Famulari wrote: > > UNIX tools do what they do, and this wart is here to stay in a lot of tools. > > Then at least make it consistent across all the tools UNIX has. I do not have a clear opinion on the subject so I fall with the Danny's wise opinion. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 30 15:20:58 2020 Received: (at 40977) by debbugs.gnu.org; 30 Apr 2020 19:20:58 +0000 Received: from localhost ([127.0.0.1]:47716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUEjy-0002HA-G3 for submit@debbugs.gnu.org; Thu, 30 Apr 2020 15:20:58 -0400 Received: from tobias.gr ([80.241.217.52]:35990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUEjw-0002H0-Iy for 40977@debbugs.gnu.org; Thu, 30 Apr 2020 15:20:57 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id ac3c30d8; Thu, 30 Apr 2020 19:20:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:message-id:references:in-reply-to:date:mime-version :content-type; s=2018; i=me@tobias.gr; bh=40QEsrfh40UFYF8z5gER8t vMzouIoSa17q4ZmRIs79E=; b=hZcom1MSKr5s1Ud0aCJ6iy2mRSNOF5OW6+lTXp oo6j43JpYXE1IST1lLsNSuHYadfK310t1Q2kskdDjEwp+u5/5ixsfTovhUzWqAOz VIvfqaA0BLdPu0rhXj6Mqv95MW9y5GXBTqd6jpfnoviXyg9dOC1A0xlNWhxmxqte 2Fzf+zr8aY2v9H3kM96H78tSTWAEQZJJhSegMraHwuGAlBZC+TZFJ6tob/QGIXXe xdnjndCUwcZSuJVIaDyGyYfyYGEHWn/w7Y/LNCrUOD9nZD0SVJ5sraXSIotf8QYN A9x1MzA95PMnxU2b0ZxNfafwdmg8WZUx7P0chqhbI4vRTuKg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id e145ee76 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 30 Apr 2020 19:20:53 +0000 (UTC) From: Tobias Geerinckx-Rice To: zimoun , 40977@debbugs.gnu.org Subject: Re: bug#40977: --load-path does not honor ~ Message-ID: <87y2qcsst3.fsf@nckx> References: <9fc5fc35-10c6-dda3-1e11-36740e4510c4@crazy-compilers.com> <52117c4b-3090-1ccf-5669-ff4c47935e19@crazy-compilers.com> In-reply-to: <52117c4b-3090-1ccf-5669-ff4c47935e19@crazy-compilers.com> Date: Thu, 30 Apr 2020 21:21:03 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 40977 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hartmut, Zimoun, Hartmut Goebel =E5=86=99=E9=81=93=EF=BC=9A > After processing options, guix need to "expanduser()" (as it is=20 > called > in Python) on all arguments which are paths. If any Python (or other) software does this, it's broken. File a=20 bug there. This is the wrong thing to do and makes the GNU system an=20 inconsistent mess. =E2=80=A6OK, *more* of an inconsistent, loveable, mess= =20 ;-) It also makes $ sudo guix system --load-path=3D~/path/tp/my/project =E2=80=A6 and $ sudo guix system -L ~/path/to/my/project -A mypackage =E2=80=A6 suddenly result in different file names. Please don't do it. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXqslHwAKCRANsP+IT1Vt eVTOAP9kAgyVgt1j+wlg2CTHh29MK+iYy7IFvAsGIGeSXnrroAEAmME/0lyS3PCR AIwEbPlwu9cri6AQbhtdB8EXf0k08AM= =8af+ -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 30 16:55:06 2020 Received: (at 40977) by debbugs.gnu.org; 30 Apr 2020 20:55:06 +0000 Received: from localhost ([127.0.0.1]:47802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUGD4-0004a0-4v for submit@debbugs.gnu.org; Thu, 30 Apr 2020 16:55:06 -0400 Received: from mail-qk1-f176.google.com ([209.85.222.176]:39035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUGD2-0004ZO-5B for 40977@debbugs.gnu.org; Thu, 30 Apr 2020 16:55:05 -0400 Received: by mail-qk1-f176.google.com with SMTP id s9so4595667qkm.6 for <40977@debbugs.gnu.org>; Thu, 30 Apr 2020 13:55:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=q7/uwi2L0kqK841vPngslsRPo3umSKxnFyFL3ZvXm5M=; b=RtWqgsB8p7CtjIbOmLTO+rcS/rdaPD1aJv4i5q9HXqqGts60c29/incUWK3w8KtCgC b8xVDzUJAo7ADIN1Bdar6sv/1zDYHyGlRc90kQEwbxuqqdMedUhdtlKBW91tWW/iW7GV A+kh2U/4UR9hRt8jHvV742AVP/OqIMzVSIQd/I7Px1SwpabRknfgd17n5AY8+SKiTalA ulcvN3FfLmVs5Q6g1LrjU/2iYiUHhY2evkmFEYU6o19UEjVUQqL+zTfp4S2iNX3znV/s gTAHizHL1AAisVEwpzhHqw9dRGd05UE0B278y+/eZJewXPjeEDIG1FKNqUKCuiMwQAJD smXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=q7/uwi2L0kqK841vPngslsRPo3umSKxnFyFL3ZvXm5M=; b=tXt/zfJKaM3kqYYvAgyslyDMCXOI0OAUbvZy7CYvWCTMKzYaftLAMQ6oawoX+VYPva RSctNTp2Uk1b+SSHfB3dFmap3ZUUJoKbfbOwtHOoXmbt3/5FeLzDQtdsuuTITx2MkBxP XaUknwcpwddzmV+5Z7MdkCYza5O+IAJRzaGq98yV0zni+oQPUtdRiOX3HivMYX3EOd4l l834OSCUhNPt0OMT2y2ROFnydKTCUSVf6FbBy2RSEqUadrRn0UGD7bJ93i3tXA53AP6z 0CY2uA18p3l+P/AsT3Pt7S5hCTQmFj0gZz8H+jIQn/atSsGv3g4FNonKseQNpOwyKP+o 6w5w== X-Gm-Message-State: AGi0PubJ4gDDLL3Ou7+5HFk14x9/0Il6uxfAk+aIFiK1NSfxGZBUr+Ea MXBIXA0uxJ9PGPZFK87QjHKz3Xh0YkeGPJklDVo= X-Google-Smtp-Source: APiQypJsuubSNqX4tndgkVqCGRXezBa2Mb/DxK9FLmAehv2DPaSg2eh3VA0NZiaikK8+XkHJtjkgTRLswFEMRnbuyAM= X-Received: by 2002:a37:6417:: with SMTP id y23mr468171qkb.80.1588280098423; Thu, 30 Apr 2020 13:54:58 -0700 (PDT) MIME-Version: 1.0 References: <9fc5fc35-10c6-dda3-1e11-36740e4510c4@crazy-compilers.com> <52117c4b-3090-1ccf-5669-ff4c47935e19@crazy-compilers.com> <87y2qcsst3.fsf@nckx> In-Reply-To: <87y2qcsst3.fsf@nckx> From: zimoun Date: Thu, 30 Apr 2020 22:54:47 +0200 Message-ID: Subject: Re: bug#40977: --load-path does not honor ~ To: Tobias Geerinckx-Rice Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40977 Cc: 40977@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Tobias, On Thu, 30 Apr 2020 at 21:20, Tobias Geerinckx-Rice wrote: > > Hartmut, Zimoun, > > Hartmut Goebel =E5=86=99=E9=81=93=EF=BC=9A > > After processing options, guix need to "expanduser()" (as it is > > called > > in Python) on all arguments which are paths. > > If any Python (or other) software does this, it's broken. File a > bug there. > > This is the wrong thing to do and makes the GNU system an > inconsistent mess. =E2=80=A6OK, *more* of an inconsistent, loveable, mes= s > ;-) > > It also makes > > $ sudo guix system --load-path=3D~/path/tp/my/project =E2=80=A6 > > and > > $ sudo guix system -L ~/path/to/my/project -A mypackage =E2=80=A6 > > suddenly result in different file names. Sorry to be slow. Naive questions. Do you mean the issue comes from who expand '~' (user vs sudo)? Or do you mean refer to subfolder named '~, i.e., $HOME/foo/~/bar? I should miss a point... about what is less or more inconsistent. :-) Because it seems more based on conventions than on consistent inconsistenci= es. About expansion, is it not the same question with '--load-path=3D$HOME/path/to/' vs '-L $HOME/path/to/'? About naming, is it possible to create a folder named '~' directly in $HOME= ? Well, I am surely not enough skilled to have an opinion but I have learnt something. :-) > Please don't do it. The fact that Guile does not have a built-in ``expand-tilde`` is a strong indication to not do it. ;-) Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Fri May 01 02:51:36 2020 Received: (at 40977) by debbugs.gnu.org; 1 May 2020 06:51:36 +0000 Received: from localhost ([127.0.0.1]:48132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUPWK-0003Qq-50 for submit@debbugs.gnu.org; Fri, 01 May 2020 02:51:36 -0400 Received: from imta-37.everyone.net ([216.200.145.37]:55986 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUPWI-0003Qh-5S for 40977@debbugs.gnu.org; Fri, 01 May 2020 02:51:34 -0400 Received: from pps.filterd (omta004.sj2.proofpoint.com [127.0.0.1]) by imta-38.everyone.net (8.16.0.27/8.16.0.27) with SMTP id 0416mXlf016279; Thu, 30 Apr 2020 23:51:32 -0700 X-Eon-Originating-Account: icDb1qVfg4xpeh8x-wicHEAaC8H5tIc-INKnAuMDsK4 X-Eon-Dm: m0117124.ppops.net Received: by m0117124.mta.everyone.net (EON-AUTHRELAY2 - 53b922d5) id m0117124.5e67f957.560f3e; Thu, 30 Apr 2020 23:51:30 -0700 X-Eon-Sig: AQMHrIJeq8byptmixwIAAAAD,dba41591189b04336189f08d8586dc7a X-Eip: KNeggquqi2mIhS7wRvb5DcACmt_Haji7dU7T98ClXlM Date: Fri, 1 May 2020 08:51:20 +0200 From: Bengt Richter To: zimoun Subject: Re: bug#40977: --load-path does not honor ~ Message-ID: <20200501065120.GA8427@LionPure> References: <9fc5fc35-10c6-dda3-1e11-36740e4510c4@crazy-compilers.com> <52117c4b-3090-1ccf-5669-ff4c47935e19@crazy-compilers.com> <87y2qcsst3.fsf@nckx> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-05-01_02:2020-04-30, 2020-05-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1034 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2002250000 definitions=main-2005010050 X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 40977 Cc: 40977@debbugs.gnu.org, Tobias Geerinckx-Rice X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bengt Richter Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) On +2020-04-30 22:54:47 +0200, zimoun wrote: > Hi Tobias, > > On Thu, 30 Apr 2020 at 21:20, Tobias Geerinckx-Rice wrote: > > > > Hartmut, Zimoun, > > > > Hartmut Goebel 写道: > > > After processing options, guix need to "expanduser()" (as it is > > > called > > > in Python) on all arguments which are paths. > > > > If any Python (or other) software does this, it's broken. File a > > bug there. > > > > This is the wrong thing to do and makes the GNU system an > > inconsistent mess. …OK, *more* of an inconsistent, loveable, mess > > ;-) > > > > It also makes > > > > $ sudo guix system --load-path=~/path/tp/my/project … > > > > and > > > > $ sudo guix system -L ~/path/to/my/project -A mypackage … > > > > suddenly result in different file names. > > Sorry to be slow. Naive questions. > > Do you mean the issue comes from who expand '~' (user vs sudo)? > Or do you mean refer to subfolder named '~, i.e., $HOME/foo/~/bar? > > I should miss a point... about what is less or more inconsistent. :-) > Because it seems more based on conventions than on consistent inconsistencies. > > About expansion, is it not the same question with > '--load-path=$HOME/path/to/' vs '-L $HOME/path/to/'? > About naming, is it possible to create a folder named '~' directly in $HOME? > > Well, I am surely not enough skilled to have an opinion but I have > learnt something. :-) > FYA:(Amusement): man bash to see what more ~ can lead to ;-) (scroll down or search for the "Tilde Expansion" section) > > > Please don't do it. > > The fact that Guile does not have a built-in ``expand-tilde`` is a > strong indication to not do it. ;-) > > > Cheers, > simon > > > -- Regards, Bengt Richter From debbugs-submit-bounces@debbugs.gnu.org Fri May 01 11:24:39 2020 Received: (at 40977) by debbugs.gnu.org; 1 May 2020 15:24:39 +0000 Received: from localhost ([127.0.0.1]:50440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUXWo-0002XN-VY for submit@debbugs.gnu.org; Fri, 01 May 2020 11:24:39 -0400 Received: from mail-qv1-f65.google.com ([209.85.219.65]:39587) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUXWl-0002XA-G7 for 40977@debbugs.gnu.org; Fri, 01 May 2020 11:24:36 -0400 Received: by mail-qv1-f65.google.com with SMTP id v38so4872700qvf.6 for <40977@debbugs.gnu.org>; Fri, 01 May 2020 08:24:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=d9nto3n7jkydimlZ2C2UL0Nj3HDDgQoIkjdBXfTgNzg=; b=W4EiKX1TKN8be8rdjb+ixPxlMGMa9Dr7YBXzS+6QvCshNcZi6A9HQmLu8bWddKcp3T y91r0lGn7FgShPbqjPOKjaqGJTXgEFwWXdG/APi0bepIw2bdVsmdCVjDLmWO9ef3liU2 DlyWprl89zqNbkTg+ZfQ0zW+MT4+XvbXc+7qBoCCLtcp/0rbXgSLB/A/b5Cj5c4qtgoj 7jW8ku9IDZ1vMV4nsMlitTLZbq6L17a1qTvXxsLaJXUBewkM8r/+KTc4/FhiOthjfJJn CTp4+ZnjEUo6OcL9C56DtdSrNzfiWeG+VWQ8jeVAGCY1fwn66CGhUn/nozS41edKqSFH fDZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=d9nto3n7jkydimlZ2C2UL0Nj3HDDgQoIkjdBXfTgNzg=; b=nDnmVGY2OwD2mGsPWCHP5zZIMQoixqr5HkVvZ1uQ32xKwfgmYxVt6kDFQerqrCCNa8 wE2VzuBRLuhU1P+Y6wVJq0a32utoDutIQJKXvP9xz2uX93onp3MWshQaAIet3Z8B4Bly ORpetZQ2c56m23SUDzaUhS+CT4Ed4dg8beNW9azbVDr0ZBHrnPu+u9VyV9JvXvElRnqe E4sQW3VBLDEvR157qSm6X5zemHf/gzcafvew5sZ4zmggiacTcZDiOfLgmcK8291+7UUf YwsjonRivtjzVVRL7EmQlthzjZ2eBTbR6nYbcOQTqhz6JYzMpYJajTsRnJgNG/jbPi7m XCoA== X-Gm-Message-State: AGi0PuZUIZ3dLJAV/QG1WO3IT6DNEg0xhfdFHnfbiV0S7po27mkRnhPE Gbwm5JqQua6ikio0yW51oLAJ56DjWq5H6jecnZM= X-Google-Smtp-Source: APiQypJWK9kup8HTOnUakD9tDan3WcQN5LJb3P479vDnSiQjhpcbrz79i+ohaN+gmASRL973xBnD/7GtKcPENY/Mvuc= X-Received: by 2002:a0c:fc42:: with SMTP id w2mr4316895qvp.77.1588346669755; Fri, 01 May 2020 08:24:29 -0700 (PDT) MIME-Version: 1.0 References: <9fc5fc35-10c6-dda3-1e11-36740e4510c4@crazy-compilers.com> <52117c4b-3090-1ccf-5669-ff4c47935e19@crazy-compilers.com> <87y2qcsst3.fsf@nckx> In-Reply-To: <87y2qcsst3.fsf@nckx> From: zimoun Date: Fri, 1 May 2020 17:24:18 +0200 Message-ID: Subject: Re: bug#40977: --load-path does not honor ~ To: Tobias Geerinckx-Rice , Danny Milosavljevic , Leo Famulari , Bengt Richter Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40977 Cc: 40977@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Dear, Sorry to be slow. On Thu, 30 Apr 2020 at 21:20, Tobias Geerinckx-Rice wrote: > Hartmut Goebel =E5=86=99=E9=81=93=EF=BC=9A > This is the wrong thing to do and makes the GNU system an > inconsistent mess. =E2=80=A6OK, *more* of an inconsistent, loveable, mes= s > ;-) I still think that the behaviour of Guix could be considered as a bug and inconsistent with other GNU tools, such as Emacs -- to pick one but Emacs should be an exception in the GNU tools landscape (inconsistent loveable mess :-)) Maybe what I am saying is irrelevant and only bikeshedding. Like Saint-Thomas, I only believe that I see. ;-) > It also makes > > $ sudo guix system --load-path=3D~/path/tp/my/project =E2=80=A6 > > and > > $ sudo guix system -L ~/path/to/my/project -A mypackage =E2=80=A6 > > suddenly result in different file names. Emacs behaves differently; and it is what is expected (at least by me :-)). --8<---------------cut here---------------start------------->8--- mkdir -p ${HOME}/tmp/foo cat < ${HOME}/tmp/foo/eg.el (defun an-example () (interactive) (message (car load-path)) (message (expand-file-name "kikoo" "~/foo/~/bar"))) (provide 'eg) EOF # ~ means /home/simon/ sudo emacs --batch -L ~/tmp/foo/ --eval "(require 'eg)" --eval "(an-example= )" # ~ mean /root/ sudo emacs --batch --directory=3D~/tmp/foo/ --eval "(require 'eg)" --eval "(an-example)" --8<---------------cut here---------------end--------------->8--- The first '~' is expanded by the shell so in the user's context. The second '~' is expanded by Emacs so in the root's context. Well, nothing new. :-) This is not the issue, if I understand correctly. This issue is about the subfolders named '~'. --8<---------------cut here---------------start------------->8--- mkdir -p ${HOME}/tmp/foo/~/bar cat < ${HOME}/tmp/foo/~/bar/ex.el (defun from-tilde () (interactive) (message (car load-path)) (message (expand-file-name "yahoga" "~/foo/~/bar"))) (provide 'ex) EOF cd ${HOME}/tmp/foo # ~ means /home/simon emacs --batch --directory=3D~/bar/ --eval "(require 'ex)" --eval "(from-til= de)" # protect ~ emacs --batch --directory=3D./~/bar/ --eval "(require 'ex)" --eval "(from-t= ilde)" --8<---------------cut here---------------end--------------->8--- >From the folder '${HOME}/foo', Emacs is run with prepending the subfolder named '~'. The first line fails because the folder '/home/simon/bar/' does not exist. The second '~' refers to the correct subfolder because of the dot. Now the behaviour of Emacs is inconsistent with the Guix's behaviour. --8<---------------cut here---------------start------------->8--- cd ${HOME}/foo guix show --load-path=3D~/bar from-tilde --8<---------------cut here---------------end--------------->8--- This works. Because Guix uses the argument as it is. Note that '--load-path=3D./~/bar/' works too. And note that from the folder '$HOME/tmp/foo', the commands guix show -L ~/bar from-tilde and guix show --load-path=3D~/bar from-tilde refer to different file names. And it appears to me weirder than the tilde expansion done as Emacs does. --8<---------------cut here---------------s tart------------->8--- mkdir -p ${HOME}/tmp/foo/~/bar cat < ${HOME}/tmp/foo/~/bar/from-tilde.scm (define-module (from-tilde) #:use-module (guix packages) #:use-module (gnu packages maths)) (pk (car %load-path)) (define-public from-tilde (package (inherit gmsh) (name "from-tilde"))) EOF --8<---------------cut here---------------end--------------->8--- > Please don't do it. Well, in summary. I have no knowledge about GNU tools and how they expand '~'. I agree that '~' could be considered as a wart. And I do not know if considering '~' as shortcut for $HOME is a "good practise" or not. But I use '~' as meaning $HOME more more often than I create an obscure subfolder named '~' (well I never did :-)). And I treat with care the filename when I use 'sudo' because it is context switch so so error-prone. Maybe wrong terminology has been used with 'expanduser' but Guix should expand '~' in agreement with the GNU Bash tilde-expansion section IMHO. (And this is valid for any '--long-option=3D~'.) Therefore does the "it" in the Danny's and Tobias's "don't do it" mean tilde-expansion? Sorry again to be slow or bikeshed. Best regards, simon From debbugs-submit-bounces@debbugs.gnu.org Sat May 02 09:14:14 2020 Received: (at 40977) by debbugs.gnu.org; 2 May 2020 13:14:14 +0000 Received: from localhost ([127.0.0.1]:51521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUryA-0002Dl-2f for submit@debbugs.gnu.org; Sat, 02 May 2020 09:14:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUry7-0002DY-4g for 40977@debbugs.gnu.org; Sat, 02 May 2020 09:14:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56873) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUry1-0002Xg-Gr; Sat, 02 May 2020 09:14:05 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=45114 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jUrxz-0003gU-Up; Sat, 02 May 2020 09:14:04 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Danny Milosavljevic Subject: Re: bug#40977: --load-path does not honor ~ References: <9fc5fc35-10c6-dda3-1e11-36740e4510c4@crazy-compilers.com> <52117c4b-3090-1ccf-5669-ff4c47935e19@crazy-compilers.com> <20200430193439.0db54d2f@scratchpost.org> Date: Sat, 02 May 2020 15:14:01 +0200 In-Reply-To: <20200430193439.0db54d2f@scratchpost.org> (Danny Milosavljevic's message of "Thu, 30 Apr 2020 19:34:39 +0200") Message-ID: <87k11u8oo6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 40977 Cc: 40977@debbugs.gnu.org, Hartmut Goebel , zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Danny Milosavljevic skribis: >> After processing options, guix need to "expanduser()" (as it is called >> in Python) on all arguments which are paths.=20=20 > > Please don't do it. > > UNIX has its warts, and this is a well-known one (use ${HOME} instead). Seconded. Tilde expansion is performed by the shell. In the case of =E2=80=98--foo=3D~/bar=E2=80=99, tilde expansion does not happen because ~ = is right in the middle of a string. It=E2=80=99s admittedly annoying, but it=E2=80=99s not something Guix itsel= f should paper over. Doing that would open a can of worms, as illustrated by the example Tobias gave. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat May 02 09:14:22 2020 Received: (at control) by debbugs.gnu.org; 2 May 2020 13:14:22 +0000 Received: from localhost ([127.0.0.1]:51524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUryI-0002EA-9p for submit@debbugs.gnu.org; Sat, 02 May 2020 09:14:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUryH-0002Dv-GG for control@debbugs.gnu.org; Sat, 02 May 2020 09:14:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56875) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUryC-0002vF-92 for control@debbugs.gnu.org; Sat, 02 May 2020 09:14:16 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=45116 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jUryB-0004lL-EA for control@debbugs.gnu.org; Sat, 02 May 2020 09:14:15 -0400 Date: Sat, 02 May 2020 15:14:14 +0200 Message-Id: <87imhe8ont.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #40977 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 40977 notabug close 40977 quit From debbugs-submit-bounces@debbugs.gnu.org Sat May 02 09:55:18 2020 Received: (at 40977) by debbugs.gnu.org; 2 May 2020 13:55:18 +0000 Received: from localhost ([127.0.0.1]:52130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUsbu-0005aC-MB for submit@debbugs.gnu.org; Sat, 02 May 2020 09:55:18 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:46532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUsbt-0005Tm-0c for 40977@debbugs.gnu.org; Sat, 02 May 2020 09:55:17 -0400 Received: by mail-qk1-f195.google.com with SMTP id f83so4633892qke.13 for <40977@debbugs.gnu.org>; Sat, 02 May 2020 06:55:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=35S4gxAAZ+8bnj3M7lPR/ovp3d0KWwX3YRYKBYJEp6w=; b=sIozvYtHSIlPOVxlHi7dRo9v/opalnTurErAWBUMDJUSsLi/YloT9FQTnA7rTNpvpM oDI5YouaMrNVUqgx5ok2yhTmYe58BVpjWEqnpke4+3HSE3OVAiK943VvlWoM4iWSQcxh svB9fWk/9bmsgUcZApLs9G6o5uJKfbJTFwNzcCbmlJQmBzJ98BPoubfp52uiYSGC9SOF 12VnRq6XCkSVodWyU4IfhHgj8aBi5Z3zxXi95vEWlsXoTFpq3w2IpjnbLgQt5Ukx3U6/ bNeja9+RA7BH3oF4okhYobtV4tBKw8RL0CBIUYnvZ5/senZiit6I9uFUzkPhdueEKF5L R1CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=35S4gxAAZ+8bnj3M7lPR/ovp3d0KWwX3YRYKBYJEp6w=; b=RCT6uySxqLJz1in4HXLN+tM5Rr6Cm1E9hxC0WtgxrHxThO13hQOviuwqVV1IpnDM0B 0nZFgPQY672rjNknFwIoVuI4tB0UVu551SNKLweAb1JEhGafnONMLEnL1hA+AShOG5Ry uflpAjn9I5J57nV9esohnJL7gGZT9LxXfoJOlSYme1lJtx26Ra7NC6RCjC8lNh5fiZvj O3mT1u+S8w7/cZCEUfwQ/nkJhiqgX8Tsm10k/1wDbqHqBgWkbgmz4cq/bLT5cNrMwIX9 KCJmlwKy3teq7A8JC2l/zZaqPwIVHiHLhdJfmRDY8Zpy20lcN/yDOA3F98pGI8mKsEvP 4xuQ== X-Gm-Message-State: AGi0PubfFlbueC79zpLVFlh9h0beMsk7YswXvvFHCDqDm7mYlAhS3XYC iRgQOjetdG4DJ/Tlncp8dSklM0BhqgZ8N64Av6M= X-Google-Smtp-Source: APiQypLzTI1Cr9TRx48jyddnNFkypwdjT8VcFJ+hamAHcxmUIcJbOX/VygVWJk1a7mDq+ztmhpyvNpte0+hAtKZRxkg= X-Received: by 2002:a37:4e05:: with SMTP id c5mr8279467qkb.232.1588427711417; Sat, 02 May 2020 06:55:11 -0700 (PDT) MIME-Version: 1.0 References: <9fc5fc35-10c6-dda3-1e11-36740e4510c4@crazy-compilers.com> <52117c4b-3090-1ccf-5669-ff4c47935e19@crazy-compilers.com> <20200430193439.0db54d2f@scratchpost.org> <87k11u8oo6.fsf@gnu.org> In-Reply-To: <87k11u8oo6.fsf@gnu.org> From: zimoun Date: Sat, 2 May 2020 15:55:00 +0200 Message-ID: Subject: Re: bug#40977: --load-path does not honor ~ To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40977 Cc: 40977@debbugs.gnu.org, Danny Milosavljevic , Hartmut Goebel X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sat, 2 May 2020 at 15:14, Ludovic Court=C3=A8s wrote: > It=E2=80=99s admittedly annoying, but it=E2=80=99s not something Guix its= elf should > paper over. Doing that would open a can of worms, as illustrated by the > example Tobias gave. Instead of 'notabug' , I propose to tag this bug as 'wontfix' and retitle it as: "Tilde-expansion in --long-options=3D". Is it ok? Best regards, simon ps: Quoting the 'wontfix' explanation [1]: ``this is a choice between two arbitrary ways of doing things and the maintainer and submitter prefer different ways of doing things``. [1] https://debbugs.gnu.org/Developer.html#tags From debbugs-submit-bounces@debbugs.gnu.org Sat May 02 18:14:42 2020 Received: (at 40977) by debbugs.gnu.org; 2 May 2020 22:14:42 +0000 Received: from localhost ([127.0.0.1]:54080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jV0PC-0008S5-FE for submit@debbugs.gnu.org; Sat, 02 May 2020 18:14:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jV0PB-0008Rs-MR for 40977@debbugs.gnu.org; Sat, 02 May 2020 18:14:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40585) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jV0P5-0006mU-BD; Sat, 02 May 2020 18:14:35 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48456 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jV0P4-0007HD-Ps; Sat, 02 May 2020 18:14:35 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: bug#40977: --load-path does not honor ~ References: <9fc5fc35-10c6-dda3-1e11-36740e4510c4@crazy-compilers.com> <52117c4b-3090-1ccf-5669-ff4c47935e19@crazy-compilers.com> <20200430193439.0db54d2f@scratchpost.org> <87k11u8oo6.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 =?utf-8?Q?Flor=C3=A9al?= an 228 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 03 May 2020 00:14:33 +0200 In-Reply-To: (zimoun's message of "Sat, 2 May 2020 15:55:00 +0200") Message-ID: <87mu6q2ddi.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 40977 Cc: 40977@debbugs.gnu.org, Danny Milosavljevic , Hartmut Goebel X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) zimoun skribis: > On Sat, 2 May 2020 at 15:14, Ludovic Court=C3=A8s wrote: > >> It=E2=80=99s admittedly annoying, but it=E2=80=99s not something Guix it= self should >> paper over. Doing that would open a can of worms, as illustrated by the >> example Tobias gave. > > Instead of 'notabug' , I propose to tag this bug as 'wontfix' and > retitle it as: "Tilde-expansion in --long-options=3D". > > Is it ok? Sure. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun May 03 11:19:53 2020 Received: (at control) by debbugs.gnu.org; 3 May 2020 15:19:53 +0000 Received: from localhost ([127.0.0.1]:57674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVGPJ-0005fN-Km for submit@debbugs.gnu.org; Sun, 03 May 2020 11:19:53 -0400 Received: from mail-qk1-f177.google.com ([209.85.222.177]:45432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVGPH-0005f5-PD for control@debbugs.gnu.org; Sun, 03 May 2020 11:19:52 -0400 Received: by mail-qk1-f177.google.com with SMTP id i7so5731783qkl.12 for ; Sun, 03 May 2020 08:19:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=zEhc8fMrxbsPQUOhcw3x9qhRvxoTzfIUQb8i6fTEUnk=; b=tLGJ9OAYNVyqocOzi71Ho9a4F9b96mCgxC2MD8gRbTpyxdokiysiMEDUp0cWP9XDQC 2nbk0EjdZa/KGI2C4bdcTxfcZS76jxeq7gl6aUAnAx+aPhr76P1GZsAP1DT6w5cEBryX K82UkFpU+R1Aq+RW3H43un3JWGCVUlG/zyiiITw3yP68ddUBx2ZlRnWmgnLm8TikVC9o cclveqwFzDdikSKWizE5QgsIgGR3udQ7619WFsxg6yR/F7aCi6dmhzL7dgslpqI4em+7 OCy4QCfE5EPPLwp5u5v/QGQL0Lgcw53oK6gM46GhN4a8K/B+prKgrdtBCGRQ+4fqdlvi 7/fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=zEhc8fMrxbsPQUOhcw3x9qhRvxoTzfIUQb8i6fTEUnk=; b=NadJjdbrvh6h8d0JHe+xsxbRgz5IKOX+7N6YEbwZIC0lXx+ZHApc5YQfg5jQi1PkK2 TkWvEOGO7dC3oZmY43AXGEaaY4N+AldYzBB4k1Uy+v/AiGAvCB2EgWmpQdxAT708kdVe 1c3TiW+j1vrjrcNYC4knAO5xz6a90/c/0u5m1yiRFA+5C351GKL2vv9V6FORkKuPxqtq DygnrXe3AimXEuZzjuwJ6J0QPRBoK4D0L0+g/HK+o+igucns0YJC/+sbQAqNm7hawuPH S8ezC5XXctV7B/APPaoBNtOvNUGX2hdz4NK9ZrGXuGwivDcg48Gxf3HFnSVBLrMeC3up RjIw== X-Gm-Message-State: AGi0PuZTfCRn4bfMO23gnY3TZY1DytJ4bRiskG7NRlhN48DQU/q6YfA4 dHWE0+e3c+bR50s2hPUhRmcxVOqFrzJ/8m3dio8Spmzs X-Google-Smtp-Source: APiQypIBJ4PwWGAZdzuDltKkcVbzfniZFqp+1Pu93uTp0Z3XZ/NeLHmhXVB21SIQph+Ntds9DCFl1IeNmBMxLqSPXD4= X-Received: by 2002:a37:4e05:: with SMTP id c5mr12346546qkb.232.1588519185975; Sun, 03 May 2020 08:19:45 -0700 (PDT) MIME-Version: 1.0 From: zimoun Date: Sun, 3 May 2020 17:19:34 +0200 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 40977 - notabug tags 40977 wontfix retitle 40977 Tilde-expansion in --long-options= thanks Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zimon.toutoune[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.222.177 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.222.177 listed in wl.mailspike.net] 2.0 BLANK_SUBJECT Subject is present but empty X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) tags 40977 - notabug tags 40977 wontfix retitle 40977 Tilde-expansion in --long-options= thanks From unknown Tue Jun 24 17:25:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 01 Jun 2020 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator