From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sGzGHOfReGC/YAEAgWs5BA (envelope-from ) for ; Fri, 16 Apr 2021 01:53:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qJdtFufReGBgVgAAbx9fmQ (envelope-from ) for ; Thu, 15 Apr 2021 23:53:11 +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 D76B217B8B for ; Fri, 16 Apr 2021 01:53:10 +0200 (CEST) Received: from localhost ([::1]:32972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXBnI-0001o6-E2 for larch@yhetil.org; Thu, 15 Apr 2021 19:53:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37630) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXBnC-0001nz-NE for bug-guix@gnu.org; Thu, 15 Apr 2021 19:53:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56259) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lXBnC-0000Ve-El for bug-guix@gnu.org; Thu, 15 Apr 2021 19:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lXBnC-0006Bx-B8 for bug-guix@gnu.org; Thu, 15 Apr 2021 19:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47812: Incorrect code in the Guix manual, but only on the website Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 15 Apr 2021 23:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47812 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 47812@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161853076123770 (code B ref -1); Thu, 15 Apr 2021 23:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Apr 2021 23:52:41 +0000 Received: from localhost ([127.0.0.1]:39572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXBmr-0006BK-Bw for submit@debbugs.gnu.org; Thu, 15 Apr 2021 19:52:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:34580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXBmo-0006BB-67 for submit@debbugs.gnu.org; Thu, 15 Apr 2021 19:52:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXBmn-0001nC-UB for bug-guix@gnu.org; Thu, 15 Apr 2021 19:52:37 -0400 Received: from world.peace.net ([64.112.178.59]:52026) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXBml-0000DQ-Of for bug-guix@gnu.org; Thu, 15 Apr 2021 19:52:37 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lXBmj-0005vu-DD; Thu, 15 Apr 2021 19:52:33 -0400 From: Mark H Weaver Date: Thu, 15 Apr 2021 19:50:49 -0400 Message-ID: <87r1jbgl8r.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=64.112.178.59; envelope-from=mhw@netris.org; helo=world.peace.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618530791; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=ng9txBOy5376Agonypw+XlpOetnQoZNKSUQgV8A42Ls=; b=Rb2rTCMqhKL9yRfmjUpVG5NhZtw0KSe57MDePWUjMY6sDSm2W+Ebc9aq5FuEUZFlDvCfkQ D5KUfGjZW4PB5S3WXgyRBXejL5A0rrkpgniYx9cc8w9a64tOjytiPyjmqpkOk18BEFdaXc 9FaEQsSzf/7eJamxXzGlAgDIIYHzLj2rwgZ2VrX7W0RHbz4+Awmn+Rn3JS05hnboqMkmfE zZeDPshRZNGRnzsaiF8RN9LVq5i3mpCYQB99MWiGeqViKxaXjudWcYolENbNUFiY4ryU+x GGKyDaSrn70o2LeK83FCj6mcpCJRiFtysa9MqntVScDtfzlKWEXtorkNHl76pw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618530791; a=rsa-sha256; cv=none; b=b9mmLGOGVP/tM5uBglRI+UOnjiWw5HKAnSuB+sxvdsvwYYh52rVcfTNrtUjgOuWl41RZDV knfPIeA8/TCs68LW0kSuTiKQ8DMnXOlkTI6VSnahS5CynJQBJbXsOD7WoPFgkoLvVeh5YP yUoXhhPZCp4kmMIBEK3p1+XkGFCemWkjsuoTGLkhFpuBff5kiB9mIH5wG2RWJ51lQKnbzX 7Ox5yENLG31ks+5HEnFEQ+X4hU0qnK4pajU6jymhweGYSppcfo9dnxt3yaSrvAa8D/h4aY FX0M4wcSnbWQhs3H5/iH86qi6gYO1PXgw5ZMvuYsyYGYgVEv+Z1fu0jCHQYGag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.44 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: D76B217B8B X-Spam-Score: -2.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: d5DPjqmwDh65 In the Guix manual, as it appears on our website, https://guix.gnu.org/manual/devel/en/html_node/X-Window.html the manual entry for 'slim-service-type' suggests the following code to remove the 'gdm' service from %desktop-services. --8<---------------cut here---------------start------------->8--- (modify-services %desktop-services (delete gdm-service-type)) --8<---------------cut here---------------end--------------->8--- This code is incorrect. 'modify-services' does not support deleting services. The puzzling thing is that I can't find where this suggested code exists in our git repository. The manual in our git repository is correct. Instead of the code above, it suggests: --8<---------------cut here---------------start------------->8--- (remove (lambda (service) (eq? (service-kind service) gdm-service-type)) %desktop-services) --8<---------------cut here---------------end--------------->8--- This is the case on our 'master', 'core-updates', and 'version-1.2.0' branches. See: https://git.sv.gnu.org/cgit/guix.git/tree/doc/guix.texi?id=ebd021f73292bf47b26a799665d6204574bae239#n17891 https://git.sv.gnu.org/cgit/guix.git/tree/doc/guix.texi?h=core-updates&id=76fc36d0a7215979bb74c05840f5a4de4ab5ea93#n17756 https://git.sv.gnu.org/cgit/guix.git/tree/doc/guix.texi?h=version-1.2.0&id=8603bcd5822a1a8364a7a74a698059d3d147568b#n17076 The correct text was added about 2 years ago, in the following commit: https://git.sv.gnu.org/cgit/guix.git/commit/?id=dbef9015db107dd148133420b89af552ef08f8ee I see no evidence of it being changed since then. Any idea where the incorrect code on the website manual is coming from? Thanks, Mark