From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: master caabc5a4ab 5/5: * lisp/nxml/rng-util.el (rng-collapse-space): Simplify. Date: Tue, 9 Aug 2022 14:08:55 -0700 Message-ID: References: <166007508993.24373.18256121088464354115@vcs2.savannah.gnu.org> <20220809195810.B8856C01680@vcs2.savannah.gnu.org> <875yj1tcdo.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34848"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 09 23:10:49 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oLWUz-0008rc-3Q for ged-emacs-devel@m.gmane-mx.org; Tue, 09 Aug 2022 23:10:49 +0200 Original-Received: from localhost ([::1]:38520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLWUx-0007mf-N3 for ged-emacs-devel@m.gmane-mx.org; Tue, 09 Aug 2022 17:10:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLWTE-0006z8-7n for emacs-devel@gnu.org; Tue, 09 Aug 2022 17:09:00 -0400 Original-Received: from mail-vs1-xe31.google.com ([2607:f8b0:4864:20::e31]:45845) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLWTB-0006vH-70 for emacs-devel@gnu.org; Tue, 09 Aug 2022 17:08:59 -0400 Original-Received: by mail-vs1-xe31.google.com with SMTP id m67so13185512vsc.12 for ; Tue, 09 Aug 2022 14:08:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc:content-transfer-encoding; bh=qlxYpGyrqH46Q81tW7l+3BMoRCltcgt9UwgLVUogv4s=; b=mJPZqJxt+R0bvZpgQ2IzqXWpqupn+vBnnXAOcnJ7db7BtDjjXWGcYWdQ13cVd2yTkW RH3jMmjuHVDEMt4guZUPsdS0ZISu7Wkid12iWPmWKWA+3GhC+fsjHD8/IaDm1eqPuGKH esEVO63Ifll/24SssoO/lUtaDt3SLmuRSjLH35rosjfORnAXF8xRLJum9zFUTMUiSuvg 9+KVl3DW+TDTpaegpfM3+hY9+zKD/qJs3fW54UTnPD8YWEcyQge1G4hUvhr8H213PXXY 19bmHJ3Fp7Vl8V2sk6b5cjBQ96wsnuP3WAY75gvfx94dUbY1nOWWp/Rc2tErZsowajV8 kztA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc:content-transfer-encoding; bh=qlxYpGyrqH46Q81tW7l+3BMoRCltcgt9UwgLVUogv4s=; b=OqMubTIY89e0Cr29TdwhW4dGxmhQZ5RV7MWzytrQ605l8/iHUegaMR58ak588bOje4 Qo6X1wAY+6B9W2tybCLeg+K9tXFyETFcPCa3pixhZfszMlWajHo0EptD90tYH7WCvesg 87udYQOaJ7vCy3sG47hUOksEXeB1TcEH0gEvizFFzrue8fE+qZaniuwDCbMFFOqXbSd+ K+p3lPFbKPr8CR2PsyFZ5Hjo+EQW7+ejxSE1rfcL9m9GmV3yIFmafDha3d0KqRbKymIJ y3/qM/SLHBmIjjoZ54nNi1lyGreZ17ls93ueb5PiHdTJKEUlRRBVmCE0DwkTBC9Qk4ek N4Yg== X-Gm-Message-State: ACgBeo2q5mJkLQg7c+SeI1DlTnLziNHmPGxPIsch7NXvFujXmBj/TsNq xgEZ7hYvhvoHZcQcZWoofYRfnc6MLYg6Z/b9ww0URXPv X-Google-Smtp-Source: AA6agR5+hhLOi3QMPF1AV1zOuo769fiNkNGNeSdYGgKc88c5K01N+0D0zVrB1k0IrPJX9rA9GKKtZXV2UH8QXSs7IwE= X-Received: by 2002:a05:6102:7c6:b0:37d:34bd:8564 with SMTP id y6-20020a05610207c600b0037d34bd8564mr10212071vsg.59.1660079335783; Tue, 09 Aug 2022 14:08:55 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 9 Aug 2022 14:08:55 -0700 In-Reply-To: <875yj1tcdo.fsf@gnus.org> X-Hashcash: 1:20:220809:emacs-devel@gnu.org::JlpxorC4QqZ3WAo4:7eAd Received-SPF: pass client-ip=2607:f8b0:4864:20::e31; envelope-from=stefankangas@gmail.com; helo=mail-vs1-xe31.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-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:293334 Archived-At: Lars Ingebrigtsen writes: > Stefan Kangas writes: > >> + (string-trim >> + (replace-regexp-in-string "[ \t\r\n]+" " " string t t))) > > This is basically `string-clean-whitespace', I think, so this can be > simplified further. =F0=9F=98=80 Indeed, now done. Thanks!