From unknown Tue Jun 24 01:38:37 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#55317 <55317@debbugs.gnu.org> To: bug#55317 <55317@debbugs.gnu.org> Subject: Status: [PATCH] doc: Clarify guix shell's DWIM behaviour. Reply-To: bug#55317 <55317@debbugs.gnu.org> Date: Tue, 24 Jun 2025 08:38:37 +0000 retitle 55317 [PATCH] doc: Clarify guix shell's DWIM behaviour. reassign 55317 guix-patches submitter 55317 Liliana Marie Prikler severity 55317 normal tag 55317 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun May 08 11:36:41 2022 Received: (at submit) by debbugs.gnu.org; 8 May 2022 15:36:41 +0000 Received: from localhost ([127.0.0.1]:55050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnixc-0007n7-SM for submit@debbugs.gnu.org; Sun, 08 May 2022 11:36:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:37064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnixb-0007n0-Hg for submit@debbugs.gnu.org; Sun, 08 May 2022 11:36:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58230) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnixb-000229-AQ for guix-patches@gnu.org; Sun, 08 May 2022 11:36:39 -0400 Received: from mail-ej1-x644.google.com ([2a00:1450:4864:20::644]:35746) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nnixZ-0006Z8-Hk for guix-patches@gnu.org; Sun, 08 May 2022 11:36:39 -0400 Received: by mail-ej1-x644.google.com with SMTP id ks9so16144033ejb.2 for ; Sun, 08 May 2022 08:36:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:date:subject:to:cc:content-transfer-encoding:message-id :mime-version; bh=I/P/osEOKBJLFtf/DPeS8MIsunaMhD3oFJi8kFgMkZ4=; b=CNq6oHXb5yCy1bpIWTXrpSrfUCqvJ8MmBoCK1T+p+j9kqrhwC6HYq6pyY8A5LzRfiO pS4G/MCxs4ZCWEjBxokz0ihwFdjahkLbtfQU/24trUqsSrxOI+1jgdKg5hJU1laI8L5N xCwWH3B6AA2Zp5lcmKjTt6NPwoJK4gOTYqVEOthdAkg9XnBWoFOdjai25JkcSJp7sSVU VUcY/yKDqukCyNVS7amlWBFYvCl+h030tWHpU1tMq8lZRp3r4b2nNTomkF76f324I4wS kfc8aXUr0b3jvddgxjd42ekRN7ZsdFNYH6IQExzm04j203FxVVU5dAhHrb8ZP3zpjQ3B CLXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:date:subject:to:cc :content-transfer-encoding:message-id:mime-version; bh=I/P/osEOKBJLFtf/DPeS8MIsunaMhD3oFJi8kFgMkZ4=; b=i8nIDz+/kcTjry01SJYeREdshW1pT9GIjZX9xpx9OkcGPTQOfkj3dt3LAoIDz2kOt5 DFA5noxTI61yAlFHX8WdwqAvGXH4T9SBAjwxtRNo07Or/lcZq7yMTmvRXTHV17ZrUVnP wa0qUPwwRjQRRgoP2VRKnBYcaB4bahBAtkPFaSf7kgGIRRfUCzh5JVPssQLAUalMdnno qf4Zsf/MiDpdroTSrETIATv8FX3mavajvQn7oDMsTf25jA1jKE5qapbsn/VZOo+FmGe/ SljU1/6onMv0S2RgBk7ZM6pWqwK2RpRa+6xBtH3U0M5NrpaJ91VuP8hqxqjuF3RbOp4M Kajg== X-Gm-Message-State: AOAM5307T5vzPuWFAuhogi5yhNzjj0XVkvoxfsr4y7+1IP8cZ4YFowc3 7PNRI+SAnoaqS1Ndp9T60NmEQuyQBL4= X-Google-Smtp-Source: ABdhPJz89eqUO5OrSIU1D9gbHecf52vpH1uLzg8GMDe4Hgw25j1KJCOQ09Msn6/u/Orin4n4ib+Ilw== X-Received: by 2002:a17:906:4f0f:b0:6f4:667c:ff9d with SMTP id t15-20020a1709064f0f00b006f4667cff9dmr11528691eju.519.1652024195690; Sun, 08 May 2022 08:36:35 -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 pj9-20020a170906d78900b006f39ffe23fdsm4173644ejb.0.2022.05.08.08.36.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 08:36:35 -0700 (PDT) From: Liliana Marie Prikler Date: Sun, 8 May 2022 17:29:06 +0200 Subject: [PATCH] doc: Clarify guix shell's DWIM behaviour. to: guix-patches@gnu.org Content-Transfer-Encoding: 7bit Message-ID: <9184428ce5f7de56848b1c0018b2639dd0e8a5ca.camel@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::644; envelope-from=liliana.prikler@gmail.com; helo=mail-ej1-x644.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Ryan Prior 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: -2.3 (--) --- Bonjour Guix, as can be seen from , the way in which guix shell interactively does what you mean is open to interpretation and different folks may mean different things when specifying nothing. Therefore, document guix' assumptions more clearly. Cheers doc/guix.texi | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 5399584cb0..249c5956e2 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -5693,17 +5693,16 @@ before @command{guix shell} was invoked. The next garbage collection (@pxref{Invoking guix gc}) may clean up packages that were installed in the environment and that are no longer used outside of it. -As an added convenience, when running from a directory that contains a -@file{manifest.scm} or a @file{guix.scm} file (in this order), possibly -in a parent directory, @command{guix shell} automatically loads the -file---provided the directory is listed in -@file{~/.config/guix/shell-authorized-directories}, and only for -interactive use: - -@example -guix shell -@end example - +As an added convenience, @command{guix shell} when invoked interactively +without any other arguments will try to do what you mean based on the +files it locates in the current directory or parent directories. +If it finds a @file{manifest.scm}, it uses this manifest as though +it was given via @code{--manifest}. +If it finds a @file{guix.scm}, it uses this package file as though +it was given via @code{--development --file}. +In either case, the file will only be loaded if the directory it +resides in is listed in +@file{~/.config/guix/shell-authorized-directories}. This provides an easy way to define, share, and enter development environments. -- 2.36.0 From debbugs-submit-bounces@debbugs.gnu.org Sun May 08 21:33:42 2022 Received: (at submit) by debbugs.gnu.org; 9 May 2022 01:33:42 +0000 Received: from localhost ([127.0.0.1]:55531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnsHO-0002Hq-H0 for submit@debbugs.gnu.org; Sun, 08 May 2022 21:33:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:48538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnsHM-0002Hi-Oc for submit@debbugs.gnu.org; Sun, 08 May 2022 21:33:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnsHM-00079F-Ie for guix-patches@gnu.org; Sun, 08 May 2022 21:33:40 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:35655) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnsHJ-0002M4-UF for guix-patches@gnu.org; Sun, 08 May 2022 21:33:39 -0400 Date: Mon, 09 May 2022 01:33:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1652060015; bh=+17o09sDtXdoiYjbSdRmU/yif/Y2PUOltvk3XZq7GXg=; h=Date:To:From:Reply-To:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=dgMgJ2FYWXDVLbEz0mDBjsCg6VVNaVFRyO/9aVuOxBo5Htty9K3qOchw90m30AtY2 NtfjNfFx9Pq1SyTeNllOy1G0jYlFsXbm4zeruK6e83rmQhpdtdlqTo5MsKIIIEvV6U b1+Ae6exkD7ivZJDzpYRWiAR6tz/V/+65NQGjIBJIVbpupwQPA8E4EVzU6/NvhCHhD HQhxibvZSg3gZ/vX88+1FP1tqzvCLbVqXd2b0Nrp3MdXJVVtR7DZmqMtHKS3fPdxvA FsL1lPvEwFMa9+kPszssFv+7AbX6JozBb3sD+mCgscp/jv3VgrmsbziYO/YLA33N5b FyQj6z7KQB8rw== To: liliana.prikler@gmail.com, guix-patches@gnu.org From: Ryan Prior Subject: Re: [PATCH] doc: Clarify guix shell's DWIM behaviour. Message-ID: <9gd1OCxVgCIzswfg-8ULpRDdCsIUbN_AN6OpDNbfDDnurNxFmTHvzfUGP0OvN5Mfz6VWgA3vrIennCdVqPPZYvyHdvGADbHm2WmgmLPxN5M=@protonmail.com> In-Reply-To: <9184428ce5f7de56848b1c0018b2639dd0e8a5ca.camel@gmail.com> References: <9184428ce5f7de56848b1c0018b2639dd0e8a5ca.camel@gmail.com> Feedback-ID: 7396961:user:proton MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_UT4GWpjnHm4WKfsO32p0TAQSH8LM3UsekzFfqiHs" Received-SPF: pass client-ip=185.70.43.16; envelope-from=rprior@protonmail.com; helo=mail-4316.protonmail.ch 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, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.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: , Reply-To: Ryan Prior Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This is a multi-part message in MIME format. --b1_UT4GWpjnHm4WKfsO32p0TAQSH8LM3UsekzFfqiHs Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 LS0tLS0tLS0gT3JpZ2luYWwgTWVzc2FnZSAtLS0tLS0tLQpPbiBNYXkgOCwgMjAyMiwgMTA6Mjkg QU0sIExpbGlhbmEgTWFyaWUgUHJpa2xlciA8IGxpbGlhbmEucHJpa2xlckBnbWFpbC5jb20+IHdy b3RlOgotLS0KQm9uam91ciBHdWl4LAphcyBjYW4gYmUgc2VlbiBmcm9tIDxodHRwOi8vbG9ncy5n dWl4LmdudS5vcmcvZ3VpeC8yMDIyLTA1LTA4LmxvZyMxNjQwMTk+LAp0aGUgd2F5IGluIHdoaWNo IGd1aXggc2hlbGwgaW50ZXJhY3RpdmVseSBkb2VzIHdoYXQgeW91IG1lYW4gaXMgb3BlbiB0bwpp bnRlcnByZXRhdGlvbiBhbmQgZGlmZmVyZW50IGZvbGtzIG1heSBtZWFuIGRpZmZlcmVudCB0aGlu Z3Mgd2hlbgpzcGVjaWZ5aW5nIG5vdGhpbmcuCgpUaGFuayB5b3UgTGlsaWFuYSwgdGhpcyBpcyBh IGhlbHBmdWwgY2hhbmdlIQ== --b1_UT4GWpjnHm4WKfsO32p0TAQSH8LM3UsekzFfqiHs Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: base64 PGJyPi0tLS0tLS0tIE9yaWdpbmFsIE1lc3NhZ2UgLS0tLS0tLS08YnI+T24gTWF5IDgsIDIwMjIs IDEwOjI5IEFNLCBMaWxpYW5hIE1hcmllIFByaWtsZXIgJmx0OyBsaWxpYW5hLnByaWtsZXJAZ21h aWwuY29tJmd0OyB3cm90ZTo8YnI+LS0tPGJyPkJvbmpvdXIgR3VpeCw8YnI+YXMgY2FuIGJlIHNl ZW4gZnJvbSAmbHQ7PGEgaHJlZj0iaHR0cDovL2xvZ3MuZ3VpeC5nbnUub3JnL2d1aXgvMjAyMi0w NS0wOC5sb2cjMTY0MDE5Jmd0OywiPmh0dHA6Ly9sb2dzLmd1aXguZ251Lm9yZy9ndWl4LzIwMjIt MDUtMDgubG9nIzE2NDAxOSZndDssPC9hPjxicj50aGUgd2F5IGluIHdoaWNoIGd1aXggc2hlbGwg aW50ZXJhY3RpdmVseSBkb2VzIHdoYXQgeW91IG1lYW4gaXMgb3BlbiB0bzxicj5pbnRlcnByZXRh dGlvbiBhbmQgZGlmZmVyZW50IGZvbGtzIG1heSBtZWFuIGRpZmZlcmVudCB0aGluZ3Mgd2hlbjxi cj5zcGVjaWZ5aW5nIG5vdGhpbmcuIDxicj48YnI+VGhhbmsgeW91IExpbGlhbmEsIHRoaXMgaXMg YSBoZWxwZnVsIGNoYW5nZSE= --b1_UT4GWpjnHm4WKfsO32p0TAQSH8LM3UsekzFfqiHs-- From debbugs-submit-bounces@debbugs.gnu.org Sat May 14 05:17:12 2022 Received: (at 55317) by debbugs.gnu.org; 14 May 2022 09:17:12 +0000 Received: from localhost ([127.0.0.1]:45764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npntc-0002yZ-Tf for submit@debbugs.gnu.org; Sat, 14 May 2022 05:17:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npntb-0002sw-Eg for 55317@debbugs.gnu.org; Sat, 14 May 2022 05:17:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52184) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npntW-0007K6-63; Sat, 14 May 2022 05:17:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=92cNa2cMJcDc7OO2lFTImgnIzCilKfiFLHMj/K0N/Zc=; b=I8ngFUtiz15Njmcrf/op 4OW3BUfDsrDrNqwd+OnReP6KO4obC6k4mMc+bgHcKHjOEmWNz6mqy2ccqs5I1/fyPYMlmkHM3py+N o7ANva+/eVvQbhsjCJkHcwmt1v8GQ2SvfNycFLFTxQ2nB5dmV/Dqwc+O7ztfSFo0ElhvrYb3vohuV /LshM8NWFhqcsFDbFI097v5IJh7XHUXdUJgqrOQuKFuXpkSKyHNXxNURFJJZeKm28n1NWXvvHy0Sn /QAmct5y3GDrZxk+mrDAZ7Gitek2mUDFNspuZ/rJB5daNAzX2pXoXj8HKgnnNsUQQScoMExpoRcde ISqITmY1rU/ciA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:64050 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npntV-0004tH-Aj; Sat, 14 May 2022 05:17:01 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Liliana Marie Prikler Subject: Re: bug#55317: [PATCH] doc: Clarify guix shell's DWIM behaviour. References: <9184428ce5f7de56848b1c0018b2639dd0e8a5ca.camel@gmail.com> Date: Sat, 14 May 2022 11:16:58 +0200 In-Reply-To: <9184428ce5f7de56848b1c0018b2639dd0e8a5ca.camel@gmail.com> (Liliana Marie Prikler's message of "Sun, 8 May 2022 17:29:06 +0200") Message-ID: <87ee0wh3sl.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (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: 55317 Cc: 55317@debbugs.gnu.org, Ryan Prior 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 (---) Hi, Liliana Marie Prikler skribis: > +++ b/doc/guix.texi > @@ -5693,17 +5693,16 @@ before @command{guix shell} was invoked. The nex= t garbage collection > (@pxref{Invoking guix gc}) may clean up packages that were installed in > the environment and that are no longer used outside of it. >=20=20 > -As an added convenience, when running from a directory that contains a > -@file{manifest.scm} or a @file{guix.scm} file (in this order), possibly > -in a parent directory, @command{guix shell} automatically loads the > -file---provided the directory is listed in > -@file{~/.config/guix/shell-authorized-directories}, and only for > -interactive use: > - > -@example > -guix shell > -@end example > - > +As an added convenience, @command{guix shell} when invoked interactively > +without any other arguments will try to do what you mean based on the > +files it locates in the current directory or parent directories. > +If it finds a @file{manifest.scm}, it uses this manifest as though > +it was given via @code{--manifest}. > +If it finds a @file{guix.scm}, it uses this package file as though > +it was given via @code{--development --file}. > +In either case, the file will only be loaded if the directory it > +resides in is listed in > +@file{~/.config/guix/shell-authorized-directories}. > This provides an easy way to define, share, and enter development > environments. It=E2=80=99s clearer like this, so go for it! Maybe you can keep the @exam= ple bit as that makes an easily visible anchor in the text. Thank you, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat May 14 08:04:46 2022 Received: (at 55317) by debbugs.gnu.org; 14 May 2022 12:04:46 +0000 Received: from localhost ([127.0.0.1]:45945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npqVp-0004Qw-RD for submit@debbugs.gnu.org; Sat, 14 May 2022 08:04:46 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:41956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npqVn-0004Qd-OC for 55317@debbugs.gnu.org; Sat, 14 May 2022 08:04:44 -0400 Received: by mail-ed1-f66.google.com with SMTP id d6so12842773ede.8 for <55317@debbugs.gnu.org>; Sat, 14 May 2022 05:04:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:date:subject:to:cc:content-transfer-encoding:message-id :mime-version; bh=zFZ1tqGlblZsUsMuCVdPab8LxoQCfhGYOvCsxO0swLE=; b=CGLpxB5FLwx+00Xgo0mwEyFjtsgLe8X2dp7v8vjX//JbjViBVZYnf9ZRdGX8g2UxSE kJFNkRwq26agrljhRH64j6UcLETUBtdV4VmiaMIWmqz7jb+GlBzMz1hmaT7hJAQk4m7Y VaFsFQXo1KOli2NmCp2gW5+ZVjp60+oU7lr/rC5pUSA3mTQnTRUoEgAsKxGZOOTj78OO mxLI73K45fk8szk6o0y1xnhV1p5ngAFugDMtB/tTiTCCnDFPkCQ/NoT34OgQdz8khGMd kMHfZE0yFG3Zcql4ma9Kj+rgTQdKhux2PzgaY6cIpRymUf4NYV8K7KZdLSud3dJEYmlj kVyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:date:subject:to:cc :content-transfer-encoding:message-id:mime-version; bh=zFZ1tqGlblZsUsMuCVdPab8LxoQCfhGYOvCsxO0swLE=; b=Lpt1Tv/vJtP3tLwmgJZFem4v7NUAkYoXrvRtKtxWmJ9onW6sH2Hg+TCkaFjvuq1Xws G6gUXOzZweC9PrCpEjnmqzikxmBeX1pJAQuvNGEAzma0jWBPnpQscli5HfMIpR/FHTJe sQOs4oRpwQ+VXBxI49NcZh5bGOE1RUVgYFMjo3nQ0/NWN7To6+6kB75gBa9sxdZE71se xovdqJiRBRKGhNFG/17C1kSYFUr9KxrHZ5L5F+Io0yD7+CpNFgHBL6PNW848clHdrc3u PjUL1AIj449+6AORobunkCvVdsC0Xpk0cFGKqMC0glS4lFN5ZS4waVA24CLH8u4rhKZ3 dKkg== X-Gm-Message-State: AOAM533c/BIq0yaxn/ZMVWh4c+Yat6Q6KZplBX0BptVc0+5LH6GJIjFg fUG8rKiW1ZIAIi6GvB3LqTM= X-Google-Smtp-Source: ABdhPJyAs1tZHPGAky6vMj1QH0Mh+ZLLOYA7OG0lUXdsgeE3sVuxH0PemAHghuei90jwQkiVCO/p7Q== X-Received: by 2002:aa7:d4d4:0:b0:427:5f6:c5d0 with SMTP id t20-20020aa7d4d4000000b0042705f6c5d0mr3512034edr.207.1652529877882; Sat, 14 May 2022 05:04:37 -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 el9-20020a170907284900b006f3ef214e22sm1655154ejc.136.2022.05.14.05.04.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 05:04:37 -0700 (PDT) From: Liliana Marie Prikler Date: Sun, 8 May 2022 17:29:06 +0200 Subject: [PATCH v2] doc: Clarify guix shell's DWIM behaviour. to: Ludovic =?ISO-8859-1?Q?Court=E8s?= Content-Transfer-Encoding: 7bit Message-ID: <3eccfbb0aa34517d4ff44822c7634872f4528e19.camel@gmail.com> MIME-Version: 1.0 X-Spam-Score: 2.1 (++) 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: * doc/guix.texi ("Invoking guix shell"): Document the exact behaviour, that is which flags go together with which file names. --- doc/guix.texi | 19 +++++++++++-------- 1 file changed, 11 insertions(+ [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date 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 (liliana.prikler[at]gmail.com) -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.208.66 listed in wl.mailspike.net] -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 55317 Cc: 55317@debbugs.gnu.org, Ryan Prior 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.1 (+) 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: * doc/guix.texi ("Invoking guix shell"): Document the exact behaviour, that is which flags go together with which file names. --- doc/guix.texi | 19 +++++++++++-------- 1 file changed, 11 insertions(+ [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.208.66 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date 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 (liliana.prikler[at]gmail.com) -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager * doc/guix.texi ("Invoking guix shell"): Document the exact behaviour, that is which flags go together with which file names. --- doc/guix.texi | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index e1fb50a634..34908462e2 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -5670,17 +5670,20 @@ before @command{guix shell} was invoked. The next garbage collection (@pxref{Invoking guix gc}) may clean up packages that were installed in the environment and that are no longer used outside of it. -As an added convenience, when running from a directory that contains a -@file{manifest.scm} or a @file{guix.scm} file (in this order), possibly -in a parent directory, @command{guix shell} automatically loads the -file---provided the directory is listed in -@file{~/.config/guix/shell-authorized-directories}, and only for -interactive use: - +As an added convenience, @command{guix shell} will try to do what you +mean when it is invoked interactively as in @example guix shell @end example - +without any other arguments. If it finds a @file{manifest.scm} in the +current working directory or any of its parents, it uses this manifest +as though it was given via @code{--manifest}. Likewise, if it finds +a @file{guix.scm} in the same directories, it uses it to build a +development profile as though both @code{--development} and @code{--file} +were present. +In either case, the file will only be loaded if the directory it +resides in is listed in +@file{~/.config/guix/shell-authorized-directories}. This provides an easy way to define, share, and enter development environments. -- 2.36.0 From debbugs-submit-bounces@debbugs.gnu.org Tue May 17 08:47:07 2022 Received: (at 55317) by debbugs.gnu.org; 17 May 2022 12:47:07 +0000 Received: from localhost ([127.0.0.1]:56022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqwbS-00018q-WD for submit@debbugs.gnu.org; Tue, 17 May 2022 08:47:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqwbR-00018L-OZ for 55317@debbugs.gnu.org; Tue, 17 May 2022 08:47:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58326) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqwbM-0006Cx-Bh; Tue, 17 May 2022 08:47:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=D4+v1sJiKOkP/Z00SSQVQrP+bw8ClPLhOton1mvTO70=; b=bHejCRnmN3Zp2LQHMm2B u3p4IQFFp5iihENUNjRx5EgNEog4AId/aoNkFtcqg0yDpnD6GL8S18CN6js0mfqFya32os7oi+J65 HtmvRbTG3ADyz/heu58+e7XwY1YqLORAWR18Z+evXpsNSwn0EEwaMRTpn9saFg4IMT7HT1Yely56+ A8BBC8+c4/27aQvJK2iivf3+jJ/6KJ3yeQHp2dSziKDAGF9yc3cYMlHuWq86h5XqSvcdNhJXzNjGI zAW787dAteEL+k8tpdN8clmR5TpmA+kS9PpY2of85p5mAS1Lj47Zyx+ZOfSnQKc7z6AZbvbaRdCmF uL+2hB7QnSMEuQ==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=45120 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqwbI-0006fY-Ki; Tue, 17 May 2022 08:47:00 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Liliana Marie Prikler Subject: Re: [PATCH v2] doc: Clarify guix shell's DWIM behaviour. References: <3eccfbb0aa34517d4ff44822c7634872f4528e19.camel@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 28 =?utf-8?Q?Flor=C3=A9al?= an 230 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: Tue, 17 May 2022 14:46:54 +0200 In-Reply-To: <3eccfbb0aa34517d4ff44822c7634872f4528e19.camel@gmail.com> (Liliana Marie Prikler's message of "Sun, 8 May 2022 17:29:06 +0200") Message-ID: <87v8u45nsx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (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: 55317 Cc: 55317@debbugs.gnu.org, Ryan Prior 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 (---) Hi! Liliana Marie Prikler skribis: > * doc/guix.texi ("Invoking guix shell"): Document the exact behaviour, th= at is > which flags go together with which file names. [...] > +As an added convenience, @command{guix shell} will try to do what you > +mean when it is invoked interactively as in > @example I=E2=80=99d add a colon after =E2=80=9Cin=E2=80=9D followed by a newline. Otherwise LGTM, thank you! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 16 15:16:59 2022 Received: (at 55317-done) by debbugs.gnu.org; 16 Aug 2022 19:16:59 +0000 Received: from localhost ([127.0.0.1]:48361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oO23e-000730-Up for submit@debbugs.gnu.org; Tue, 16 Aug 2022 15:16:59 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:42656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oO23c-00072k-DJ for 55317-done@debbugs.gnu.org; Tue, 16 Aug 2022 15:16:56 -0400 Received: by mail-ed1-f66.google.com with SMTP id z20so14702632edb.9 for <55317-done@debbugs.gnu.org>; Tue, 16 Aug 2022 12:16:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc; bh=IHCWhpeRBAAEnrlpC3LNkHWu9ElM4L6vjbE8EMp47eg=; b=H4fnYala7slfN259rATys0fC1VCoNt7YqGTNh7qW9uYKJtTo+wg4D/5CgimYjzTZOl zDQIxbHV2D9ZKSnLcvPhPabIgecMvsOzCW4O6ncp3SWzGahTHF+rgplFBTYAttcrNbEs UQjrx4rkPPS7LZfjySCVzvpD0Em2iwlPMzgUIZ9JpVZmhP+q/MCoPBHCDjA1/ewd2+D8 d6FpsKbBCiWgFXt9iIGKds7v+MDP1GhUeGPNCHcNPI1USd/if2l1ss3Ru54EZZXuSo45 tcr/ap8hZyhEhAeeTUWxa1R3D2F3ErGiQoj2Jrl127PpuMD0NK7y7f4DqFS7Gi3TzWZ2 Q4gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc; bh=IHCWhpeRBAAEnrlpC3LNkHWu9ElM4L6vjbE8EMp47eg=; b=XQaXNu/5Hyg1V4bASW/c6WV6Gcdb7MZnY9ROGN/HAEgztDT4ttvZSXyEb+bGIPOmaq C3agNQfg7v92JgcQkL7Sc5wvULABJLj1z2kZVDg8QFhCzlZATYTxB6Y7qXZqqXluK044 U8ZXRRs57HvLl1eeCJeZtGc/nxbSPxe5q0NkIhqN4agCQUJlrMvtxhsC+e5GPBF7edjC xkglO6L6QFT2iao0gOLJ7onm4fOuAFMcEU29zBpKO/7CLeB596chbJ8GbGDJ7/3VV8sV cWddfdZGMldJacuFgdC8JSvmBo0zdBcP3jOUZNC3/9TyzUJnqqGqZskAg3K6elRGV1Wb XJ2Q== X-Gm-Message-State: ACgBeo2iqgpMW53avaBZHDuovjyVuRIB7mgV0meD2TsbyN3p7eiUbv2h 6jvUBJOPjbrMKiFsVgO2Vrg= X-Google-Smtp-Source: AA6agR6gi3bgTM+K9CMDNGocikilI77HTu4wUZoUyGiYQ1jdEOpYq+uJMslRWsJ8q/VMzK937AeveA== X-Received: by 2002:a05:6402:5418:b0:435:5a48:daa9 with SMTP id ev24-20020a056402541800b004355a48daa9mr20318292edb.304.1660677410574; Tue, 16 Aug 2022 12:16:50 -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 v16-20020a1709062f1000b0072f9e7ce354sm5663013eji.139.2022.08.16.12.16.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Aug 2022 12:16:50 -0700 (PDT) Message-ID: Subject: Re: [PATCH v2] doc: Clarify guix shell's DWIM behaviour. From: Liliana Marie Prikler To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Date: Tue, 16 Aug 2022 21:16:48 +0200 In-Reply-To: <87v8u45nsx.fsf@gnu.org> References: <3eccfbb0aa34517d4ff44822c7634872f4528e19.camel@gmail.com> <87v8u45nsx.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 55317-done Cc: 55317-done@debbugs.gnu.org, Ryan Prior 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 (-) Am Dienstag, dem 17.05.2022 um 14:46 +0200 schrieb Ludovic Courtès: > > > +As an added convenience, @command{guix shell} will try to do what > > you > > +mean when it is invoked interactively as in > >  @example > > I’d add a colon after “in” followed by a newline. I pushed this in 131acaa28ded1455de291a83a8cdecab77b74a87 some while ago (with the added colon), so I'm closing this now. Cheers From unknown Tue Jun 24 01:38:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 14 Sep 2022 11:24:04 +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