From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#49878: Emacs Tarball Should Include Uninstall Script Date: Fri, 06 Aug 2021 11:37:52 +0200 Message-ID: <87tuk2c3rj.fsf@gnus.org> References: <87sfzognbt.fsf@gnus.org> <83k0l0jfps.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9813"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 49878@debbugs.gnu.org, Abdorhman.Ayman@protonmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 06 11:39:10 2021 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 1mBwJq-0002Mr-4e for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Aug 2021 11:39:10 +0200 Original-Received: from localhost ([::1]:39712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBwJn-00063w-RB for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Aug 2021 05:39:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBwJi-00063g-5q for bug-gnu-emacs@gnu.org; Fri, 06 Aug 2021 05:39:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBwJh-0003Xr-VT for bug-gnu-emacs@gnu.org; Fri, 06 Aug 2021 05:39:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mBwJh-0003qd-K9 for bug-gnu-emacs@gnu.org; Fri, 06 Aug 2021 05:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Aug 2021 09:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49878 X-GNU-PR-Package: emacs Original-Received: via spool by 49878-submit@debbugs.gnu.org id=B49878.162824268414722 (code B ref 49878); Fri, 06 Aug 2021 09:39:01 +0000 Original-Received: (at 49878) by debbugs.gnu.org; 6 Aug 2021 09:38:04 +0000 Original-Received: from localhost ([127.0.0.1]:49093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBwIm-0003pO-2s for submit@debbugs.gnu.org; Fri, 06 Aug 2021 05:38:04 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:35110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBwIk-0003or-1o for 49878@debbugs.gnu.org; Fri, 06 Aug 2021 05:38:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Alglu8jWBF3vyUuGqMjiYNfBGXak9Pr9mDOJsFFtmKA=; b=kvMLBc1QXEiEJBpYcM8Ap6TnGV /C4SfqLjvXBs05oat/Xd6o7VvvDcgXaqpCdK1dJ1EoUEwYkxKDYOL6y9eiv3pyp7dyMSYyL4EZaX0 fWugtbURIoR7uRkweUthXfv6UMZTxw1kic1Rh2Akw1JteKGQ/MWLn5PEvW3NywlqHgxk=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mBwIb-00023j-80; Fri, 06 Aug 2021 11:37:55 +0200 In-Reply-To: <83k0l0jfps.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 05 Aug 2021 14:25:35 +0300") 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" Xref: news.gmane.io gmane.emacs.bugs:211308 Archived-At: Eli Zaretskii writes: > We have "make uninstall" -- why isn't that what's being requested > here? Oh, didn't know about that. Hm... Yeah, I guess it should do the trick. But it's not included in the tarball, I think? Which was the request, and I'm still sceptical about doing that, because it looks pretty dangerous. >> I've never understood why any user would say "make install" at all -- >> Emacs works just fine without saying "make install". Users should just >> run it from where it was compiled. > > The idea is that after "make install" you can delete the source tree. > > Also, without installing, the important executables will not > necessarily be on PATH, so you cannot easily invoke them without using > a full absolute file name. > > Finally, this is a standard Make target that everyone expects (other > packages don't always work 100% correctly when invoked from the source > tree). That's sort of my point -- there's a ton of software out there that doesn't work unless you install it first. Emacs is not one of those, so people think they have to install it to use it. I wonder whether it'd be practical to put a "Really install? You don't have to" in the "make install" target. Probably not. I think what most people who're futzing around with Emacs git would want is just to have a target that makes some symlinks from /usr/local/bin (or whatever) to the current build directory so that emacs/emacsclient lands in $PATH. I don't think the size of the source matters most, so my guess is that few people delete the source tree after "make install". -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no