From unknown Fri Aug 15 21:22:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#40745] [PATCH] gnu: emacs-dired-toggle-sudo: remove obsolete patch. Resent-From: Michael Rohleder Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Apr 2020 14:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40745 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40745@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158747883812341 (code B ref -1); Tue, 21 Apr 2020 14:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Apr 2020 14:20:38 +0000 Received: from localhost ([127.0.0.1]:50486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQtlJ-0003Cu-H3 for submit@debbugs.gnu.org; Tue, 21 Apr 2020 10:20:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:53703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQtlH-0003Cn-Po for submit@debbugs.gnu.org; Tue, 21 Apr 2020 10:20:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59562) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQtlH-0000Pw-3g for guix-patches@gnu.org; Tue, 21 Apr 2020 10:20:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_SPF_PERMERROR, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQtlD-000771-QX for guix-patches@gnu.org; Tue, 21 Apr 2020 10:20:30 -0400 Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:36048) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQtlD-000754-7J for guix-patches@gnu.org; Tue, 21 Apr 2020 10:20:27 -0400 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1jQtl8-0004sk-CP; Tue, 21 Apr 2020 16:20:22 +0200 Received: from [192.168.1.3] (helo=micha) by www.rohleder.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jQtl7-0004ba-P5 for guix-patches@gnu.org; Tue, 21 Apr 2020 16:20:21 +0200 From: Michael Rohleder X-PGP-Fingerprint: 755E 2DE5 D0D5 85C5 2E78 2830 7C7A FFBE FEF2 CB25 X-PGP-Key: https://www.rohleder.de/~mike/pgpkey.asc Date: Tue, 21 Apr 2020 16:20:09 +0200 Message-ID: <87368wsyxy.fsf@rohleder.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1587478827;6d03cdf7; X-HE-SMSGID: 1jQtl8-0004sk-CP Received-SPF: permerror client-ip=2a01:488:42:1000:50ed:84e7::; envelope-from=mike@rohleder.de; helo=wp224.webpack.hosteurope.de X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2a01:488:42:1000:50ed:84e7:: X-Spam-Score: 1.3 (+) 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: * gnu/packages/emacs-xyz.scm (emacs-dired-toggle-sudo): remove obsolete patch. this patch has landed upstream with the latest commit. From 4be6d54366151b151cc5b45cbd153035eb321316 Mon Sep 17 00:00:00 2001 From: Michael Rohleder Date: Tue, 21 Apr 2020 16:01:27 +0200 Subject: [PATCH] gnu: emacs-dired-toggle-sudo: re [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: brendan.scot] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: nixo.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 T_SPF_PERMERROR SPF: test of record failed (permerror) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [209.51.188.17 listed in list.dnswl.org] 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 (+) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain * gnu/packages/emacs-xyz.scm (emacs-dired-toggle-sudo): remove obsolete patch. this patch has landed upstream with the latest commit. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-packages-emacs-xyz.scm-emacs-dired-toggle-sudo-r.patch Content-Transfer-Encoding: quoted-printable Content-Description: [PATCH] gnu: emacs-dired-toggle-sudo: remove obsolete patch. From=204be6d54366151b151cc5b45cbd153035eb321316 Mon Sep 17 00:00:00 2001 From: Michael Rohleder Date: Tue, 21 Apr 2020 16:01:27 +0200 Subject: [PATCH] gnu: emacs-dired-toggle-sudo: remove obsolete patch. * gnu/packages/emacs-xyz.scm (emacs-dired-toggle-sudo): remove obsolete pat= ch. =2D-- gnu/local.mk | 4 +- gnu/packages/emacs-xyz.scm | 41 ++++++++-------- .../emacs-dired-toggle-sudo-emacs-26.patch | 49 ------------------- 3 files changed, 22 insertions(+), 72 deletions(-) delete mode 100644 gnu/packages/patches/emacs-dired-toggle-sudo-emacs-26.p= atch diff --git a/gnu/local.mk b/gnu/local.mk index ca863a8b9b..e70715000a 100644 =2D-- a/gnu/local.mk +++ b/gnu/local.mk @@ -29,7 +29,8 @@ # Copyright =C2=A9 2020 Brendan Tildesley # Copyright =C2=A9 2020 Vincent Legoll # Copyright =C2=A9 2020 R Veera Kumar =2D# Copyright =C2=A9 2020 Nicol=C3=B2 Balzarotti +# Copyright =C2=A9 2020 Michael Rohleder # # This file is part of GNU Guix. # @@ -851,7 +852,6 @@ dist_patch_DATA =3D \ %D%/packages/patches/elm-compiler-disable-reactor.patch \ %D%/packages/patches/elm-compiler-fix-map-key.patch \ %D%/packages/patches/emacs27-exec-path.patch \ =2D %D%/packages/patches/emacs-dired-toggle-sudo-emacs-26.patch \ %D%/packages/patches/emacs-exec-path.patch \ %D%/packages/patches/emacs-fix-scheme-indent-function.patch \ %D%/packages/patches/emacs-json-reformat-fix-tests.patch \ diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index cd80e57efb..32b1868813 100644 =2D-- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -9281,28 +9281,27 @@ information inside the Dired buffer.") (license license:gpl3+)))) =20 (define-public emacs-dired-toggle-sudo =2D (package =2D (name "emacs-dired-toggle-sudo") =2D (version "1.0") =2D (source =2D (origin =2D (method git-fetch) =2D (uri (git-reference =2D (url "https://github.com/renard/dired-toggle-sudo") =2D (commit (string-append "v" version)))) =2D (file-name (git-file-name name version)) =2D (sha256 =2D (base32 =2D "0ajj8d6k5in2hclcrqckinfh80ylddplva0ryfbkzsjkfq167cv2")) =2D (patches =2D (search-patches =2D "emacs-dired-toggle-sudo-emacs-26.patch")))) =2D (build-system emacs-build-system) =2D (home-page "https://github.com/renard/dired-toggle-sudo") =2D (synopsis "Browse directory with @code{sudo} privileges") =2D (description "This package allows for the use of @code{dired} with + (let ((commit "13bbe52c54893f5aa3e56228450ffdd0c9e1d169") + (revision "0")) + (package + (name "emacs-dired-toggle-sudo") + (version (git-version "1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/renard/dired-toggle-sudo") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1fw1pb1z6krqd1pfxxhr6rrfr9ckkcb0zsjzbjk0i2i1q5cg6car")))) + (build-system emacs-build-system) + (home-page "https://github.com/renard/dired-toggle-sudo") + (synopsis "Browse directory with @code{sudo} privileges") + (description "This package allows for the use of @code{dired} with @code{sudo} privileges.") =2D (license license:wtfpl2))) + (license license:wtfpl2)))) =20 (define-public emacs-diredfl (package diff --git a/gnu/packages/patches/emacs-dired-toggle-sudo-emacs-26.patch b/= gnu/packages/patches/emacs-dired-toggle-sudo-emacs-26.patch deleted file mode 100644 index d979b113d0..0000000000 =2D-- a/gnu/packages/patches/emacs-dired-toggle-sudo-emacs-26.patch +++ /dev/null @@ -1,49 +0,0 @@ =2DFrom 3c0f4b27a079b90dc632f5061a81ce28cef24801 Mon Sep 17 00:00:00 2001 =2DFrom: eryx67 =2DDate: Thu, 29 Nov 2018 10:30:20 +0500 =2DSubject: [PATCH] fix for latest emacs =2D =2D--- =2D dired-toggle-sudo.el | 11 +++++++---- =2D 1 file changed, 7 insertions(+), 4 deletions(-) =2D =2Ddiff --git a/dired-toggle-sudo.el b/dired-toggle-sudo.el =2Dindex 386921b..fe5898e 100644 =2D--- a/dired-toggle-sudo.el =2D+++ b/dired-toggle-sudo.el =2D@@ -37,17 +37,20 @@ =2D unless SUDO-USER is provided." =2D (let* (;; Handle the case of local files. `tramp-dissect-file-name' d= oes =2D ;; not raise an error anymore. =2D- (path (if (tramp-tramp-file-p path) path (concat "/:" path))) =2D+ ;;(path (if (tramp-tramp-file-p path) path (concat "/-::" path))) =2D (file-vec (or (ignore-errors (tramp-dissect-file-name =2D path)) =2D (tramp-dissect-file-name =2D- (concat "/:" path) 1))) =2D+ (concat "/-::" path) 1))) =2D (method (tramp-file-name-method file-vec)) =2D (user (tramp-file-name-user file-vec)) =2D (host (tramp-file-name-host file-vec)) =2D+ (domain (tramp-file-name-domain file-vec)) =2D+ (port (tramp-file-name-port file-vec)) =2D (localname (expand-file-name =2D (tramp-file-name-localname file-vec)))) =2D- (when (string=3D system-name host) =2D+ (when (or (string=3D (system-name) host) =2D+ (string=3D "-" host)) =2D (setq host nil)) =2D (cond =2D ;; remote directory -> sudo =2D@@ -67,7 +70,7 @@ unless SUDO-USER is provided." =2D (setq method "sudo" user sudo-user))) =2D (replace-regexp-in-string =2D "^/:/" "/" =2D- (tramp-make-tramp-file-name method user host localname)))) =2D+ (tramp-make-tramp-file-name method domain user host port localname= )))) =2D=20 =2D (defun dired-toggle-sudo-find (fname) =2D "Create a new buffer for file name FNAME." =2D--=20 =2D2.22.0 =2D =2D-=20 2.26.2 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 Unix was the first OS where you could carry the media and system This was fixed in BSD4.2. --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEdV4t5dDVhcUueCgwfHr/vv7yyyUFAl6fARkACgkQfHr/vv7y yyVHhQgApD6J1ITWaW8b7c4OS7O87qtEwkH2d/r7EJ6doMIQotDEfxJhirONcqM2 crmzGXa0Yx9lC6LIy78efGtaB1fpx753llAvNeHL7tn+RaP0esH+4dlPfgW59DcN WSF/y+K4vYBkA+uFsY1vMl0NdYn7MZQbS67URrrhL6orB7xdaUvd00HJD/1zuUtl iqaQSVqoj3Ny+JzCkcepp/ESud86WSK0vjos+ozKPfZfVzAXNza500TEACChVR+b fumkV2nvpOpDopyGfF8Had/4zSWmFwhsvdnlrWNT05W+W/SSo69FjxqQmAfzVnMj KKh0vgGPgadzEhAtI2NqMb2sooICCQ== =+8gU -----END PGP SIGNATURE----- --==-=-=-- From unknown Fri Aug 15 21:22:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#40745] [PATCH] gnu: emacs-dired-toggle-sudo: remove obsolete patch. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Apr 2020 16:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40745 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Michael Rohleder Cc: 40745@debbugs.gnu.org Received: via spool by 40745-submit@debbugs.gnu.org id=B40745.158748808927113 (code B ref 40745); Tue, 21 Apr 2020 16:55:01 +0000 Received: (at 40745) by debbugs.gnu.org; 21 Apr 2020 16:54:49 +0000 Received: from localhost ([127.0.0.1]:50678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQwAa-00073F-Qi for submit@debbugs.gnu.org; Tue, 21 Apr 2020 12:54:49 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:59257) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQwAZ-000732-JW for 40745@debbugs.gnu.org; Tue, 21 Apr 2020 12:54:48 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id DE8835C00AE; Tue, 21 Apr 2020 12:54:41 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 21 Apr 2020 12:54:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=+HIf+1md67wvnJG4cwz5czja DGZr7tN/HcYYaNT4OtY=; b=sDnj7t6los+MxTxFBSVczZljLS5I4fhA9X2uomTr QYm45kjBaSIXdpNrY/ab9ejxXw1I7IwK2QbWDR/uyebtk49zxgBls2E1YcAFxQGK EFpDhjxPrJly8N+Z5pHqFbrt109RW3qHX0xPHMlNEk+BuDZI4pGd9xa0xSRBbPLD Pes= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=+HIf+1 md67wvnJG4cwz5czjaDGZr7tN/HcYYaNT4OtY=; b=TeFIpeuexx8MrI4cH3waJk uQRti+peDsQHNJRNL5DF+XV6EDvog2gbqNlf0PV5LdXX7J8lpNxBrQrDsO0eimer 8Kw1mDwWVSQ+sDUCVuTTDtb4eq2iZwZj2dWrY5FiTdvQWbE6YApoIHJuP0SmT6y4 zGwKp+KaG/68aS8SMpWfyJ+2aNTazRbE/dvcJNJYUryAAn5P5z8xLR8LhDy1BdS3 4A8tNttADgmWvoHTxw8z4DMSOu70qOQiv0B/dIBNSrUMDWg7k9tFeFks/9WT/Fqm glvrrHWZkQh478ddAePMZdc+3WV90HKojQRkc1ukg9glk5+XwgdtsCoRNGMyqkcg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrgeehgddutdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtre ertddtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgr rhhirdhnrghmvgeqnecukfhppeejiedruddvgedrudefkedrieefnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhi rdhnrghmvg X-ME-Proxy: Received: from localhost (c-76-124-138-63.hsd1.pa.comcast.net [76.124.138.63]) by mail.messagingengine.com (Postfix) with ESMTPA id CED3A3280064; Tue, 21 Apr 2020 12:54:40 -0400 (EDT) Date: Tue, 21 Apr 2020 12:54:39 -0400 From: Leo Famulari Message-ID: <20200421165439.GC20354@jasmine.lan> References: <87368wsyxy.fsf@rohleder.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lEGEL1/lMxI0MVQ2" Content-Disposition: inline In-Reply-To: <87368wsyxy.fsf@rohleder.de> X-Spam-Score: -0.7 (/) 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.7 (-) --lEGEL1/lMxI0MVQ2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 21, 2020 at 04:20:09PM +0200, Michael Rohleder wrote: >=20 > * gnu/packages/emacs-xyz.scm (emacs-dired-toggle-sudo): remove obsolete p= atch. >=20 > this patch has landed upstream with the latest commit. Great! > From 4be6d54366151b151cc5b45cbd153035eb321316 Mon Sep 17 00:00:00 2001 > From: Michael Rohleder > Date: Tue, 21 Apr 2020 16:01:27 +0200 > Subject: [PATCH] gnu: emacs-dired-toggle-sudo: remove obsolete patch. >=20 > * gnu/packages/emacs-xyz.scm (emacs-dired-toggle-sudo): remove obsolete p= atch. I rewrote the commit message to be more idiomatic and pushed as a1c34680b3439507b3c35cb6fce9832464d1ad3d --lEGEL1/lMxI0MVQ2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAl6fJU4ACgkQJkb6MLrK fwjbVQ/9Ek5ywvLPfKhfWjLPDnP6Bafcg3T7UUiTv3d/Uv1iy8EYUEYIq/Jb9jiA pEhgOsJL5x35q4Ntivzbofp27aXic8GcTz987lQnFmVIXHLBjSOYMkdr/X3AUGRh NDmu6hFEO+xPR8l+fiYSj5yBG7gKtzoMa1t+TYk3ssgA2fV/OLmOyPS9FIo54tHU 70c6ZGAim4ckG6uff4o/jZ/ByzJVZcRyWnYIAiNW7PZcTar7dcscWGn66HXdR4tZ iBKTDQYDpl7XI7jvebY8vt0ogNbGpKvr57ZXd/DICAAbwP1wbCLmYtGs9IEavk/S evrFsptCdALNUhWxvAEYdUywNu0Va98LHi68A9RrwClNEbp56uU7WNFEO6JISNiR TYijLQxz0xsFFwF4Z3jdDhq3k2azVgfA9qXiW2nTbMetGhVRSG4w6X/QP/+SEeKe bk32o6qmXA7QJe2Anys6WC+KVKcGrV5c0sXdR1uu2dQFc911c8uRFGOoWZOlyIks r3i6bGXYO1kunDrjCbFnbU8lZLN30ODxCZl/L/Wpd/ATUiEtHPQ0dGMPPrupNZpR AqSEC0vpBViSSxasCBzElJwGlOYbQ1pWu4x08VZR8Ri+d9apU8dOsnJa9BWOENsx N8Pr1+yUiqpHvNub+qSeI4xA4jkuQh2/WbIMiZpUFAf8maGBJxA= =obQv -----END PGP SIGNATURE----- --lEGEL1/lMxI0MVQ2-- From unknown Fri Aug 15 21:22:49 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Michael Rohleder Subject: bug#40745: closed (Re: [bug#40745] [PATCH] gnu: emacs-dired-toggle-sudo: remove obsolete patch.) Message-ID: References: <87imhf8ko8.fsf@nicolasgoaziou.fr> <87368wsyxy.fsf@rohleder.de> X-Gnu-PR-Message: they-closed 40745 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 40745@debbugs.gnu.org Date: Fri, 01 May 2020 20:29:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1588364942-23227-1" This is a multi-part message in MIME format... ------------=_1588364942-23227-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #40745: [PATCH] gnu: emacs-dired-toggle-sudo: remove obsolete patch. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 40745@debbugs.gnu.org. --=20 40745: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D40745 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1588364942-23227-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 40745-done) by debbugs.gnu.org; 1 May 2020 20:28:17 +0000 Received: from localhost ([127.0.0.1]:50747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUcGf-00061X-F1 for submit@debbugs.gnu.org; Fri, 01 May 2020 16:28:17 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:42417) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUcGd-00061B-EE for 40745-done@debbugs.gnu.org; Fri, 01 May 2020 16:28:16 -0400 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay10.mail.gandi.net (Postfix) with ESMTPSA id AC2F3240004 for <40745-done@debbugs.gnu.org>; Fri, 1 May 2020 20:28:08 +0000 (UTC) From: Nicolas Goaziou To: 40745-done@debbugs.gnu.org Subject: Re: [bug#40745] [PATCH] gnu: emacs-dired-toggle-sudo: remove obsolete patch. References: <87368wsyxy.fsf@rohleder.de> <20200421165439.GC20354@jasmine.lan> Date: Fri, 01 May 2020 22:28:07 +0200 In-Reply-To: <20200421165439.GC20354@jasmine.lan> (Leo Famulari's message of "Tue, 21 Apr 2020 12:54:39 -0400") Message-ID: <87imhf8ko8.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40745-done 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.7 (-) Leo Famulari writes: > I rewrote the commit message to be more idiomatic and pushed as > a1c34680b3439507b3c35cb6fce9832464d1ad3d Closing. ------------=_1588364942-23227-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 Apr 2020 14:20:38 +0000 Received: from localhost ([127.0.0.1]:50486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQtlJ-0003Cu-H3 for submit@debbugs.gnu.org; Tue, 21 Apr 2020 10:20:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:53703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQtlH-0003Cn-Po for submit@debbugs.gnu.org; Tue, 21 Apr 2020 10:20:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59562) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQtlH-0000Pw-3g for guix-patches@gnu.org; Tue, 21 Apr 2020 10:20:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_SPF_PERMERROR, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQtlD-000771-QX for guix-patches@gnu.org; Tue, 21 Apr 2020 10:20:30 -0400 Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:36048) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQtlD-000754-7J for guix-patches@gnu.org; Tue, 21 Apr 2020 10:20:27 -0400 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1jQtl8-0004sk-CP; Tue, 21 Apr 2020 16:20:22 +0200 Received: from [192.168.1.3] (helo=micha) by www.rohleder.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jQtl7-0004ba-P5 for guix-patches@gnu.org; Tue, 21 Apr 2020 16:20:21 +0200 From: Michael Rohleder To: guix-patches@gnu.org Subject: [PATCH] gnu: emacs-dired-toggle-sudo: remove obsolete patch. X-PGP-Fingerprint: 755E 2DE5 D0D5 85C5 2E78 2830 7C7A FFBE FEF2 CB25 X-PGP-Key: https://www.rohleder.de/~mike/pgpkey.asc Date: Tue, 21 Apr 2020 16:20:09 +0200 Message-ID: <87368wsyxy.fsf@rohleder.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1587478827;6d03cdf7; X-HE-SMSGID: 1jQtl8-0004sk-CP Received-SPF: permerror client-ip=2a01:488:42:1000:50ed:84e7::; envelope-from=mike@rohleder.de; helo=wp224.webpack.hosteurope.de X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2a01:488:42:1000:50ed:84e7:: X-Spam-Score: 1.3 (+) 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: * gnu/packages/emacs-xyz.scm (emacs-dired-toggle-sudo): remove obsolete patch. this patch has landed upstream with the latest commit. From 4be6d54366151b151cc5b45cbd153035eb321316 Mon Sep 17 00:00:00 2001 From: Michael Rohleder Date: Tue, 21 Apr 2020 16:01:27 +0200 Subject: [PATCH] gnu: emacs-dired-toggle-sudo: re [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: brendan.scot] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: nixo.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 T_SPF_PERMERROR SPF: test of record failed (permerror) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [209.51.188.17 listed in list.dnswl.org] 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain * gnu/packages/emacs-xyz.scm (emacs-dired-toggle-sudo): remove obsolete patch. this patch has landed upstream with the latest commit. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-packages-emacs-xyz.scm-emacs-dired-toggle-sudo-r.patch Content-Transfer-Encoding: quoted-printable Content-Description: [PATCH] gnu: emacs-dired-toggle-sudo: remove obsolete patch. From=204be6d54366151b151cc5b45cbd153035eb321316 Mon Sep 17 00:00:00 2001 From: Michael Rohleder Date: Tue, 21 Apr 2020 16:01:27 +0200 Subject: [PATCH] gnu: emacs-dired-toggle-sudo: remove obsolete patch. * gnu/packages/emacs-xyz.scm (emacs-dired-toggle-sudo): remove obsolete pat= ch. =2D-- gnu/local.mk | 4 +- gnu/packages/emacs-xyz.scm | 41 ++++++++-------- .../emacs-dired-toggle-sudo-emacs-26.patch | 49 ------------------- 3 files changed, 22 insertions(+), 72 deletions(-) delete mode 100644 gnu/packages/patches/emacs-dired-toggle-sudo-emacs-26.p= atch diff --git a/gnu/local.mk b/gnu/local.mk index ca863a8b9b..e70715000a 100644 =2D-- a/gnu/local.mk +++ b/gnu/local.mk @@ -29,7 +29,8 @@ # Copyright =C2=A9 2020 Brendan Tildesley # Copyright =C2=A9 2020 Vincent Legoll # Copyright =C2=A9 2020 R Veera Kumar =2D# Copyright =C2=A9 2020 Nicol=C3=B2 Balzarotti +# Copyright =C2=A9 2020 Michael Rohleder # # This file is part of GNU Guix. # @@ -851,7 +852,6 @@ dist_patch_DATA =3D \ %D%/packages/patches/elm-compiler-disable-reactor.patch \ %D%/packages/patches/elm-compiler-fix-map-key.patch \ %D%/packages/patches/emacs27-exec-path.patch \ =2D %D%/packages/patches/emacs-dired-toggle-sudo-emacs-26.patch \ %D%/packages/patches/emacs-exec-path.patch \ %D%/packages/patches/emacs-fix-scheme-indent-function.patch \ %D%/packages/patches/emacs-json-reformat-fix-tests.patch \ diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index cd80e57efb..32b1868813 100644 =2D-- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -9281,28 +9281,27 @@ information inside the Dired buffer.") (license license:gpl3+)))) =20 (define-public emacs-dired-toggle-sudo =2D (package =2D (name "emacs-dired-toggle-sudo") =2D (version "1.0") =2D (source =2D (origin =2D (method git-fetch) =2D (uri (git-reference =2D (url "https://github.com/renard/dired-toggle-sudo") =2D (commit (string-append "v" version)))) =2D (file-name (git-file-name name version)) =2D (sha256 =2D (base32 =2D "0ajj8d6k5in2hclcrqckinfh80ylddplva0ryfbkzsjkfq167cv2")) =2D (patches =2D (search-patches =2D "emacs-dired-toggle-sudo-emacs-26.patch")))) =2D (build-system emacs-build-system) =2D (home-page "https://github.com/renard/dired-toggle-sudo") =2D (synopsis "Browse directory with @code{sudo} privileges") =2D (description "This package allows for the use of @code{dired} with + (let ((commit "13bbe52c54893f5aa3e56228450ffdd0c9e1d169") + (revision "0")) + (package + (name "emacs-dired-toggle-sudo") + (version (git-version "1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/renard/dired-toggle-sudo") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1fw1pb1z6krqd1pfxxhr6rrfr9ckkcb0zsjzbjk0i2i1q5cg6car")))) + (build-system emacs-build-system) + (home-page "https://github.com/renard/dired-toggle-sudo") + (synopsis "Browse directory with @code{sudo} privileges") + (description "This package allows for the use of @code{dired} with @code{sudo} privileges.") =2D (license license:wtfpl2))) + (license license:wtfpl2)))) =20 (define-public emacs-diredfl (package diff --git a/gnu/packages/patches/emacs-dired-toggle-sudo-emacs-26.patch b/= gnu/packages/patches/emacs-dired-toggle-sudo-emacs-26.patch deleted file mode 100644 index d979b113d0..0000000000 =2D-- a/gnu/packages/patches/emacs-dired-toggle-sudo-emacs-26.patch +++ /dev/null @@ -1,49 +0,0 @@ =2DFrom 3c0f4b27a079b90dc632f5061a81ce28cef24801 Mon Sep 17 00:00:00 2001 =2DFrom: eryx67 =2DDate: Thu, 29 Nov 2018 10:30:20 +0500 =2DSubject: [PATCH] fix for latest emacs =2D =2D--- =2D dired-toggle-sudo.el | 11 +++++++---- =2D 1 file changed, 7 insertions(+), 4 deletions(-) =2D =2Ddiff --git a/dired-toggle-sudo.el b/dired-toggle-sudo.el =2Dindex 386921b..fe5898e 100644 =2D--- a/dired-toggle-sudo.el =2D+++ b/dired-toggle-sudo.el =2D@@ -37,17 +37,20 @@ =2D unless SUDO-USER is provided." =2D (let* (;; Handle the case of local files. `tramp-dissect-file-name' d= oes =2D ;; not raise an error anymore. =2D- (path (if (tramp-tramp-file-p path) path (concat "/:" path))) =2D+ ;;(path (if (tramp-tramp-file-p path) path (concat "/-::" path))) =2D (file-vec (or (ignore-errors (tramp-dissect-file-name =2D path)) =2D (tramp-dissect-file-name =2D- (concat "/:" path) 1))) =2D+ (concat "/-::" path) 1))) =2D (method (tramp-file-name-method file-vec)) =2D (user (tramp-file-name-user file-vec)) =2D (host (tramp-file-name-host file-vec)) =2D+ (domain (tramp-file-name-domain file-vec)) =2D+ (port (tramp-file-name-port file-vec)) =2D (localname (expand-file-name =2D (tramp-file-name-localname file-vec)))) =2D- (when (string=3D system-name host) =2D+ (when (or (string=3D (system-name) host) =2D+ (string=3D "-" host)) =2D (setq host nil)) =2D (cond =2D ;; remote directory -> sudo =2D@@ -67,7 +70,7 @@ unless SUDO-USER is provided." =2D (setq method "sudo" user sudo-user))) =2D (replace-regexp-in-string =2D "^/:/" "/" =2D- (tramp-make-tramp-file-name method user host localname)))) =2D+ (tramp-make-tramp-file-name method domain user host port localname= )))) =2D=20 =2D (defun dired-toggle-sudo-find (fname) =2D "Create a new buffer for file name FNAME." =2D--=20 =2D2.22.0 =2D =2D-=20 2.26.2 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 Unix was the first OS where you could carry the media and system This was fixed in BSD4.2. --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEdV4t5dDVhcUueCgwfHr/vv7yyyUFAl6fARkACgkQfHr/vv7y yyVHhQgApD6J1ITWaW8b7c4OS7O87qtEwkH2d/r7EJ6doMIQotDEfxJhirONcqM2 crmzGXa0Yx9lC6LIy78efGtaB1fpx753llAvNeHL7tn+RaP0esH+4dlPfgW59DcN WSF/y+K4vYBkA+uFsY1vMl0NdYn7MZQbS67URrrhL6orB7xdaUvd00HJD/1zuUtl iqaQSVqoj3Ny+JzCkcepp/ESud86WSK0vjos+ozKPfZfVzAXNza500TEACChVR+b fumkV2nvpOpDopyGfF8Had/4zSWmFwhsvdnlrWNT05W+W/SSo69FjxqQmAfzVnMj KKh0vgGPgadzEhAtI2NqMb2sooICCQ== =+8gU -----END PGP SIGNATURE----- --==-=-=-- ------------=_1588364942-23227-1--