From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Basile Starynkevitch Newsgroups: gmane.emacs.help Subject: Re: Question on updating to 29.1 Date: Fri, 11 Aug 2023 10:54:29 +0200 Message-ID: <844c26a7-d926-3b7d-db2e-2fb85cf01ca7@starynkevitch.net> References: <7434968f-40b1-ac55-c692-56a9b1c6a547@magnaspesmeretrix.org> <87350qj8fi.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32777"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 11 10:55:01 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 1qUNvB-0008GV-9O for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 11 Aug 2023 10:55:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qUNup-0006y4-G5; Fri, 11 Aug 2023 04:54:39 -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 1qUNum-0006xd-Cd for help-gnu-emacs@gnu.org; Fri, 11 Aug 2023 04:54:36 -0400 Original-Received: from relay1-d.mail.gandi.net ([2001:4b98:dc4:8::221]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qUNuj-0003cJ-S3 for help-gnu-emacs@gnu.org; Fri, 11 Aug 2023 04:54:36 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id A04E124000B for ; Fri, 11 Aug 2023 08:54:29 +0000 (UTC) Content-Language: en-US In-Reply-To: X-GND-Sasl: basile@starynkevitch.net Received-SPF: pass client-ip=2001:4b98:dc4:8::221; envelope-from=basile@starynkevitch.net; helo=relay1-d.mail.gandi.net X-Spam_score_int: -47 X-Spam_score: -4.8 X-Spam_bar: ---- X-Spam_report: (-4.8 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-2.156, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:144741 Archived-At: On 8/11/23 10:45, PierGianLuca wrote: > Thank you Philip and Basile (who gave me advice off-list). > > Sorry for not being clear: > >> Did you install version 28.1 from a Git checkout or from a tarball? > > Tarball. I first *un*installed the Ubuntu pre-packaged Emacs. > > I considered fetching from git, but it would add a layer of things > that I don't fully understand. > > So I can simply re-do what I with 28.1 (with minor changes as Philip > warned about), and the new Emacs version will simply replace the old. Don't replace but do have both. Keep Ubuntu emacs on /usr/bin/emacs. Perhaps reinstall that package. Kepp your compiled emacs on /usr/local/bin/emacs or /usr/local/bin/my-emacs or $HOME/bin/emacs You need to run the configure script appropriately. I did configure my emacs-30 from source code using: './configure'  'CFLAGS=-O2 -g' 'CC=/usr/bin/gcc-13' '--with-native-compilation' '--with-json' '--enable-link-time-optimization' '--with-x-toolkit=gtk3' '--program-suffix=-trunk' adapt that command to your tastes and settings. On Linux, choosing between old emacs and youre new one is mostly a matter of configuring your window manager defining appropriate GNU bash (or Unix shell) functions or aliases to run your emacs or Ubuntu emacs setting a correct $PATH ; mine (set in  ~/.zshrc since my shell is zsh.org) $HOME/.opam/default/bin:$HOME/bin:$HOME/scripts:/usr/local/bin:$HOME/.opam/default/bin:/usr/bin:/bin:/sbin:/usr/sbin NB. My pet free software project is the RefPerSys inference engine on https://github.com/RefPerSys/RefPerSys/ - contributors are welcome. -- Basile Starynkevitch (only mine opinions / les opinions sont miennes uniquement) 92340 Bourg-la-Reine, France web page: starynkevitch.net/Basile/