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.devel Subject: Re: Confused by y-or-n-p Date: Wed, 06 Jan 2021 18:58:57 +0200 Message-ID: <83r1my0zou.fsf@gnu.org> References: <834kkcr1eo.fsf@gnu.org> <83pn2tkfg8.fsf@gnu.org> <871rf7ippu.fsf@mail.linkov.net> <83a6trg6mc.fsf@gnu.org> <87im8f951f.fsf@gnus.org> <83lfdacapo.fsf@gnu.org> <83wnwra15u.fsf@gnu.org> <83o8i23fht.fsf@gnu.org> <831rey2i82.fsf@gnu.org> <87a6tmm54c.fsf@gnu.org> <83v9ca120r.fsf@gnu.org> <877doqm2y2.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17993"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 06 18:01:01 2021 Return-path: Envelope-to: ged-emacs-devel@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 1kxCBA-0004ZM-Gh for ged-emacs-devel@m.gmane-mx.org; Wed, 06 Jan 2021 18:01:00 +0100 Original-Received: from localhost ([::1]:60190 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxCB9-0004ix-Fl for ged-emacs-devel@m.gmane-mx.org; Wed, 06 Jan 2021 12:00:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxC9F-00045I-Ok for emacs-devel@gnu.org; Wed, 06 Jan 2021 11:59:01 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36574) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxC9F-0004ou-D5 for emacs-devel@gnu.org; Wed, 06 Jan 2021 11:59:01 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2075 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kxC9C-0006iX-V6; Wed, 06 Jan 2021 11:58:59 -0500 In-Reply-To: <877doqm2y2.fsf@gnu.org> (message from Tassilo Horn on Wed, 06 Jan 2021 17:36:49 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:262619 Archived-At: > From: Tassilo Horn > Cc: emacs-devel@gnu.org > Date: Wed, 06 Jan 2021 17:36:49 +0100 > > > But did installing foobar-8.1.0 remove the installation of > > foobar-7.1.0? > > Yes. Indeed the emacs package (on my Arch install) installs both > /usr/bin/emacs and /usr/bin/emacs-27.1 so it could keep the old version > of the binary around, and also the lisp in /usr/share/emacs/27.1/. But > then the question is when and how are those files eventually going to be > removed? When the user decides to do so, possibly never. E.g., I keep old versions of all the main programs I use: Emacs, GCC, GDB, and some others. It is handy to have when the last version turns out to have some grave bug, or when I want to know which version introduced some new feature or some exciting bug. Disk space is cheap nowadays, whereas my time is all but cheap. > And what about the files in /usr/share/emacs/site-lisp/? If > they were byte-compiled with the newer version, is there a guarantee > they'll work in all the older versions? Yes, we seldom if ever break backward compatibility, precisely so site-lisp doesn't need to be recompiled. (There's a versioned site-lisp subdirectory under /usr/share/emacs/XY.Z as well, for the packages that do depend on Emacs version.) > > Do distros forcibly remove those versioned files and directories when > > they install a new version? > > Yes, as said. Too bad. Thanks for the info.