From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id IMk/O2SIz2WYtQAAqHPOHw:P1 (envelope-from ) for ; Fri, 16 Feb 2024 17:08:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id IMk/O2SIz2WYtQAAqHPOHw (envelope-from ) for ; Fri, 16 Feb 2024 17:08:05 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=qcWWo8LW; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708099684; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=lNSc43+XZzrMQlp/BbQMKjkx4qoRKAGT0fpdUDZm5Eg=; b=RGdlMgQ+SgKHoawn08lwjF3A6eGJTKbHiDLMTEeLQS4clubQwBTw2Pz+hH4NssJOHwFHVg BCJ3N5s3x9oTH6bsbTu0YYERLRXQWrY0nL7gh71fMKcblpJUA7LBJsokMxkquGUVDmJFr4 SSjpco81aMOcyFxCBns7R9k9p2DWGLthDY/SZaJDvc0FZtpyncamr7aIl3tDrzN3oxSOyD A1RJeIfJZh61i/OyrTHCC9AmJj8C5P0QjUE07kPeoO+M6j4hE+fB0u/sgiWN9GrDFRsPhy gJt1q1XbnA9eIO/WxDQAmUZBpsm2GKatG+keSGbDUlwR2QHZ6GyL6QCK9YGB+Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=qcWWo8LW; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708099684; a=rsa-sha256; cv=none; b=Uo+t+t6dNmL8OBf63Efs6+AWor06Vj0gMdjJtVkIpx0S8/UX4c4l6i6mbA2HHQUOtudUel 1lMidx83OJEtcy6wPoLBFGhaM3yP/fADWEZE6oFVMXkCfJzIiHf5xzygpVxqsBJyY/IQe7 NGshH8Pwdt/tsuFR6HtUfB3QHhum+nYzvzddA5rNMQ7EqXjmfC7Qc4x9pIYNAgu6dS3XOw ejOP+5yR5YimkKRlR60e486qMEowWtz3lrDcJ04LCkITRpi62dO4k8dsGTMzIAiCUzPJHN Qu2tL3Vr/2dUvTWimBu1WaR6TOPB09y8F5lo1YrDMGCjcFm4G3r1mXvKw+xDTg== 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 2515214212 for ; Fri, 16 Feb 2024 17:08:04 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rb0ke-0007dh-1W; Fri, 16 Feb 2024 11:07:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rb0kc-0007cU-7d for guix-patches@gnu.org; Fri, 16 Feb 2024 11:07:46 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rb0kZ-0005uz-4b for guix-patches@gnu.org; Fri, 16 Feb 2024 11:07:45 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rb0ks-0008WB-5b for guix-patches@gnu.org; Fri, 16 Feb 2024 11:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68935] [PATCH v2 5/6] import: Insert packages into modules alphabetically. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 16 Feb 2024 16:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68935 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68935@debbugs.gnu.org Cc: ludo@gnu.org Received: via spool by 68935-submit@debbugs.gnu.org id=B68935.170809962132536 (code B ref 68935); Fri, 16 Feb 2024 16:08:02 +0000 Received: (at 68935) by debbugs.gnu.org; 16 Feb 2024 16:07:01 +0000 Received: from localhost ([127.0.0.1]:60007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rb0jt-0008Se-Ct for submit@debbugs.gnu.org; Fri, 16 Feb 2024 11:07:01 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:38893 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rb0jn-0008SJ-5u for 68935@debbugs.gnu.org; Fri, 16 Feb 2024 11:06:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1708099588; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=lNSc43+XZzrMQlp/BbQMKjkx4qoRKAGT0fpdUDZm5Eg=; b=qcWWo8LWSmjB3FuUeU4h2gja6fl9zyicMoMH82QWayj7kkBZu11PssG+7AnE2vw0uLEd7M Z3G6g+CztvPyWFcMXOsTXZtSoF1Oip4huVLjbInXDQMUJ0XLNtXoyy7LAxYdL+5Y5CBs96 yKJ12fbVgesLsDxvR6ECMnGRAcCYCxNJGr/BgSSLyHjFHaB8iGxoYwDgsGJchIvBDRHrSZ K/a5iSyOx4jUYQvP7FvUjuPrdMlPsbj7QAtUKQvbbikWSnDeg8lCg8kkZ9SjiLy1SvDzXT wT+0fSfAebFUN02sTTCmMTlKeh7Vx9Gi88YTz+zsvckl9lOsBwZAPxWHz5zPDA== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 9a16d759 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Fri, 16 Feb 2024 16:06:28 +0000 (UTC) Date: Fri, 16 Feb 2024 17:06:22 +0100 Message-ID: References: <3c0da641938e96a9f0c491abb74b30c75634df9a.1707505804.git.herman@rimm.ee> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.47 X-Spam-Score: -6.47 X-Migadu-Queue-Id: 2515214212 X-Migadu-Scanner: mx13.migadu.com X-TUID: ZkZHde0V1Vk1 Hi, On Fri, Feb 09, 2024 at 08:25:17PM +0100, Herman Rimm wrote: > + ((or ("-i" module importer args ...) > + ("--insert" module importer args ...)) > + (let ((find-and-insert > + (lambda (expr) > + (let ((insert > + (lambda (source-properties) > + (if source-properties > + (insert-expression source-properties expr) > + (let ((port (open-file file "a"))) It should be 'module' instead of 'file' here. I will rename 'module' to 'file' in the next revision though. Cheers, Herman