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.help Subject: Re: Question on updating to 29.1 Date: Sat, 12 Aug 2023 08:48:29 +0300 Message-ID: <83r0o8g6aa.fsf@gnu.org> References: <7434968f-40b1-ac55-c692-56a9b1c6a547@magnaspesmeretrix.org> <87350qj8fi.fsf@posteo.net> <83cyzthls8.fsf@gnu.org> <59e49b84-6a10-8c02-e990-34589deb8432@vodafonemail.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22865"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 12 07:48:52 2023 Return-path: Envelope-to: geh-help-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 1qUhUa-0005kQ-4D for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 12 Aug 2023 07:48:52 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qUhU1-0005is-Vz; Sat, 12 Aug 2023 01:48:18 -0400 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 1qUhTn-0005gp-QR for help-gnu-emacs@gnu.org; Sat, 12 Aug 2023 01:48:09 -0400 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 1qUhTm-00041p-3a for help-gnu-emacs@gnu.org; Sat, 12 Aug 2023 01:48:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=gFzQGMKYZ/MNJaUOf83eM1VlcEiZGxn7f6ZtXqlNWkY=; b=gAGLV3jdVAuA 6E6Tr7L4liQRC7QOMW60jQ8vOONeBovU+lUVx0xDxll3dgfGG9fhSPzqBiAw0YGBlmWzdwdcRSyvS P9aTrZ4t0HheACa3mb4esPQopt3bxZRaT3OqN6lTSdLReFYYo9jSgHspa5VFaj81AT2k/SfueYtzB 1vuPFfjQ+pwLnzO3+f3AqQahdDPgoTK8PqiKA0PunIO3eKfQSDIrZC0rmfuec6YPaWslP2I8CluPB aNBXTezK9C8IwzzxkJLgwvLYGsi0rb2vr4+w86GIsk17nBmwbQA+7fC2jTaE13W2oDXCWeYJPzEbu FeaQ2TjdPomnf5VQvSI7sA==; In-Reply-To: <59e49b84-6a10-8c02-e990-34589deb8432@vodafonemail.de> (message from Jens Schmidt on Sat, 12 Aug 2023 00:04:07 +0200) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:144767 Archived-At: > Date: Sat, 12 Aug 2023 00:04:07 +0200 > From: Jens Schmidt > > On 2023-08-11 13:16, Eli Zaretskii wrote: > > >> Maybe just a short sentence about this can be added to the INSTALL/README files? > > > > A short sentence that basically says there's nothing special to do > > when you already have an older version installed? Why is this needed? > > In general, if there's no problem, we don't say in the instructions > > that there's no problem ;-) > > Now that's interesting: Suppose we have file foobar.el(c) from Emacs 28 > installed by "make install" somewhere below, say, /usr/local/... > > Suppose further foobar.el got removed in Emacs 29. Will it be actively > removed from /usr/local/... by a "make install" of Emacs 29? No. And there's no need to, see below. > Not sure whether this is what is worrying the OP, but that (and, more > generally, version consistency issues) would worry me if used "make > install" to "upgrade" a local installation. > > Or have I missed something here? I think you have missed that Lisp files are installed into a version-specific subdirectory of /usr/local/share/ (as in /usr/local/share/emacs/29.1/lisp/). So files installed with some version of Emacs are in the directory not searched by another version. The Emacs installation method is designed in a way that allows you to have several Emacs versions installed on the same system. Only one of them, the one you installed the last, is invoked by the name "emacs", but all the others can be invoked by their numbered names, as in "emacs-28.2" etc. An installed version of Emacs will only be removed if you explicitly run "make uninstall" in the build directory of that version.