From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#68756: bug#67667: bug#68756: Uninstalling emacs does not remove Start Menu entries created during the installation Date: Fri, 16 Feb 2024 09:14:34 +0200 Message-ID: <86wmr4vq1x.fsf@gnu.org> References: <37a30898d11190e4e6e03faafecde143d90b7d9d.camel@aegee.org> <5E06E817-4C3F-42F1-8901-73DA5A069CB9@aegee.org> <861q9dwmmq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36284"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68756@debbugs.gnu.org, Dilyan.Palauzov@aegee.org, stefankangas@gmail.com To: Corwin Brust Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 16 08:15:59 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rasRy-0009HX-VY for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Feb 2024 08:15:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rasRk-0001RQ-Cx; Fri, 16 Feb 2024 02:15:45 -0500 Original-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 1rasRj-0001MK-6t for bug-gnu-emacs@gnu.org; Fri, 16 Feb 2024 02:15:43 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rasRi-0000NE-UJ for bug-gnu-emacs@gnu.org; Fri, 16 Feb 2024 02:15:42 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rasS1-00059e-Vy for bug-gnu-emacs@gnu.org; Fri, 16 Feb 2024 02:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Feb 2024 07:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68756 X-GNU-PR-Package: emacs Original-Received: via spool by 68756-submit@debbugs.gnu.org id=B68756.170806770619735 (code B ref 68756); Fri, 16 Feb 2024 07:16:01 +0000 Original-Received: (at 68756) by debbugs.gnu.org; 16 Feb 2024 07:15:06 +0000 Original-Received: from localhost ([127.0.0.1]:57806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rasR7-00058E-Kx for submit@debbugs.gnu.org; Fri, 16 Feb 2024 02:15:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rasR4-00057O-5C for 68756@debbugs.gnu.org; Fri, 16 Feb 2024 02:15:03 -0500 Original-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 1rasQe-0008P6-I1; Fri, 16 Feb 2024 02:14:36 -0500 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=flkMydJZegbM/EQilj/G4dMf6vGpVx3TnIZ6udv5cJA=; b=LR86EKPVSWMG0tS8fDD6 rDtWjBKaF87UZmrt3XmWchiBBmikmOCumoeYqxa9fnJj5qZkpLFidQhBdXZ4cdOk/hdsDTAp3frQu DbQ+Gmairaqr0XWw68REopUnISkPbT4OcSRysMmt9jRV4OZx1OVdZSHjIzmKRjhGHnDPINHF+rqHC dvUkpeUNT0y7KLNuhB50LkgFMIgHEl4SQ82LAUH4tLPpF+kvT40uuetzTCmEDqZsbLT1JVAZrkWkW 4LJ2g9bisK6Fp+UZLOtbTRx0viLLK+V8YAbB+dSuSi/qXT6/JJ4onia7lo3xVT1MsUlze9HIpNYLq QKRLntvnWBEZrQ==; In-Reply-To: (message from Corwin Brust on Thu, 15 Feb 2024 14:32:10 -0600) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:280091 Archived-At: > From: Corwin Brust > Date: Thu, 15 Feb 2024 14:32:10 -0600 > Cc: 68756@debbugs.gnu.org, Dilyan.Palauzov@aegee.org, stefankangas@gmail.com > > On Thu, Feb 15, 2024 at 1:30 PM Eli Zaretskii wrote: > > > But why cannot you remove those old shortcuts/submenus when the new > > Emacs version is installed? > > > > Perhaps I can. I agree to try. To confirm, the goal would be to > remove any *broken* shortcuts, I think. (We do not currently create > submenus unless the user specifies the pathing manually.) We might > also consider deleting older uninstallers, however I'll come back to > this point. > > If that is correct, a question would be if we can confine ourselves to > looking at the user's selected Start Menu folder, during install, or > if we should instead traverse the user's entire Start Menu hierarchy > looking for broken shortcuts to runemacs.exe (and maybe old > uninstallers), and deleting them. If the latter is feasible, perhaps do that, maybe as an option after user confirmation? The former is probably the minimum you should do. > Yet another option here would be scanning for older versions and > asking what to do with them. This would be more of my preferred > option, however I don't expect to be fast creating and testing a > net-new feature created in a language I'm just learning, for this > work. I guess I'll be racing to be ready for Emacs 30.1 pretests, if > we take all that on. > > For this reason (there are much better solutions but I cannot create > and test them quickly), I think we should apply what we have so far > and I should produce a new set of binaries which installer will not > unconditionally uninstall older Emacs versions. Users who want to > delete things can do so, but an unexpected recursive delete feels like > a very serious problem. > > Do you have reservations, Eli? No, SGTM. And it's your call anyway, as I don't have a lot of experience using installers.