From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 21 11:59:24 2024 Received: (at submit) by debbugs.gnu.org; 21 Oct 2024 15:59:24 +0000 Received: from localhost ([127.0.0.1]:53019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2uoV-0000O1-Lx for submit@debbugs.gnu.org; Mon, 21 Oct 2024 11:59:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:55906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2uoO-0000Nn-EO for submit@debbugs.gnu.org; Mon, 21 Oct 2024 11:59:21 -0400 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 1t2unx-0007gU-32 for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2024 11:58:49 -0400 Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t2unv-0001MB-8Q for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2024 11:58:48 -0400 Received: by mail-qk1-x731.google.com with SMTP id af79cd13be357-7b14df8f821so414694985a.2 for ; Mon, 21 Oct 2024 08:58:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toadstyle-org.20230601.gappssmtp.com; s=20230601; t=1729526325; x=1730131125; darn=gnu.org; h=to:date:message-id:subject:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=8vImCeRPtTtvk3zSb2IofeZlkM7nZ1P+eiGBdnUZSzk=; b=JY+jSw46x/uU54jC2LY+xDktOTWM6CTvkEeLUOl576L/LZvql0vLv1OKUPltTyn3td /kPkzX69Yo/IL4yw/UyHB40XUc3Ihq64UthoUJpswHfIO0d8UF5Rj8+E+FIjf0DE1dmO LVRC1/QysSLAsmgKSVQoc63ZodqqBV76VLNEVVSiAo9IYOHjXGHmunQMOav5KTTLly42 3C87uMlImdWNnPUw9NdiChPtQE0kh24xZ5xjYYZAnKfOvbOXLwgwWUBSxGh8GeEjlrOo CGQAimVUgJMQvnh5aCH8gwzhKyW1st0Dj+okg0KkG7mUvbD2tY0MttqjJfje6ICOJ384 wyqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729526325; x=1730131125; h=to:date:message-id:subject:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=8vImCeRPtTtvk3zSb2IofeZlkM7nZ1P+eiGBdnUZSzk=; b=lYHZTW2J1j1vf5UfB8pWhuw1Mm9viFmskZb8Ol3qq+7BgiK90yZj41YBlWMcdFCKOc c9H6U9I/QQaCe3m+MW+r0dPZP2pIkVpoRZ35ni6S39zk3RbgDxMnWoTzaDD+rchLhIET FJR6ZYieibOSB3rfVk6eaywUtiECcER1LZNHQvFdPIq8t4z3OKx9aJjre0EO0b7fSSlZ Pd734ldkqMej+zp9ONVCr1dgJgnyZcOv0hPtYcPcDhSAj2r5+qB5g8C9KKnN6Eff9JqX TcVnHZnuXkJ1EgyBO0zbpf37Vjj09DWbFrW1u8shzSNxK1ZRszZ3gtPLlsP9mS6h8GuV D9wA== X-Gm-Message-State: AOJu0YxoaJrQIJaT7qv+H6Uipw08B4Sqm+PLQSbMLhpPxBDUi64l21OV FJvr9PC6k1GUkBWLyBLMDI4Y20FtnD5nFElYjkt5cRbohikVNw2w4JqEEEmlHrMCUcu4WGHtDhW p X-Google-Smtp-Source: AGHT+IGZonSAfWOYXWni3LvuwixLOFHiaPMgcf0oYA5udTS/UorDAYmLbls8gKq/zmDY+FRhFI4ydw== X-Received: by 2002:a05:620a:4690:b0:7b1:4536:8dc7 with SMTP id af79cd13be357-7b157bdfb51mr1560858685a.41.1729526325251; Mon, 21 Oct 2024 08:58:45 -0700 (PDT) Received: from smtpclient.apple ([70.107.172.48]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b1659b9415sm182431285a.3.2024.10.21.08.58.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Oct 2024 08:58:44 -0700 (PDT) From: Sean Devlin Content-Type: multipart/mixed; boundary="Apple-Mail=_6D02C3F3-6A2C-4158-9FC8-672D9C7561B8" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Subject: [PATCH] Add noconfirm to 'package-autoremove' Message-Id: <2AA4E1A2-0422-40F5-BFD6-CDAE69996F1F@toadstyle.org> Date: Mon, 21 Oct 2024 11:58:34 -0400 To: bug-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.3776.700.51) Received-SPF: pass client-ip=2607:f8b0:4864:20::731; envelope-from=spd@toadstyle.org; helo=mail-qk1-x731.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: -2.3 (--) --Apple-Mail=_6D02C3F3-6A2C-4158-9FC8-672D9C7561B8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi folks, Attached is a patch adding an optional NOCONFIRM argument to = package-autoremove to skip user confirmation before removing packages. I want to call package-autoremove in my init file to ensure there are no = packages installed except those I configured explicitly via = package-selected-packages. For example, in one session I might install package XYZ interactively = via the package menu to try it out. If I decide I like it, I=E2=80=99ll = add it to package-selected-packages in my init file to keep it around. = Otherwise, I want to make sure it gets blown away the next time I start = Emacs. This workflow is cumbersome in the current implementation of = package-autoremove, which prompts the user before removing any packages. = This patch adds an optional NOCONFIRM argument similar to what is = implemented in package-install-selected-packages. Please let me know if any changes are needed. Thanks! --Apple-Mail=_6D02C3F3-6A2C-4158-9FC8-672D9C7561B8 Content-Disposition: attachment; filename=0001-Add-noconfirm-to-package-autoremove.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-Add-noconfirm-to-package-autoremove.patch" Content-Transfer-Encoding: quoted-printable =46rom=20952d8facc6be876f6aa71f742491b58287b0e7a2=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Sean=20Devlin=20=0ADate:=20= Mon,=2021=20Oct=202024=2011:28:06=20-0400=0ASubject:=20[PATCH]=20Add=20= noconfirm=20to=20'package-autoremove'=0A=0A*=20= lisp/emacs-lisp/package.el=20(package-autoremove):=0AAdd=20optional=20= argument=20NOCONFIRM=20to=20skip=20user=20confirmation=20when=20removing=0A= packages.=0A---=0A=20lisp/emacs-lisp/package.el=20|=2019=20= ++++++++++++-------=0A=201=20file=20changed,=2012=20insertions(+),=207=20= deletions(-)=0A=0Adiff=20--git=20a/lisp/emacs-lisp/package.el=20= b/lisp/emacs-lisp/package.el=0Aindex=207cae8d68bc0..d2de264743a=20100644=0A= ---=20a/lisp/emacs-lisp/package.el=0A+++=20b/lisp/emacs-lisp/package.el=0A= @@=20-2616,26=20+2616,31=20@@=20are=20invalid=20due=20to=20changed=20= byte-code,=20macros=20or=20the=20like."=0A=20=20=20=20=20=20=20= (package-recompile=20pkg-desc))))=0A=20=0A=20;;;###autoload=0A-(defun=20= package-autoremove=20()=0A+(defun=20package-autoremove=20(&optional=20= noconfirm)=0A=20=20=20"Remove=20packages=20that=20are=20no=20longer=20= needed.=0A=20=0A=20Packages=20that=20are=20no=20more=20needed=20by=20= other=20packages=20in=0A=20`package-selected-packages'=20and=20their=20= dependencies=0A-will=20be=20deleted."=0A+will=20be=20deleted.=0A+=0A+If=20= optional=20argument=20NOCONFIRM=20is=20non-nil,=20don't=20ask=20for=0A= +confirmation=20to=20install=20packages."=0A=20=20=20(interactive)=0A=20=20= =20;;=20If=20`package-selected-packages'=20is=20nil,=20it=20would=20make=20= no=20sense=20to=0A=20=20=20;;=20try=20to=20populate=20it=20here,=20= because=20then=20`package-autoremove'=20will=0A=20=20=20;;=20do=20= absolutely=20nothing.=0A-=20=20(when=20(or=20package-selected-packages=0A= +=20=20(when=20(or=20noconfirm=0A+=20=20=20=20=20=20=20=20=20=20=20=20= package-selected-packages=0A=20=20=20=20=20=20=20=20=20=20=20=20=20= (yes-or-no-p=0A=20=20=20=20=20=20=20=20=20=20=20=20=20=20(format-message=0A= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= "`package-selected-packages'=20is=20empty!=20Really=20remove=20ALL=20= packages?=20")))=0A=20=20=20=20=20(let=20((removable=20= (package--removable-packages)))=0A=20=20=20=20=20=20=20(if=20removable=0A= -=20=20=20=20=20=20=20=20=20=20(when=20(y-or-n-p=0A-=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20(format=20"Packages=20to=20delete:=20%d=20= (%s),=20proceed?=20"=0A-=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20(length=20removable)=0A-=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20(mapconcat=20#'symbol-name=20removable=20"=20")))=0A+=20=20=20= =20=20=20=20=20=20=20(when=20(or=20noconfirm=0A+=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20(y-or-n-p=0A+=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20(format=20"Packages=20to=20delete:=20= %d=20(%s),=20proceed?=20"=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20(length=20removable)=0A+=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20(mapconcat=20#'symbol-name=20removable=20"=20"))))=0A=20=20=20=20=20=20= =20=20=20=20=20=20=20(mapc=20(lambda=20(p)=0A=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20(package-delete=20(cadr=20(assq=20p=20= package-alist))=20t))=0A=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20removable))=0A--=20=0A2.39.5=20(Apple=20Git-154)=0A=0A= --Apple-Mail=_6D02C3F3-6A2C-4158-9FC8-672D9C7561B8-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 21 12:36:19 2024 Received: (at 73932) by debbugs.gnu.org; 21 Oct 2024 16:36:19 +0000 Received: from localhost ([127.0.0.1]:53105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2vOF-0002CE-4t for submit@debbugs.gnu.org; Mon, 21 Oct 2024 12:36:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2vOD-0002Bz-AZ for 73932@debbugs.gnu.org; Mon, 21 Oct 2024 12:36:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t2vNg-0006GE-12; Mon, 21 Oct 2024 12:35:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=OjaNV7I91BBmEQ6xJndDqNgs8Skohd+fZgruPckwFLU=; b=A5kDgRhejbEofGqkX7I9 0Hf7QSoZdzvvgLEOX5ld0TVuVwVcd7bX5hjblUGmH9lMaGkUXS7aGAfZEeyRcKE0CGZ1+/wkwVJxJ DRlwdY7B6W6/02Twc0RkMd4qJlPPLesTR5HVCl81Ypj0mto4yr3YJ0DGhoJSSbyhc9wLmLACVHRVN zv5SvBfZzr7g1s9xD49Pt+MpJipbWQ3DBK3rlQdlUXLzC014Im/IzKfI2hUhha02p+IpKTvrXSJNl ySNIwi/D0cjHgbMzCD76xvesnyMtdYugc4PE2HdKLdIzHtdHKZq/6TIo1UcWx/p3zZa4knQQYyzNl KBdR0KrZl4jqWw==; Date: Mon, 21 Oct 2024 19:35:42 +0300 Message-Id: <864j55h0rl.fsf@gnu.org> From: Eli Zaretskii To: Sean Devlin In-Reply-To: <2AA4E1A2-0422-40F5-BFD6-CDAE69996F1F@toadstyle.org> (message from Sean Devlin on Mon, 21 Oct 2024 11:58:34 -0400) Subject: Re: bug#73932: [PATCH] Add noconfirm to 'package-autoremove' References: <2AA4E1A2-0422-40F5-BFD6-CDAE69996F1F@toadstyle.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 73932 Cc: 73932@debbugs.gnu.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: -3.3 (---) > From: Sean Devlin > Date: Mon, 21 Oct 2024 11:58:34 -0400 > > Attached is a patch adding an optional NOCONFIRM argument to package-autoremove to skip user confirmation before removing packages. > > I want to call package-autoremove in my init file to ensure there are no packages installed except those I configured explicitly via package-selected-packages. > > For example, in one session I might install package XYZ interactively via the package menu to try it out. If I decide I like it, I’ll add it to package-selected-packages in my init file to keep it around. Otherwise, I want to make sure it gets blown away the next time I start Emacs. > > This workflow is cumbersome in the current implementation of package-autoremove, which prompts the user before removing any packages. This patch adds an optional NOCONFIRM argument similar to what is implemented in package-install-selected-packages. > > Please let me know if any changes are needed. Thanks. I'll let our package.el experts review and comment, but if this is accepted, please add a NEWS entry for the new optional behavior. Also, would it make sense to turn NOCONFIRM on if the command is invoked with a prefix argument? From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 21 14:06:01 2024 Received: (at 73932) by debbugs.gnu.org; 21 Oct 2024 18:06:01 +0000 Received: from localhost ([127.0.0.1]:53275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2wn2-0006MW-Jn for submit@debbugs.gnu.org; Mon, 21 Oct 2024 14:06:00 -0400 Received: from mail-qv1-f45.google.com ([209.85.219.45]:54654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2wmx-0006M7-EA for 73932@debbugs.gnu.org; Mon, 21 Oct 2024 14:05:58 -0400 Received: by mail-qv1-f45.google.com with SMTP id 6a1803df08f44-6cbce8d830dso31114806d6.1 for <73932@debbugs.gnu.org>; Mon, 21 Oct 2024 11:05:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toadstyle-org.20230601.gappssmtp.com; s=20230601; t=1729533866; x=1730138666; darn=debbugs.gnu.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=yypt6IfyMjAtbkcMEh3WS21qIdL4lQUyvhyeIKIAn0o=; b=eCDdeaC3ApaVmmS7uMIsUjz5elWBKTxHjimxglZLK82RQgnKgBJY+ARCcILGNjoQ9R TnPjZnstEcU1DsfBoBFsM6bGwfNxGrQFbCnNF+B0Pqs6edOeUVcA1WVgtoSmLVc/nHIg nNN0ZcFDpZaQ3JunnTGNkQUVfsEGsKJicedC7W81gtfsOEnNtUz0kEpCxMcczD6cTDq7 wKU8gkPBeWIoyaxbAugtaw6LvhK1iaqhg+ZPl+kO32Y1DnVKH7p23rD4qJJLLsB2eQNj tdoYdJE1vfo6VOupBH31BwOOr5emYsmvRCyN7qXmVtM7HkEdpfRoLEWA/WuCKL0ZSvTN 89LA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729533866; x=1730138666; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yypt6IfyMjAtbkcMEh3WS21qIdL4lQUyvhyeIKIAn0o=; b=R9Wq2wA5pqAvZ/bkwClkW/PjPH3RkKfbRQL1ovf++gsik3nLGxBVxbxkzTF7NS6dpt Qftgbqy1dzidnMlzgtmOmx91mIYMQ7RmeW65Ocu6wdzlu3B7NtRKujj+leGukdz5HTIO 6SjedHSfPYrC9xFhaPchQV6Yp6Za/Ub9SWMqz9H6ewAFFXh4yzPHIHRsfWYF7f1j4mSc 3Zygf1VXA+p/NSUX5Lajl0S2dRjJvpSSf4FJ17FOHj6PApUoc/eOf5WvPMx1157RQRrG 5DHZRVwXnxwFyLfoUcPmbmg4xdtyKUDSNGOeIHRlLTObzAclzjTHsFQPGLOnl9QUvPev V1lg== X-Gm-Message-State: AOJu0YyvRxfAe9VFbBhTv6wxc8mqpoQNtT5AkPKRJI5tDjrTJfC3Zibl as3/Yk5Sjp2W/ULDz1e5e9DMF+/ymrj+O01+BZzzbdbVEeDxbREzObbb8dlp++4= X-Google-Smtp-Source: AGHT+IEVsNaeIsklPpwfAAfxXvH9/wC2pVUbtZdtB6oclKHIURwdAclyzLpVd8ssjaYO9ezHmMEtjw== X-Received: by 2002:a05:6214:5543:b0:6cb:eb51:a26a with SMTP id 6a1803df08f44-6cde162fa4emr224554676d6.47.1729533865552; Mon, 21 Oct 2024 11:04:25 -0700 (PDT) Received: from smtpclient.apple ([70.107.172.48]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6ce009e27afsm19879006d6.120.2024.10.21.11.04.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Oct 2024 11:04:25 -0700 (PDT) From: Sean Devlin Message-Id: <487C14D0-1114-49BC-996E-E3C74D17950F@toadstyle.org> Content-Type: multipart/mixed; boundary="Apple-Mail=_BFA54B58-93F8-48CF-9988-5CE4AE5EF3D3" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3818.100.11.1.3\)) Subject: Re: bug#73932: [PATCH] Add noconfirm to 'package-autoremove' Date: Mon, 21 Oct 2024 14:04:14 -0400 In-Reply-To: <864j55h0rl.fsf@gnu.org> To: Eli Zaretskii References: <2AA4E1A2-0422-40F5-BFD6-CDAE69996F1F@toadstyle.org> <864j55h0rl.fsf@gnu.org> X-Mailer: Apple Mail (2.3818.100.11.1.3) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 73932 Cc: 73932@debbugs.gnu.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 (-) --Apple-Mail=_BFA54B58-93F8-48CF-9988-5CE4AE5EF3D3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hello, > On Oct 21, 2024, at 12:35=E2=80=AFPM, Eli Zaretskii = wrote: >=20 >> From: Sean Devlin >> Date: Mon, 21 Oct 2024 11:58:34 -0400 >>=20 >> Attached is a patch adding an optional NOCONFIRM argument to = package-autoremove to skip user confirmation before removing packages. >>=20 >> I want to call package-autoremove in my init file to ensure there are = no packages installed except those I configured explicitly via = package-selected-packages. >>=20 >> For example, in one session I might install package XYZ interactively = via the package menu to try it out. If I decide I like it, I=E2=80=99ll = add it to package-selected-packages in my init file to keep it around. = Otherwise, I want to make sure it gets blown away the next time I start = Emacs. >>=20 >> This workflow is cumbersome in the current implementation of = package-autoremove, which prompts the user before removing any packages. = This patch adds an optional NOCONFIRM argument similar to what is = implemented in package-install-selected-packages. >>=20 >> Please let me know if any changes are needed. >=20 > Thanks. I'll let our package.el experts review and comment, but if > this is accepted, please add a NEWS entry for the new optional > behavior. Sounds good. Here is a patch with an attempt at a NEWS entry: --Apple-Mail=_BFA54B58-93F8-48CF-9988-5CE4AE5EF3D3 Content-Disposition: attachment; filename=0001-Add-noconfirm-to-package-autoremove.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-Add-noconfirm-to-package-autoremove.patch" Content-Transfer-Encoding: quoted-printable =46rom=20a7574170716feb153016685a99f2537a27979627=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Sean=20Devlin=20=0ADate:=20= Mon,=2021=20Oct=202024=2011:28:06=20-0400=0ASubject:=20[PATCH]=20Add=20= noconfirm=20to=20'package-autoremove'=0A=0A*=20= lisp/emacs-lisp/package.el=20(package-autoremove):=0AAdd=20optional=20= argument=20NOCONFIRM=20to=20skip=20user=20confirmation=20when=20removing=0A= packages.=0A*=20etc/NEWS:=20Announce=20the=20new=20argument.=0A---=0A=20= etc/NEWS=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20|=20=20= 8=20++++++++=0A=20lisp/emacs-lisp/package.el=20|=2019=20= ++++++++++++-------=0A=202=20files=20changed,=2020=20insertions(+),=207=20= deletions(-)=0A=0Adiff=20--git=20a/etc/NEWS=20b/etc/NEWS=0Aindex=20= cfc5a8e1785..a709a9ee6db=20100644=0A---=20a/etc/NEWS=0A+++=20b/etc/NEWS=0A= @@=20-587,6=20+587,14=20@@=20When=20non-nil,=20MPC=20will=20crossfade=20= between=20songs=20for=20the=20specified=20number=0A=20of=20seconds.=20=20= Crossfading=20can=20be=20toggled=20using=20the=20command=0A=20= 'mpc-toggle-crossfade'=20or=20from=20the=20MPC=20menu.=0A=20=0A+**=20= Package=0A+=0A+---=0A+***=20New=20optional=20argument=20to=20= 'package-autoremove'.=0A+An=20optional=20argument=20NOCONFIRM=20has=20= been=20added=20to=20'package-autoremove'.=0A+If=20it=20is=20non-nil,=20= 'package-autoremove'=20will=20not=20prompt=20the=20user=20for=0A= +confirmation=20before=20removing=20packages.=0A+=0A=20=0C=0A=20*=20New=20= Modes=20and=20Packages=20in=20Emacs=2031.1=0A=20=0Adiff=20--git=20= a/lisp/emacs-lisp/package.el=20b/lisp/emacs-lisp/package.el=0Aindex=20= 90d6150ed0b..6c23dcd68ff=20100644=0A---=20a/lisp/emacs-lisp/package.el=0A= +++=20b/lisp/emacs-lisp/package.el=0A@@=20-2616,26=20+2616,31=20@@=20are=20= invalid=20due=20to=20changed=20byte-code,=20macros=20or=20the=20like."=0A= =20=20=20=20=20=20=20(package-recompile=20pkg-desc))))=0A=20=0A=20= ;;;###autoload=0A-(defun=20package-autoremove=20()=0A+(defun=20= package-autoremove=20(&optional=20noconfirm)=0A=20=20=20"Remove=20= packages=20that=20are=20no=20longer=20needed.=0A=20=0A=20Packages=20that=20= are=20no=20more=20needed=20by=20other=20packages=20in=0A=20= `package-selected-packages'=20and=20their=20dependencies=0A-will=20be=20= deleted."=0A+will=20be=20deleted.=0A+=0A+If=20optional=20argument=20= NOCONFIRM=20is=20non-nil,=20don't=20ask=20for=0A+confirmation=20to=20= install=20packages."=0A=20=20=20(interactive)=0A=20=20=20;;=20If=20= `package-selected-packages'=20is=20nil,=20it=20would=20make=20no=20sense=20= to=0A=20=20=20;;=20try=20to=20populate=20it=20here,=20because=20then=20= `package-autoremove'=20will=0A=20=20=20;;=20do=20absolutely=20nothing.=0A= -=20=20(when=20(or=20package-selected-packages=0A+=20=20(when=20(or=20= noconfirm=0A+=20=20=20=20=20=20=20=20=20=20=20=20= package-selected-packages=0A=20=20=20=20=20=20=20=20=20=20=20=20=20= (yes-or-no-p=0A=20=20=20=20=20=20=20=20=20=20=20=20=20=20(format-message=0A= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= "`package-selected-packages'=20is=20empty!=20Really=20remove=20ALL=20= packages?=20")))=0A=20=20=20=20=20(let=20((removable=20= (package--removable-packages)))=0A=20=20=20=20=20=20=20(if=20removable=0A= -=20=20=20=20=20=20=20=20=20=20(when=20(y-or-n-p=0A-=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20(format=20"Packages=20to=20delete:=20%d=20= (%s),=20proceed?=20"=0A-=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20(length=20removable)=0A-=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20(mapconcat=20#'symbol-name=20removable=20"=20")))=0A+=20=20=20= =20=20=20=20=20=20=20(when=20(or=20noconfirm=0A+=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20(y-or-n-p=0A+=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20(format=20"Packages=20to=20delete:=20= %d=20(%s),=20proceed?=20"=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20(length=20removable)=0A+=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20(mapconcat=20#'symbol-name=20removable=20"=20"))))=0A=20=20=20=20=20=20= =20=20=20=20=20=20=20(mapc=20(lambda=20(p)=0A=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20(package-delete=20(cadr=20(assq=20p=20= package-alist))=20t))=0A=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20removable))=0A--=20=0A2.39.5=20(Apple=20Git-154)=0A=0A= --Apple-Mail=_BFA54B58-93F8-48CF-9988-5CE4AE5EF3D3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Please let me know if any changes are needed. >=20 > Also, would it make sense to turn NOCONFIRM on if the command is > invoked with a prefix argument? Sure, that might make sense. If we do that, should we do the same in = package-install-selected-packages? It uses its NOCONFIRM argument in a = similar way.= --Apple-Mail=_BFA54B58-93F8-48CF-9988-5CE4AE5EF3D3-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 26 03:32:06 2024 Received: (at 73932) by debbugs.gnu.org; 26 Oct 2024 07:32:06 +0000 Received: from localhost ([127.0.0.1]:40454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4bHJ-0005dH-Qd for submit@debbugs.gnu.org; Sat, 26 Oct 2024 03:32:06 -0400 Received: from mout01.posteo.de ([185.67.36.65]:42485) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4bHH-0005ch-KM for 73932@debbugs.gnu.org; Sat, 26 Oct 2024 03:32:05 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 9F13E240027 for <73932@debbugs.gnu.org>; Sat, 26 Oct 2024 09:31:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1729927883; bh=50asQK72PN+ztvZrvK2QnpJg+6MhkI5PbpRjDHxC2eU=; h=From:To:Cc:Subject:Autocrypt:OpenPGP:Date:Message-ID:MIME-Version: Content-Type:Content-Transfer-Encoding:From; b=GkjPofcs2mffVP6g+3dz+5Be9j7AZBgpygN2tqQ4nkqEhHYNCAd8p67hwzNzYMmun zlGJ8V83IkGzB+0Po0a7Q1bshHOw6wu8ixGF/KL7xgDL0bBEV8L6rrjK/nuF8RHuQO 5i0iFtzkNinvkXCb2Xz552xynVClPeOKtmJNJPTTL7oCaALtbYqkxPKbwm/wuiNWPh 23f0qals+X8u6K5/YsGxl0BhVxEm9R6vOSex7E7FeiaE/O10qLcpqvJhEh1Roayvtb si+yJT08NRwpOmIvakhhlKRGWlr9Mu3TSL6BMTnbQ04EolJPxFp9JMOuAnNutKBgcR GugDxR5N/1Ltg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XbBCs4zKzz9rxG; Sat, 26 Oct 2024 09:31:21 +0200 (CEST) From: Philip Kaludercic To: Sean Devlin Subject: Re: bug#73932: [PATCH] Add noconfirm to 'package-autoremove' In-Reply-To: <487C14D0-1114-49BC-996E-E3C74D17950F@toadstyle.org> (Sean Devlin's message of "Mon, 21 Oct 2024 14:04:14 -0400") References: <2AA4E1A2-0422-40F5-BFD6-CDAE69996F1F@toadstyle.org> <864j55h0rl.fsf@gnu.org> <487C14D0-1114-49BC-996E-E3C74D17950F@toadstyle.org> Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM OpenPGP: id=philipk@posteo.net; url="https://keys.openpgp.org/vks/v1/by-email/philipk@posteo.net"; preference=signencrypt Date: Sat, 26 Oct 2024 07:31:16 +0000 Message-ID: <87iktfe2wr.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 73932 Cc: Eli Zaretskii , 73932@debbugs.gnu.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: -3.3 (---) Sean Devlin writes: > Hello, > >> On Oct 21, 2024, at 12:35=E2=80=AFPM, Eli Zaretskii wrote: >>=20 >>> From: Sean Devlin >>> Date: Mon, 21 Oct 2024 11:58:34 -0400 >>>=20 >>> Attached is a patch adding an optional NOCONFIRM argument to package-au= toremove to skip user confirmation before removing packages. >>>=20 >>> I want to call package-autoremove in my init file to ensure there >>> are no packages installed except those I configured explicitly via >>> package-selected-packages. >>>=20 >>> For example, in one session I might install package XYZ >>> interactively via the package menu to try it out. If I decide I >>> like it, I=E2=80=99ll add it to package-selected-packages in my init fi= le >>> to keep it around. Otherwise, I want to make sure it gets blown >>> away the next time I start Emacs. >>>=20 >>> This workflow is cumbersome in the current implementation of >>> package-autoremove, which prompts the user before removing any >>> packages. This patch adds an optional NOCONFIRM argument similar to >>> what is implemented in package-install-selected-packages. >>>=20 >>> Please let me know if any changes are needed. >>=20 >> Thanks. I'll let our package.el experts review and comment, but if >> this is accepted, please add a NEWS entry for the new optional >> behavior. > > Sounds good. Here is a patch with an attempt at a NEWS entry: The change looks pretty uncontroversial to me. Is the variation interesting, where NOCONFIRM is a predicate so that we can selectively remove packages? > Please let me know if any changes are needed. > >>=20 >> Also, would it make sense to turn NOCONFIRM on if the command is >> invoked with a prefix argument? > > Sure, that might make sense. If we do that, should we do the same in pack= age-install-selected-packages? It uses its NOCONFIRM argument in a similar = way. We can do that in a subsequent patch. --=20 Philip Kaludercic on siskin From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 27 05:55:18 2024 Received: (at 73932) by debbugs.gnu.org; 27 Oct 2024 09:55:18 +0000 Received: from localhost ([127.0.0.1]:43824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4zzS-0004SW-2R for submit@debbugs.gnu.org; Sun, 27 Oct 2024 05:55:18 -0400 Received: from mail-ed1-f43.google.com ([209.85.208.43]:43149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4zzP-0004SN-SF for 73932@debbugs.gnu.org; Sun, 27 Oct 2024 05:55:16 -0400 Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-5c941623a5aso7190802a12.0 for <73932@debbugs.gnu.org>; Sun, 27 Oct 2024 02:54:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730022820; x=1730627620; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=7QHG49taxUpL/LfrmM15pQWQvxM3sDIcDF1Y0bHzVSQ=; b=OJSpu6ooaIP7D9p9m7I/U9kehUXlJnEM1CSxgHdt8W+Cla0rO8SItaJY3P8C3LYE3p D/TLr10+EQjPW/2zGq7rar4jsNIUJy+xlmw284CzplJ38/cYCMW1C4yCwPMpiIc8Hq8q rbwbSMJMOUoKB8JGboWEC9TAjGAnq7/71rj6H/ZVOs5HfnEHUlrXiYJqoWSBO6V7MY/U SVwXwBsnF2ESsQ7qq8eILdQC6Dg1dRG+ygX1L6k3QsUCqEnDBQn+KSsn9DB5BMDIJoo0 M6wxWOOx8jpHeQolJAuh2mam9MjjbT54b2g0yeaepHzKkKILTv2URPmuWfkOE4TC9901 4SPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730022820; x=1730627620; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7QHG49taxUpL/LfrmM15pQWQvxM3sDIcDF1Y0bHzVSQ=; b=sZC2LlU4BNkO2+oKarxIfsRhbqk43oAblfOwaJlXrSEUaP2W1zmlO9eoyyHpcOUKfn 8Ov4RQg7d7HgmCtYTcpmifNNmOPTzZkdfNqO50JbQPrndlzEgai7mneVtTkDFFLJipyy rWaXa7OjXYkQeC+nU8A0RVJrvuLS/3zVzNsm+m/8VwS8VjiPe7/fTEyxih8aUSBSba6W Pn68xwpNZEGYiZcbgANYghJoBmhMCQXjyxfgJwET0+5D2QaUBm1HirvpfVLQmG7k8Y0T WrJfm1LxTa9OVHgPA9Fo21LfDvzaFQl6y/Tbz49j7PHJ6NzpvkFYo0sMe5yj0ZwZmMjY Rv7g== X-Forwarded-Encrypted: i=1; AJvYcCW4SAQxm6wD7nWu5v6yD9PO4OqqEREObX+Uc/0UUTPNEZ1sv6k/7MnFdMj9npyjHUOpPYpBOg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzOPEYvUORSnNC9u7C94c2JvhuTWb1doKwTCTdNuGperVXyehgQ FGziZNZO9aTflli1NtDbSIBrf0W4hHxiBjwGLgNy6G9Pqzp2nKE/pbj1ta7yC7diRM+R5gGl7k4 u/UVgvWlnQu3u54fWcjJQuh6/fQ8= X-Google-Smtp-Source: AGHT+IGWIRmzrgU3yPlFNXZJmUIKgrA0we1HDflkTUlT2Au3og5GGIUWyKxUxVusEypy++BB35NEsCiTl8bnURLaL8c= X-Received: by 2002:a05:6402:2688:b0:5c5:c444:4e3a with SMTP id 4fb4d7f45d1cf-5cbbf0d1e0amr4588122a12.0.1730022820083; Sun, 27 Oct 2024 02:53:40 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 27 Oct 2024 04:53:39 -0500 From: Stefan Kangas In-Reply-To: <87iktfe2wr.fsf@posteo.net> References: <2AA4E1A2-0422-40F5-BFD6-CDAE69996F1F@toadstyle.org> <864j55h0rl.fsf@gnu.org> <487C14D0-1114-49BC-996E-E3C74D17950F@toadstyle.org> <87iktfe2wr.fsf@posteo.net> MIME-Version: 1.0 Date: Sun, 27 Oct 2024 04:53:39 -0500 Message-ID: Subject: Re: bug#73932: [PATCH] Add noconfirm to 'package-autoremove' To: Philip Kaludercic , Sean Devlin Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 73932 Cc: Eli Zaretskii , 73932@debbugs.gnu.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 (-) Philip Kaludercic writes: > The change looks pretty uncontroversial to me. Agreed. > Is the variation interesting, where NOCONFIRM is a predicate so that > we can selectively remove packages? Do you have a use case in mind? >> Sure, that might make sense. If we do that, should we do the same in package-install-selected-packages? It uses its NOCONFIRM argument in a similar way. > > We can do that in a subsequent patch. Feel free to post such a patch, indeed. Thanks in advance. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 28 10:50:45 2024 Received: (at 73932) by debbugs.gnu.org; 28 Oct 2024 14:50:45 +0000 Received: from localhost ([127.0.0.1]:54334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5R4v-0004CF-1n for submit@debbugs.gnu.org; Mon, 28 Oct 2024 10:50:45 -0400 Received: from mail-qk1-f169.google.com ([209.85.222.169]:48365) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5R4s-0004Bw-6k for 73932@debbugs.gnu.org; Mon, 28 Oct 2024 10:50:43 -0400 Received: by mail-qk1-f169.google.com with SMTP id af79cd13be357-7b13fe8f4d0so332810185a.0 for <73932@debbugs.gnu.org>; Mon, 28 Oct 2024 07:50:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toadstyle-org.20230601.gappssmtp.com; s=20230601; t=1730126939; x=1730731739; darn=debbugs.gnu.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=8FwgYM1E6nJZPz1vxmSHA6u623L8VERM7koQVn8W/cY=; b=HKZbbZBlcy0QShSN2dFfrJhyHZ3b7LCLNxHvJ1+YRVFXvbJcsfpKXdts+ka7Xkaf19 35QdW2s/MJkkDt6dZBVilqLyZca21q0gCi9iMVsq7uNh9ay3AzhJ6Jb5qELMdUmxyRF9 WMz+uq9caaYlGOp4N4GkapZLklqulc5EHj3C6AUu0hwYevIJyQCRe4FOkcBL7A9P1uFj JAL9/KeqKAj+FEKmGNGb0jnYzO7di74zO5EPQV6iMw+l/C5HbYRpEdWt2KcJ2vxKnj0Q 5z+RjqkyYQVUtROsNnkP9tyW2OddikczWd3oTkmouee5trGZyOw7EnIVLOF6HcU6x5lg 3RgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730126939; x=1730731739; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8FwgYM1E6nJZPz1vxmSHA6u623L8VERM7koQVn8W/cY=; b=V/HlUVbps8ZdaR41Svrq85bMODZHXVW3kcOljhL6vSNNKlwYErbcCOj2b+58S93W73 VUgX7pIWoa8BwfGWVAirDnsnFeGguKMBUENAM0EJ2wBOYy2YReDpRiMF5CObjq7+YWt+ DmxuZkdXb+l2/pLRhnQmUN79miNvdD1tLHKJpEmN150UVcKL7wg6xQ3ahv0SIx2Mir/R V8eQG8fKFhDUvK5JFKFzuKpe82/Gg7fshR3awnwCACPcqRwV26GyTK+H/SpK64ZcnWZK VfSKjJbwW2yZzESGCbDJvano1jPlRjCcqWnoY47kj7X/hainInEofGeKH3Cw+0TfGmIS iuug== X-Forwarded-Encrypted: i=1; AJvYcCXY5M5tDlykKG6wxZJqUx0WVKSp12botWF0J9aJ78fDxr/pmRXu3dVbo/e4B8UISnoDnKGc4g==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzxkGtB71vTKLYGQQ4GyCPihBngRLq8pTAoqITEqmJlgXZXeWXa qo+NMMKZSzO6FU35Uq9HUT26UVW13wPyn1CW8ZEtXOi7gFe+oJSPRHUOjVkS8K0= X-Google-Smtp-Source: AGHT+IHvWs9H6JSg8DuCXMtD8zcdb1Cat3cMJf2/bGO3AegLr/qDQmXAAeXNS6hVuSHjZyJZEymAuA== X-Received: by 2002:a05:620a:29d3:b0:7a9:a1b5:26f5 with SMTP id af79cd13be357-7b193eee1a1mr1657716785a.26.1730126938252; Mon, 28 Oct 2024 07:48:58 -0700 (PDT) Received: from smtpclient.apple ([70.107.172.48]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b18d32b9adsm322046185a.84.2024.10.28.07.48.57 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Oct 2024 07:48:57 -0700 (PDT) From: Sean Devlin Message-Id: <3EBD1382-E6F4-43BA-8CAA-39EAD42CC4CD@toadstyle.org> Content-Type: multipart/mixed; boundary="Apple-Mail=_DE139A3B-0383-4090-9159-9117FB6DBCE9" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3818.100.11.1.3\)) Subject: Re: bug#73932: [PATCH] Add noconfirm to 'package-autoremove' Date: Mon, 28 Oct 2024 10:48:47 -0400 In-Reply-To: To: Stefan Kangas , Philip Kaludercic References: <2AA4E1A2-0422-40F5-BFD6-CDAE69996F1F@toadstyle.org> <864j55h0rl.fsf@gnu.org> <487C14D0-1114-49BC-996E-E3C74D17950F@toadstyle.org> <87iktfe2wr.fsf@posteo.net> X-Mailer: Apple Mail (2.3818.100.11.1.3) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 73932 Cc: Eli Zaretskii , 73932@debbugs.gnu.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 (-) --Apple-Mail=_DE139A3B-0383-4090-9159-9117FB6DBCE9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi folks, > On Oct 27, 2024, at 5:53=E2=80=AFAM, Stefan Kangas = wrote: >=20 > Philip Kaludercic writes: >=20 >> Is the variation interesting, where NOCONFIRM is a predicate so that >> we can selectively remove packages? >=20 > Do you have a use case in mind? >=20 >>> Sure, that might make sense. If we do that, should we do the same in = package-install-selected-packages? It uses its NOCONFIRM argument in a = similar way. >>=20 >> We can do that in a subsequent patch. >=20 > Feel free to post such a patch, indeed. Thanks in advance. Here=E2=80=99s two patches: --Apple-Mail=_DE139A3B-0383-4090-9159-9117FB6DBCE9 Content-Disposition: attachment; filename=0001-Add-noconfirm-to-package-autoremove.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-Add-noconfirm-to-package-autoremove.patch" Content-Transfer-Encoding: quoted-printable =46rom=205ad7a54aae80704fe2827b8e2b924b30adabcf2c=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Sean=20Devlin=20=0ADate:=20= Mon,=2021=20Oct=202024=2011:28:06=20-0400=0ASubject:=20[PATCH=201/2]=20= Add=20noconfirm=20to=20'package-autoremove'=0A=0A*=20= lisp/emacs-lisp/package.el=20(package-autoremove):=0AAdd=20optional=20= argument=20NOCONFIRM=20to=20skip=20user=20confirmation=20when=20removing=0A= packages.=0A*=20etc/NEWS:=20Announce=20the=20new=20argument.=0A---=0A=20= etc/NEWS=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20|=20=20= 9=20+++++++++=0A=20lisp/emacs-lisp/package.el=20|=2021=20= +++++++++++++--------=0A=202=20files=20changed,=2022=20insertions(+),=20= 8=20deletions(-)=0A=0Adiff=20--git=20a/etc/NEWS=20b/etc/NEWS=0Aindex=20= cfc5a8e1785..aad81d56ed4=20100644=0A---=20a/etc/NEWS=0A+++=20b/etc/NEWS=0A= @@=20-587,6=20+587,15=20@@=20When=20non-nil,=20MPC=20will=20crossfade=20= between=20songs=20for=20the=20specified=20number=0A=20of=20seconds.=20=20= Crossfading=20can=20be=20toggled=20using=20the=20command=0A=20= 'mpc-toggle-crossfade'=20or=20from=20the=20MPC=20menu.=0A=20=0A+**=20= Package=0A+=0A+---=0A+***=20New=20optional=20argument=20to=20= 'package-autoremove'.=0A+An=20optional=20argument=20NOCONFIRM=20has=20= been=20added=20to=20'package-autoremove'.=0A+If=20it=20is=20non-nil,=20= or=20when=20invoked=20with=20a=20prefix=20argument,=0A= +'package-autoremove'=20will=20not=20prompt=20the=20user=20for=20= confirmation=20before=0A+removing=20packages.=0A+=0A=20=0C=0A=20*=20New=20= Modes=20and=20Packages=20in=20Emacs=2031.1=0A=20=0Adiff=20--git=20= a/lisp/emacs-lisp/package.el=20b/lisp/emacs-lisp/package.el=0Aindex=20= 90d6150ed0b..b3e561f762e=20100644=0A---=20a/lisp/emacs-lisp/package.el=0A= +++=20b/lisp/emacs-lisp/package.el=0A@@=20-2616,26=20+2616,31=20@@=20are=20= invalid=20due=20to=20changed=20byte-code,=20macros=20or=20the=20like."=0A= =20=20=20=20=20=20=20(package-recompile=20pkg-desc))))=0A=20=0A=20= ;;;###autoload=0A-(defun=20package-autoremove=20()=0A+(defun=20= package-autoremove=20(&optional=20noconfirm)=0A=20=20=20"Remove=20= packages=20that=20are=20no=20longer=20needed.=0A=20=0A=20Packages=20that=20= are=20no=20more=20needed=20by=20other=20packages=20in=0A=20= `package-selected-packages'=20and=20their=20dependencies=0A-will=20be=20= deleted."=0A-=20=20(interactive)=0A+will=20be=20deleted.=0A+=0A+If=20= optional=20argument=20NOCONFIRM=20is=20non-nil,=20or=20when=20invoked=20= with=20a=20prefix=0A+argument,=20don't=20ask=20for=20confirmation=20to=20= install=20packages."=0A+=20=20(interactive=20"P")=0A=20=20=20;;=20If=20= `package-selected-packages'=20is=20nil,=20it=20would=20make=20no=20sense=20= to=0A=20=20=20;;=20try=20to=20populate=20it=20here,=20because=20then=20= `package-autoremove'=20will=0A=20=20=20;;=20do=20absolutely=20nothing.=0A= -=20=20(when=20(or=20package-selected-packages=0A+=20=20(when=20(or=20= noconfirm=0A+=20=20=20=20=20=20=20=20=20=20=20=20= package-selected-packages=0A=20=20=20=20=20=20=20=20=20=20=20=20=20= (yes-or-no-p=0A=20=20=20=20=20=20=20=20=20=20=20=20=20=20(format-message=0A= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= "`package-selected-packages'=20is=20empty!=20Really=20remove=20ALL=20= packages?=20")))=0A=20=20=20=20=20(let=20((removable=20= (package--removable-packages)))=0A=20=20=20=20=20=20=20(if=20removable=0A= -=20=20=20=20=20=20=20=20=20=20(when=20(y-or-n-p=0A-=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20(format=20"Packages=20to=20delete:=20%d=20= (%s),=20proceed?=20"=0A-=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20(length=20removable)=0A-=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20(mapconcat=20#'symbol-name=20removable=20"=20")))=0A+=20=20=20= =20=20=20=20=20=20=20(when=20(or=20noconfirm=0A+=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20(y-or-n-p=0A+=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20(format=20"Packages=20to=20delete:=20= %d=20(%s),=20proceed?=20"=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20(length=20removable)=0A+=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20(mapconcat=20#'symbol-name=20removable=20"=20"))))=0A=20=20=20=20=20=20= =20=20=20=20=20=20=20(mapc=20(lambda=20(p)=0A=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20(package-delete=20(cadr=20(assq=20p=20= package-alist))=20t))=0A=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20removable))=0A--=20=0A2.39.5=20(Apple=20Git-154)=0A=0A= --Apple-Mail=_DE139A3B-0383-4090-9159-9117FB6DBCE9 Content-Disposition: attachment; filename=0002-Use-prefix-argument-in-package-install-selected-pack.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0002-Use-prefix-argument-in-package-install-selected-pack.patch" Content-Transfer-Encoding: quoted-printable =46rom=208fcc764ab0ae260f751f25013f400a4368b05d07=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Sean=20Devlin=20=0ADate:=20= Mon,=2028=20Oct=202024=2010:34:48=20-0400=0ASubject:=20[PATCH=202/2]=20= Use=20prefix=20argument=20in=0A=20'package-install-selected-packages'=0A=0A= *=20lisp/emacs-lisp/package.el=20(package-install-selected-packages):=0A= When=20invoked=20with=20a=20prefix=20argument,=20skip=20user=20= confirmation=20when=0Ainstalling=20packages.=0A*=20etc/NEWS:=20Announce=20= the=20prefix=20argument=20usage.=0A---=0A=20etc/NEWS=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20|=205=20+++++=0A=20= lisp/emacs-lisp/package.el=20|=207=20++++---=0A=202=20files=20changed,=20= 9=20insertions(+),=203=20deletions(-)=0A=0Adiff=20--git=20a/etc/NEWS=20= b/etc/NEWS=0Aindex=20aad81d56ed4..32f0233ce09=20100644=0A---=20= a/etc/NEWS=0A+++=20b/etc/NEWS=0A@@=20-596,6=20+596,11=20@@=20If=20it=20= is=20non-nil,=20or=20when=20invoked=20with=20a=20prefix=20argument,=0A=20= 'package-autoremove'=20will=20not=20prompt=20the=20user=20for=20= confirmation=20before=0A=20removing=20packages.=0A=20=0A+---=0A+***=20= New=20prefix=20argument=20for=20'package-install-selected-packages'.=0A= +When=20invoked=20with=20a=20prefix=20argument,=20= 'package-install-selected-packages'=0A+will=20not=20prompt=20the=20user=20= for=20confirmation=20before=20installing=20packages.=0A+=0A=20=0C=0A=20*=20= New=20Modes=20and=20Packages=20in=20Emacs=2031.1=0A=20=0Adiff=20--git=20= a/lisp/emacs-lisp/package.el=20b/lisp/emacs-lisp/package.el=0Aindex=20= b3e561f762e..16e53871780=20100644=0A---=20a/lisp/emacs-lisp/package.el=0A= +++=20b/lisp/emacs-lisp/package.el=0A@@=20-2438,9=20+2438,10=20@@=20= directory."=0A=20(defun=20package-install-selected-packages=20(&optional=20= noconfirm)=0A=20=20=20"Ensure=20packages=20in=20= `package-selected-packages'=20are=20installed.=0A=20If=20some=20packages=20= are=20not=20installed,=20propose=20to=20install=20them.=0A-If=20optional=20= argument=20NOCONFIRM=20is=20non-nil,=20don't=20ask=20for=0A-confirmation=20= to=20install=20packages."=0A-=20=20(interactive)=0A+=0A+If=20optional=20= argument=20NOCONFIRM=20is=20non-nil,=20or=20when=20invoked=20with=20a=20= prefix=0A+argument,=20don't=20ask=20for=20confirmation=20to=20install=20= packages."=0A+=20=20(interactive=20"P")=0A=20=20=20= (package--archives-initialize)=0A=20=20=20;;=20We=20don't=20need=20to=20= populate=20`package-selected-packages'=20before=0A=20=20=20;;=20using=20= here,=20because=20the=20outcome=20is=20the=20same=20either=20way=20= (nothing=0A--=20=0A2.39.5=20(Apple=20Git-154)=0A=0A= --Apple-Mail=_DE139A3B-0383-4090-9159-9117FB6DBCE9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 The first is the same as before, but it adds the prefix argument usage = Eli suggested. The second patch adds a matching prefix argument to = package-install-selected-packages (if this is desired). I didn=E2=80=99t implement a predicate option for NOCONFIRM yet, since I = couldn=E2=80=99t think of a use case, and the intended semantics are not = quite clear to me. Please let me know what else is needed, and thanks!= --Apple-Mail=_DE139A3B-0383-4090-9159-9117FB6DBCE9-- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 05 12:47:14 2024 Received: (at 73932) by debbugs.gnu.org; 5 Nov 2024 17:47:14 +0000 Received: from localhost ([127.0.0.1]:44897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Ne5-0006hr-Ia for submit@debbugs.gnu.org; Tue, 05 Nov 2024 12:47:13 -0500 Received: from mail-qk1-f178.google.com ([209.85.222.178]:61505) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8Ne3-0006hl-E5 for 73932@debbugs.gnu.org; Tue, 05 Nov 2024 12:47:12 -0500 Received: by mail-qk1-f178.google.com with SMTP id af79cd13be357-7b1488fde46so447667985a.2 for <73932@debbugs.gnu.org>; Tue, 05 Nov 2024 09:47:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toadstyle-org.20230601.gappssmtp.com; s=20230601; t=1730828766; x=1731433566; darn=debbugs.gnu.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=HcpvOcBUfqtDumGxXx+yqxsQUcKbiup2TaWwXR8p45g=; b=eJc9+OS7LHqSafHF6usy8YOLaa4Gc7zUlv2m7qzvXv5VgLxHL83XP9DoFPGIyxtBgh eZ+V1Qm5kPSz1xaNQnn8n3yW3/9oaK1+K1AMaTgkcCfKz866JxBvtSF3VEtuggBYsghO jkScDH7YLt1mEQhNnXbLQIKlrYqA14DBa3K9NK0e3BVkbkUgWBeOqe0VGWJmI9hba0rx INGEsekcx+azrXbWUl5XzyRdRNxpvjJInp19Qz1Mh80F5kBd5ammruyI3Y/7hYevTm2m WWjKI9ImHB85edZLDCT0grYss0AzzSEdDhWSJpD0t5ldcGvB/kOHEo6OacznbRc3HTCE iixg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730828766; x=1731433566; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HcpvOcBUfqtDumGxXx+yqxsQUcKbiup2TaWwXR8p45g=; b=MJDao14+Hj1ntV+kvTjmhsnp81RxQxUUBYlgPpNxkODk5b4RY0NLESjc5Z9vAMc8xi 8vj6r6PsaAkDUqEFdsrRUMvkM4P2btnWswHJZ454simccpzyZlrBgsFXGrNEDH02IaLj h+GXBfYDlzS04ONKNndYnbJCP1OM+NU2DUiWqEbEl9YUkGVySKAQfeXqsbeRLAbU1Fy/ N+BgizaP9Wy2uU4aMsKmYnr1g9M0TWPVNN/TJfn8WMiWOmHLkjIgKv02RQdHLs2v/lub SYvJoiQE8Jro4O4Cw2Obq9azAZdAzSV3EACI2ZdYUyuxRfuQ6/KCvMA60bfOWnm5OfaL m9tg== X-Gm-Message-State: AOJu0Yxkki8sylBHY4x2C1h6e2n9lXTBwXi1CiQEnF51LMIzs3C3Qi9f pyk54iiM1MMy3+otYAGILVPVqizEAZJH93R4149f4zFfk/WPB4+XAIFxqKNwkDE= X-Google-Smtp-Source: AGHT+IHKKyo7QBVY2H9eCedUipIBR11Bjnjamckgz0Ws3iMpL+k0UfDFGTT3/cfe4qJoo0fSj2k0pQ== X-Received: by 2002:a05:620a:28c6:b0:7ac:b3bf:c30b with SMTP id af79cd13be357-7b193f0a1bbmr5577691785a.32.1730828765701; Tue, 05 Nov 2024 09:46:05 -0800 (PST) Received: from smtpclient.apple ([70.107.172.48]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b2f39f7d21sm546588785a.30.2024.11.05.09.46.05 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Nov 2024 09:46:05 -0800 (PST) From: Sean Devlin Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_36E7F2CE-4B50-4BBC-B909-18EAAFBB66ED" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.200.121\)) Subject: Re: bug#73932: [PATCH] Add noconfirm to 'package-autoremove' Date: Tue, 5 Nov 2024 12:45:54 -0500 In-Reply-To: <3EBD1382-E6F4-43BA-8CAA-39EAD42CC4CD@toadstyle.org> To: Stefan Kangas , Philip Kaludercic , Eli Zaretskii References: <2AA4E1A2-0422-40F5-BFD6-CDAE69996F1F@toadstyle.org> <864j55h0rl.fsf@gnu.org> <487C14D0-1114-49BC-996E-E3C74D17950F@toadstyle.org> <87iktfe2wr.fsf@posteo.net> <3EBD1382-E6F4-43BA-8CAA-39EAD42CC4CD@toadstyle.org> X-Mailer: Apple Mail (2.3826.200.121) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 73932 Cc: 73932@debbugs.gnu.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 (-) --Apple-Mail=_36E7F2CE-4B50-4BBC-B909-18EAAFBB66ED Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi folks, > On Oct 28, 2024, at 10:48=E2=80=AFAM, Sean Devlin = wrote: >=20 > Hi folks, >=20 >> On Oct 27, 2024, at 5:53=E2=80=AFAM, Stefan Kangas = wrote: >>=20 >> Philip Kaludercic writes: >>=20 >>> Is the variation interesting, where NOCONFIRM is a predicate so that >>> we can selectively remove packages? >>=20 >> Do you have a use case in mind? >>=20 >>>> Sure, that might make sense. If we do that, should we do the same = in package-install-selected-packages? It uses its NOCONFIRM argument in = a similar way. >>>=20 >>> We can do that in a subsequent patch. >>=20 >> Feel free to post such a patch, indeed. Thanks in advance. >=20 > Here=E2=80=99s two patches: >=20 > = <0001-Add-noconfirm-to-package-autoremove.patch><0002-Use-prefix-argument-= in-package-install-selected-pack.patch> >=20 > The first is the same as before, but it adds the prefix argument usage = Eli suggested. >=20 > The second patch adds a matching prefix argument to = package-install-selected-packages (if this is desired). >=20 > I didn=E2=80=99t implement a predicate option for NOCONFIRM yet, since = I couldn=E2=80=99t think of a use case, and the intended semantics are = not quite clear to me. >=20 > Please let me know what else is needed, and thanks! Are there any outstanding issues? If so, how can I help resolve them? Thanks!= --Apple-Mail=_36E7F2CE-4B50-4BBC-B909-18EAAFBB66ED Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi folks,

On Oct 28, 2024, at 10:48=E2=80=AFAM, Sean Devlin = <spd@toadstyle.org> wrote:

Hi folks,

On Oct 27, 2024, at 5:53=E2=80=AFAM, Stefan = Kangas <stefankangas@gmail.com> wrote:

Philip Kaludercic = <philipk@posteo.net> writes:

Is = the variation interesting, where NOCONFIRM is a predicate so that
we = can selectively remove packages?

Do you have a use = case in mind?

Sure, that might make sense. If we do that, should we do = the same in package-install-selected-packages? It uses its NOCONFIRM = argument in a similar way.

We can do that in a = subsequent patch.

Feel free to post such a patch, = indeed.  Thanks in advance.

Here=E2=80=99s two patches:

<0001-Add-noconfirm-to-= package-autoremove.patch><0002-Use-prefix-argume= nt-in-package-install-selected-pack.patch>

The first is the same as before, but it = adds the prefix argument usage Eli suggested.

The second patch adds a matching prefix = argument to package-install-selected-packages (if this is = desired).

I didn=E2=80=99t = implement a predicate option for NOCONFIRM yet, since I couldn=E2=80=99t = think of a use case, and the intended semantics are not quite clear to = me.

Please let me know what = else is needed, and thanks!

Are = there any outstanding issues? If so, how can I help resolve = them?

Thanks!
= --Apple-Mail=_36E7F2CE-4B50-4BBC-B909-18EAAFBB66ED-- From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 15 12:09:05 2024 Received: (at 73932) by debbugs.gnu.org; 15 Nov 2024 17:09:05 +0000 Received: from localhost ([127.0.0.1]:50713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBzof-0006VH-35 for submit@debbugs.gnu.org; Fri, 15 Nov 2024 12:09:05 -0500 Received: from mail-qv1-f49.google.com ([209.85.219.49]:51611) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBzoc-0006Uu-Az for 73932@debbugs.gnu.org; Fri, 15 Nov 2024 12:09:03 -0500 Received: by mail-qv1-f49.google.com with SMTP id 6a1803df08f44-6d382677c92so10483766d6.3 for <73932@debbugs.gnu.org>; Fri, 15 Nov 2024 09:09:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toadstyle-org.20230601.gappssmtp.com; s=20230601; t=1731690482; x=1732295282; darn=debbugs.gnu.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=O88mPi02yr9HfDpUjzeLBGQ4s4KRM0BhtyI04wutrO0=; b=CxsdcsIxI8u5SBlH4uOAdxFbsfTHqrcBg2XXfdf1kFoYlxWjgm05uAjInP9nX9oXgR ElhmdSdXiv+jgn3uLSvlM5lwADSendBlw2ua18B00sTK45A1oRAnvQ8a4LizFN5n/6Ur cMA8rJHTwlyeDlSFtt1/3Ye33M11ovlpNeK1wxa/pQaqm7mpZjanYoTrE8xAfVuyWs67 7bIgAcDV4L1psinvlC6f6KhIzwBDK9kc8XyaOclqSHKOCe6QpkUEsFSLfoZ1ZmJm4mH3 ZQu147Spg3FVAlnAvdMm3boo3YmQ/uHwsD69A74eai7tHTweVL/tglVf2mrSjO6uuJM+ Sylw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731690482; x=1732295282; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=O88mPi02yr9HfDpUjzeLBGQ4s4KRM0BhtyI04wutrO0=; b=VTrOt3c3Z5pShmlXU9eUF2I7lADDkVYT6uRNyHmavWNLIxTzrun/qXa6UQXYcLioyB ezm9Njx4BC7In7Zf/VtlwBhnT5ZPu6o/osS7zqP4ug1nczFwysI28VUPhfFdPiJM5rTg oyBJuwxYZoSBJAPkLwygI+G7E2rPug+SO3IcWq8QVWK5+jlxuG5lFUqSFgdLRuGTx563 HsmRTWt/Ilb29HDsHg03Wtq5Nawugejd4SDi0c5kEw1hmhB+VA4xcK0oQc8ZpARh8d95 709QVoW1T3zWNbXVG7xDmrKNKwib/jkeMkBEPyY+hY1Q1HhBBaqq7eD6NT9EHV1Zxd5q yZkg== X-Gm-Message-State: AOJu0YyfNQYIKFvjypFfMKUyA3fev6OMINzCkkrOEDGQm1QVY7N2vaKU +fc2gCuGb/bWAhTzv2w2yjx8tYl734HeS97ZFnbEsVX+ZIY5WhC6ZNtbq/s5UYU= X-Google-Smtp-Source: AGHT+IHts9UGgAhdp5mRpFL4DhIijq3UzJMhCMdidMuDil8SdsC2RaQ6ysn6WlbT11YbhWyaqxdL3A== X-Received: by 2002:a05:6214:3992:b0:6d3:f904:5359 with SMTP id 6a1803df08f44-6d3fb821c77mr46569016d6.33.1731690481417; Fri, 15 Nov 2024 09:08:01 -0800 (PST) Received: from smtpclient.apple ([70.107.172.48]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6d3ee7ad649sm19636016d6.49.2024.11.15.09.08.00 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Nov 2024 09:08:01 -0800 (PST) From: Sean Devlin Message-Id: <85D8E91F-CBAE-4314-BDA9-B36C5FF81452@toadstyle.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_886AD7AE-4FED-4DC6-A661-C512F446B16A" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.300.86\)) Subject: Re: bug#73932: [PATCH] Add noconfirm to 'package-autoremove' Date: Fri, 15 Nov 2024 12:07:50 -0500 In-Reply-To: To: Stefan Kangas , Philip Kaludercic , Eli Zaretskii References: <2AA4E1A2-0422-40F5-BFD6-CDAE69996F1F@toadstyle.org> <864j55h0rl.fsf@gnu.org> <487C14D0-1114-49BC-996E-E3C74D17950F@toadstyle.org> <87iktfe2wr.fsf@posteo.net> <3EBD1382-E6F4-43BA-8CAA-39EAD42CC4CD@toadstyle.org> X-Mailer: Apple Mail (2.3826.300.86) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 73932 Cc: 73932@debbugs.gnu.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.7 (-) --Apple-Mail=_886AD7AE-4FED-4DC6-A661-C512F446B16A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi folks, > On Nov 5, 2024, at 12:45=E2=80=AFPM, Sean Devlin = wrote: >=20 > Hi folks, >=20 >> On Oct 28, 2024, at 10:48=E2=80=AFAM, Sean Devlin = wrote: >>=20 >> Hi folks, >>=20 >>> On Oct 27, 2024, at 5:53=E2=80=AFAM, Stefan Kangas = wrote: >>>=20 >>> Philip Kaludercic writes: >>>=20 >>>> Is the variation interesting, where NOCONFIRM is a predicate so = that >>>> we can selectively remove packages? >>>=20 >>> Do you have a use case in mind? >>>=20 >>>>> Sure, that might make sense. If we do that, should we do the same = in package-install-selected-packages? It uses its NOCONFIRM argument in = a similar way. >>>>=20 >>>> We can do that in a subsequent patch. >>>=20 >>> Feel free to post such a patch, indeed. Thanks in advance. >>=20 >> Here=E2=80=99s two patches: >>=20 >> = <0001-Add-noconfirm-to-package-autoremove.patch><0002-Use-prefix-argument-= in-package-install-selected-pack.patch> >>=20 >> The first is the same as before, but it adds the prefix argument = usage Eli suggested. >>=20 >> The second patch adds a matching prefix argument to = package-install-selected-packages (if this is desired). >>=20 >> I didn=E2=80=99t implement a predicate option for NOCONFIRM yet, = since I couldn=E2=80=99t think of a use case, and the intended semantics = are not quite clear to me. >>=20 >> Please let me know what else is needed, and thanks! >=20 > Are there any outstanding issues? If so, how can I help resolve them? >=20 > Thanks! Just checking in again. Is there anything I can do to help resolve this? Thanks! --Apple-Mail=_886AD7AE-4FED-4DC6-A661-C512F446B16A Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi = folks,

On Nov 5, 2024, at = 12:45=E2=80=AFPM, Sean Devlin <spd@toadstyle.org> wrote:

Hi = folks,

On Oct 28, 2024, at 10:48=E2=80=AFAM, Sean Devlin = <spd@toadstyle.org> wrote:

Hi folks,

On Oct 27, 2024, at 5:53=E2=80=AFAM, Stefan = Kangas <stefankangas@gmail.com> wrote:

Philip Kaludercic = <philipk@posteo.net> writes:

Is = the variation interesting, where NOCONFIRM is a predicate so that
we = can selectively remove packages?

Do you have a use = case in mind?

Sure, that might make sense. If we do that, should we do = the same in package-install-selected-packages? It uses its NOCONFIRM = argument in a similar way.

We can do that in a = subsequent patch.

Feel free to post such a patch, = indeed.  Thanks in advance.

Here=E2=80=99s two patches:

<0001-Add-noconfirm-to-= package-autoremove.patch><0002-Use-prefix-argume= nt-in-package-install-selected-pack.patch>

The first is the same as before, but it = adds the prefix argument usage Eli suggested.

The second patch adds a matching prefix = argument to package-install-selected-packages (if this is = desired).

I didn=E2=80=99t = implement a predicate option for NOCONFIRM yet, since I couldn=E2=80=99t = think of a use case, and the intended semantics are not quite clear to = me.

Please let me know what = else is needed, and thanks!

Are = there any outstanding issues? If so, how can I help resolve = them?

Thanks!

<= /div>
Just checking in again. Is there anything I can do to help = resolve = this?

Thanks!

= --Apple-Mail=_886AD7AE-4FED-4DC6-A661-C512F446B16A-- From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 17 22:36:45 2024 Received: (at 73932) by debbugs.gnu.org; 18 Nov 2024 03:36:45 +0000 Received: from localhost ([127.0.0.1]:59394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCsZA-00087L-M8 for submit@debbugs.gnu.org; Sun, 17 Nov 2024 22:36:45 -0500 Received: from mout02.posteo.de ([185.67.36.66]:46027) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCsZ7-000876-Tp for 73932@debbugs.gnu.org; Sun, 17 Nov 2024 22:36:43 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id E7305240101 for <73932@debbugs.gnu.org>; Mon, 18 Nov 2024 04:36:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1731900995; bh=cSJgMBL/OSuKKNhtmNY509ebh+zKaeVPnu5siorFLH8=; h=From:To:Cc:Subject:Autocrypt:OpenPGP:Date:Message-ID:MIME-Version: Content-Type:Content-Transfer-Encoding:From; b=NeIRmNWov5BaRjP5FMA2eKXxSE0lbl7Cg8hkmtcern0+ikBnOeOw584KqeFN9nZNd +F+GRlZQsgjrp6YQdo8l2hcQzfziq4v6cLPzW3AAMN8paKpAs7p/I5jY3F7O+xbCC6 OmrWvrS88mB+1iAfxxVQaJaPIZWKxSA/wkgdTAnfuGMrnP3X4kPlT7TagVBS9MXpds 3Ipu5/gMqdB+hxcruwhoj3jSH8EKQk1Hy420YjjsIw9XqqKc7tJmmAkoDPlmeI0B3P 0mZWUoP0QrV6kHLqRqM9NnMWoNvz86fwfKViOa3EmR6oGreoOB+0dl5auDXAFCRC2z OrEsXCtjNwzQQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XsCwL1yfwz9rxB; Mon, 18 Nov 2024 04:36:34 +0100 (CET) From: Philip Kaludercic To: Sean Devlin Subject: Re: bug#73932: [PATCH] Add noconfirm to 'package-autoremove' In-Reply-To: <85D8E91F-CBAE-4314-BDA9-B36C5FF81452@toadstyle.org> (Sean Devlin's message of "Fri, 15 Nov 2024 12:07:50 -0500") References: <2AA4E1A2-0422-40F5-BFD6-CDAE69996F1F@toadstyle.org> <864j55h0rl.fsf@gnu.org> <487C14D0-1114-49BC-996E-E3C74D17950F@toadstyle.org> <87iktfe2wr.fsf@posteo.net> <3EBD1382-E6F4-43BA-8CAA-39EAD42CC4CD@toadstyle.org> <85D8E91F-CBAE-4314-BDA9-B36C5FF81452@toadstyle.org> Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM OpenPGP: id=philipk@posteo.net; url="https://keys.openpgp.org/vks/v1/by-email/philipk@posteo.net"; preference=signencrypt Date: Mon, 18 Nov 2024 03:36:32 +0000 Message-ID: <87ttc5usan.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 73932 Cc: Eli Zaretskii , 73932@debbugs.gnu.org, Stefan Kangas 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: -3.3 (---) Sean Devlin writes: > Hi folks, > >> On Nov 5, 2024, at 12:45=E2=80=AFPM, Sean Devlin wro= te: >>=20 >> Hi folks, >>=20 >>> On Oct 28, 2024, at 10:48=E2=80=AFAM, Sean Devlin w= rote: >>>=20 >>> Hi folks, >>>=20 >>>> On Oct 27, 2024, at 5:53=E2=80=AFAM, Stefan Kangas >>>> wrote: >>>>=20 >>>> Philip Kaludercic writes: >>>>=20 >>>>> Is the variation interesting, where NOCONFIRM is a predicate so that >>>>> we can selectively remove packages? >>>>=20 >>>> Do you have a use case in mind? >>>>=20 >>>>>> Sure, that might make sense. If we do that, should we do the >>>>> same in package-install-selected-packages? It uses its NOCONFIRM >>>>> argument in a similar way. >>>>>=20 >>>>> We can do that in a subsequent patch. >>>>=20 >>>> Feel free to post such a patch, indeed. Thanks in advance. >>>=20 >>> Here=E2=80=99s two patches: >>>=20 >>> <0001-Add-noconfirm-to-package-autoremove.patch><0002-Use-prefix-argume= nt-in-package-install-selected-pack.patch> >>>=20 >>> The first is the same as before, but it adds the prefix argument >>> usage Eli suggested. >>>=20 >>> The second patch adds a matching prefix argument to >>> package-install-selected-packages (if this is desired). >>>=20 >>> I didn=E2=80=99t implement a predicate option for NOCONFIRM yet, since I >>> couldn=E2=80=99t think of a use case, and the intended semantics are not >>> quite clear to me. >>>=20 >>> Please let me know what else is needed, and thanks! >>=20 >> Are there any outstanding issues? If so, how can I help resolve them? >>=20 >> Thanks! > > Just checking in again. Is there anything I can do to help resolve this? Sorry for the delay, I can apply it to master if nobody objects. > Thanks! > --=20 Philip Kaludercic on siskin From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 21 16:17:27 2024 Received: (at 73932-done) by debbugs.gnu.org; 21 Nov 2024 21:17:27 +0000 Received: from localhost ([127.0.0.1]:51974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEEYI-0007gQ-Lu for submit@debbugs.gnu.org; Thu, 21 Nov 2024 16:17:27 -0500 Received: from mout01.posteo.de ([185.67.36.65]:56385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEEYF-0007g6-NN for 73932-done@debbugs.gnu.org; Thu, 21 Nov 2024 16:17:24 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A83E7240027 for <73932-done@debbugs.gnu.org>; Thu, 21 Nov 2024 22:17:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1732223836; bh=A17X6joSCPFsQ78AhCSFee6EMCx1z0mkie7Kw8LeT1k=; h=From:To:Cc:Subject:Autocrypt:OpenPGP:Date:Message-ID:MIME-Version: Content-Type:Content-Transfer-Encoding:From; b=luY3vPM46/+LhU7qWvbwsVv4zabEU5Fx3+cMekXkG2OTfXfXLi17j3NoeEXsYUsgg TFu5SVKaTLxYbqgLMtG/DJAXVcYK0o5XRjwfgecHw0KW4Zuy4xc9b7EZYY14LnIL2w ow/htP7k8iH9YU57KurQOyGsQV4jLR/4fiApvXx6FVYLARIC96hhN1BXFe0FLVWkuM 4Dum1fUH5g3Q0pZu+Jw8i8wTG1dPcWyHUAN7auH2Ocg2tq4xzqH8ksIq/rEOsb12jd RLCeRDToSultL+jG/fErtlwAUTcJF2pXEbSPciYsUocYVo7rl1BqpRdVe7cIn3w+TB CcsaKqf88NqdA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XvWJq2f8Jz9rxB; Thu, 21 Nov 2024 22:17:15 +0100 (CET) From: Philip Kaludercic To: Sean Devlin Subject: Re: bug#73932: [PATCH] Add noconfirm to 'package-autoremove' In-Reply-To: <87ttc5usan.fsf@posteo.net> (Philip Kaludercic's message of "Mon, 18 Nov 2024 03:36:32 +0000") References: <2AA4E1A2-0422-40F5-BFD6-CDAE69996F1F@toadstyle.org> <864j55h0rl.fsf@gnu.org> <487C14D0-1114-49BC-996E-E3C74D17950F@toadstyle.org> <87iktfe2wr.fsf@posteo.net> <3EBD1382-E6F4-43BA-8CAA-39EAD42CC4CD@toadstyle.org> <85D8E91F-CBAE-4314-BDA9-B36C5FF81452@toadstyle.org> <87ttc5usan.fsf@posteo.net> Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM OpenPGP: id=philipk@posteo.net; url="https://keys.openpgp.org/vks/v1/by-email/philipk@posteo.net"; preference=signencrypt Date: Thu, 21 Nov 2024 21:17:14 +0000 Message-ID: <87v7wgp9r9.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 73932-done Cc: Eli Zaretskii , 73932-done@debbugs.gnu.org, Stefan Kangas 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: -3.3 (---) Philip Kaludercic writes: > Sean Devlin writes: > >> Hi folks, >> >>> On Nov 5, 2024, at 12:45=E2=80=AFPM, Sean Devlin wr= ote: >>>=20 >>> Hi folks, >>>=20 >>>> On Oct 28, 2024, at 10:48=E2=80=AFAM, Sean Devlin = wrote: >>>>=20 >>>> Hi folks, >>>>=20 >>>>> On Oct 27, 2024, at 5:53=E2=80=AFAM, Stefan Kangas >>>>> wrote: >>>>>=20 >>>>> Philip Kaludercic writes: >>>>>=20 >>>>>> Is the variation interesting, where NOCONFIRM is a predicate so that >>>>>> we can selectively remove packages? >>>>>=20 >>>>> Do you have a use case in mind? >>>>>=20 >>>>>>> Sure, that might make sense. If we do that, should we do the >>>>>> same in package-install-selected-packages? It uses its NOCONFIRM >>>>>> argument in a similar way. >>>>>>=20 >>>>>> We can do that in a subsequent patch. >>>>>=20 >>>>> Feel free to post such a patch, indeed. Thanks in advance. >>>>=20 >>>> Here=E2=80=99s two patches: >>>>=20 >>>> <0001-Add-noconfirm-to-package-autoremove.patch><0002-Use-prefix-argum= ent-in-package-install-selected-pack.patch> >>>>=20 >>>> The first is the same as before, but it adds the prefix argument >>>> usage Eli suggested. >>>>=20 >>>> The second patch adds a matching prefix argument to >>>> package-install-selected-packages (if this is desired). >>>>=20 >>>> I didn=E2=80=99t implement a predicate option for NOCONFIRM yet, since= I >>>> couldn=E2=80=99t think of a use case, and the intended semantics are n= ot >>>> quite clear to me. >>>>=20 >>>> Please let me know what else is needed, and thanks! >>>=20 >>> Are there any outstanding issues? If so, how can I help resolve them? >>>=20 >>> Thanks! >> >> Just checking in again. Is there anything I can do to help resolve this? > > Sorry for the delay, I can apply it to master if nobody objects. I've pushed the changes, and will close this report. Thanks! >> Thanks! >> --=20 Philip Kaludercic on siskin From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 22 11:31:19 2024 Received: (at 73932-done) by debbugs.gnu.org; 22 Nov 2024 16:31:19 +0000 Received: from localhost ([127.0.0.1]:55281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEWYx-0002co-E2 for submit@debbugs.gnu.org; Fri, 22 Nov 2024 11:31:19 -0500 Received: from mail-qt1-f174.google.com ([209.85.160.174]:52670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEWYw-0002cc-3M for 73932-done@debbugs.gnu.org; Fri, 22 Nov 2024 11:31:18 -0500 Received: by mail-qt1-f174.google.com with SMTP id d75a77b69052e-460dce6fff9so15241361cf.1 for <73932-done@debbugs.gnu.org>; Fri, 22 Nov 2024 08:31:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toadstyle-org.20230601.gappssmtp.com; s=20230601; t=1732293012; x=1732897812; darn=debbugs.gnu.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=28JR3cS+QUI5dXEwBfVJL0z85pQ+yer0UBF6G79uw2k=; b=2PQ404D8urKC/p4yvgqsYqT3ev+OpeZ+mALJaSbN7MQ12Rcf07Zg32kvDA2mIgta/+ qwaOPLLoNunfs7vLHHkRZ/lmkNsWTUbVDBJ5NLnOr6PJsVRe+iFB4Fi2PWZxwJK/WE4x 5g4JrIHlbBByBkZ31a8fRDJfCwf/EGZPk4IYv9gX6uubuM+GSEuLs1VrgFJDHXYI7Gae 2r0YjF5fZ+Nj9xR9U7vgIPK1uylXElMqtxJDWC3r1uFhfp6WfVOZxHKtJF+Izx12XJDS S6rZTXOW4tI0iQL2z7u3sVYTC8Fz7aRrqHGBs1I/Zzh34vzJGJ2Mbxfqev6OADB5KVgi 4HIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732293012; x=1732897812; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=28JR3cS+QUI5dXEwBfVJL0z85pQ+yer0UBF6G79uw2k=; b=KHMxYkAxrPwYb3s4shD1nou9Fc2y9roCjiurHAS3u2NFbMkPXMaX0Q0qMDlwJWRW+9 fFAVe0bkAAFfvQKi1LzUPYBsUfe9+aTK1u+m0DSykgo14HCljy4sDalJOMMA3DBeM2Sa 3caYxjJdgeHs840HUFFzUfnhSmH2E9+oV+hy5jZ77JYtvQAqpGrjT81HOI+rborCX1rO OJEkh0FfOsbWjGHKxgZG4NRD/KqqDssFeyCdOSJ1MeeHEaSYPyK+htAHQkd9UMU5KBz/ By+zPxjdGVLdA+LwFd7tnl9e0jUxhxfkztv4V4sRBeJT07aLXkBQjniJntF1n4GdLz8J /fyg== X-Forwarded-Encrypted: i=1; AJvYcCWQ/fQWq4wkPIhD/qm9AO0WkzAnfqgzb8qKJUFcGKtvkyDyUD97Nze6JBpHTXtKR/C9l7evLfxGIEEI@debbugs.gnu.org X-Gm-Message-State: AOJu0YwTyZ3KQ84uFzpQNb54x9Pf66iOCz/BCfjTTIN/7HLFQGsezeHY Xx+KNuR3RWoGa8F6BAdRItRdbnfv7mxwa/HvTVHuPd5T6g0GqocbCI9jFoDB+X4= X-Gm-Gg: ASbGncuGBKqVW+Ji6yh06iXrFc4a5X02+mSrywBfAYW4WU+uEzcRGaL6jMqwNdHueme kcbyfqaCppv1GS1IbPSX5ju7dbj/s08x7MxY8MJqVEXFDYp8VgDFPCkGErZrBkIHefQ4eW+ESyo yRacN8w0hUtG0anFPf1kSr+ahd+qlPIFsxXgk4IdQNYMpfpKz/m6DTDLEt9FhhZ3sKrnKT4ncTk Cy1Fd4T2kfiXpkHVgr8ceoN/y4W0EQk27vfU3IrlTRxvN2g0tmazNoREq1syI5M5ORc X-Google-Smtp-Source: AGHT+IGKgBw+8ciMi2lqoQvyqNWVLPkYaW3yp4wq+6t2B7aBI61cUYP861JPYfY8cMrY15UscmaMfA== X-Received: by 2002:ac8:7f92:0:b0:461:13a6:7df with SMTP id d75a77b69052e-4653d5a4040mr52506151cf.24.1732293012186; Fri, 22 Nov 2024 08:30:12 -0800 (PST) Received: from smtpclient.apple ([70.107.172.48]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b513faf57dsm101640985a.48.2024.11.22.08.30.11 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Nov 2024 08:30:11 -0800 (PST) From: Sean Devlin Message-Id: <70B7A960-2269-44E7-971E-734EFBFD167B@toadstyle.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_227E5919-AFD7-4469-9F86-A2FA7FF5EE45" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.300.87.2.1\)) Subject: Re: bug#73932: [PATCH] Add noconfirm to 'package-autoremove' Date: Fri, 22 Nov 2024 11:30:01 -0500 In-Reply-To: <87v7wgp9r9.fsf@posteo.net> To: Philip Kaludercic References: <2AA4E1A2-0422-40F5-BFD6-CDAE69996F1F@toadstyle.org> <864j55h0rl.fsf@gnu.org> <487C14D0-1114-49BC-996E-E3C74D17950F@toadstyle.org> <87iktfe2wr.fsf@posteo.net> <3EBD1382-E6F4-43BA-8CAA-39EAD42CC4CD@toadstyle.org> <85D8E91F-CBAE-4314-BDA9-B36C5FF81452@toadstyle.org> <87ttc5usan.fsf@posteo.net> <87v7wgp9r9.fsf@posteo.net> X-Mailer: Apple Mail (2.3826.300.87.2.1) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 73932-done Cc: Eli Zaretskii , 73932-done@debbugs.gnu.org, Stefan Kangas 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 (-) --Apple-Mail=_227E5919-AFD7-4469-9F86-A2FA7FF5EE45 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Nov 21, 2024, at 4:17=E2=80=AFPM, Philip Kaludercic = wrote: >=20 > ... >=20 > I've pushed the changes, and will close this report. Thanks! >=20 Thanks!= --Apple-Mail=_227E5919-AFD7-4469-9F86-A2FA7FF5EE45 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
On Nov 21, = 2024, at 4:17=E2=80=AFPM, Philip Kaludercic <philipk@posteo.net> = wrote:

...

I've pushed the changes, and will close = this report.  Thanks!


Thanks!
= --Apple-Mail=_227E5919-AFD7-4469-9F86-A2FA7FF5EE45-- From unknown Fri Aug 15 04:02:58 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 21 Dec 2024 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator