From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id RtapJ+MmoV9cSAAA0tVLHw (envelope-from ) for ; Tue, 03 Nov 2020 09:46:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 4C09I+MmoV+hXgAAbx9fmQ (envelope-from ) for ; Tue, 03 Nov 2020 09:46: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 13798940416 for ; Tue, 3 Nov 2020 09:46:10 +0000 (UTC) Received: from localhost ([::1]:58922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZstE-0005WY-Dq for larch@yhetil.org; Tue, 03 Nov 2020 04:46:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZst8-0005WI-Fr for guix-patches@gnu.org; Tue, 03 Nov 2020 04:46:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60136) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZst8-0003L8-5B for guix-patches@gnu.org; Tue, 03 Nov 2020 04:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZst8-0000Xi-2y for guix-patches@gnu.org; Tue, 03 Nov 2020 04:46:02 -0500 Subject: bug#44249: [PATCH v2] gnu: emacs: Make strip-double-wrap more robust Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Tue, 03 Nov 2020 09:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 44249 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Morgan.J.Smith@outlook.com Cc: 44249-done@debbugs.gnu.org Mail-Followup-To: 44249@debbugs.gnu.org, mail@nicolasgoaziou.fr, Morgan.J.Smith@outlook.com Received: via spool by 44249-done@debbugs.gnu.org id=D44249.16043967402050 (code D ref 44249); Tue, 03 Nov 2020 09:46:01 +0000 Received: (at 44249-done) by debbugs.gnu.org; 3 Nov 2020 09:45:40 +0000 Received: from localhost ([127.0.0.1]:43449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZssm-0000X0-Cu for submit@debbugs.gnu.org; Tue, 03 Nov 2020 04:45:40 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:24267) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZssk-0000Wk-Rg for 44249-done@debbugs.gnu.org; Tue, 03 Nov 2020 04:45:39 -0500 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id C4037240183; Tue, 3 Nov 2020 09:45:31 +0000 (UTC) From: Nicolas Goaziou References: <87blgn4bk6.fsf@nicolasgoaziou.fr> Date: Tue, 03 Nov 2020 10:45:30 +0100 In-Reply-To: (Morgan J. Smith's message of "Sun, 1 Nov 2020 23:35:04 -0500") Message-ID: <874km6n58l.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: UKRpYDoZAatG Hello, Morgan.J.Smith@outlook.com writes: > * gnu/packages/emacs.scm (emacs) [strip-double-wrap]: > Use regex to find emacs executable. This works even when the version is > changed by package transformations (ex: version=git.master) I added missing final full stops in the commit message, and tweaked your patter a bit. In particular, I removed the call to `string?', since I don't think `find-files' can return a non-empty list with anything not being a string.Let me know if you think I'm wrong. Patch applied. Thank you. Regards, -- Nicolas Goaziou