From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.devel Subject: Re: Add a configure option for NATIVE_FULL_AOT? Date: Fri, 20 Aug 2021 15:13:05 +0200 Message-ID: <20210820131305.GF9839@tuxteam.de> References: <83lf4z6hh0.fsf@gnu.org> <87r1er8b3e.fsf@igel.home> <87tujm4ut1.fsf@wavexx.thregr.org> <20210819070409.GB13517@tuxteam.de> <20210820072014.GC9839@tuxteam.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="R6sEYoIZpp9JErk7" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26901"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.5.21 (2010-09-15) Cc: emacs-devel@gnu.org To: Arthur Miller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 20 15:14:32 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 1mH4Lw-0006qD-1A for ged-emacs-devel@m.gmane-mx.org; Fri, 20 Aug 2021 15:14:32 +0200 Original-Received: from localhost ([::1]:49328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mH4Lv-0006NQ-0z for ged-emacs-devel@m.gmane-mx.org; Fri, 20 Aug 2021 09:14:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mH4Kk-0005GX-DT for emacs-devel@gnu.org; Fri, 20 Aug 2021 09:13:18 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:54177) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.90_1) (envelope-from ) id 1mH4Kh-0004N3-Sh for emacs-devel@gnu.org; Fri, 20 Aug 2021 09:13:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=mjgwa4twOMfLViGpO30HlXGi0BiG8y68c2GOD0LUf5A=; b=DaJTegCEjEUwrfM0Jp1iiYWC19SKedAOon11nxfzlf8c3kvtykKJIXNWXHv83sWlAhHu9WAiE+Tg87fiGYdDCy67n6nj08ak3UqbmuOObi84HhSyQ/KTiddSxvRKbodezUHsRVk/1ztVR6EP1AdZe6HmVOKDMbUGUsM1l81tIz3UcDKtqLYEkZp6QvNmeWLLWp30U4pERSQVQGi4pBiArf0dZhZxKWeBH6QVPniM59xGJoJuduU2MALEtQ4c6uftMiOy80616yvfvAc3oHUo2/V1fraXPRjvf0OSVtNHOiDe1JM3nkJ8EiWArQw5ujGaIlE4gOIuFPncOkEzFQUaQQ==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1mH4KX-0007C5-Tp; Fri, 20 Aug 2021 15:13:05 +0200 Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:272722 Archived-At: --R6sEYoIZpp9JErk7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 20, 2021 at 02:06:39PM +0200, Arthur Miller wrote: > tomas@tuxteam.de writes: >=20 > > On Thu, Aug 19, 2021 at 11:17:57PM +0200, Arthur Miller wrote: > >> writes: [...] > > on it you've got your shining new $10K Linux laptop), .el wouldn't go > > there. > Is there a laptop that costs $10k? What is deal with that? Cover made of > gold? :-) There used to be [1], but alas, the times, the times ;-) [...] > But with Emacs one might wish to modify sources (at least in theory) And in practice. Your "But..." somehow suggests someone is trying to prevent the user from doing that. I wouldn't touch such a distribution :-) > even if when not compiling them to elc or eln. I don't know why would > someone wish to run only interpretted code, but a theoretical > possibility. Even docs are subject of use modification. I mean at least > on ideological level. Emacs is very atypical application in this regard. Suppose I hear about this nice function `dired-jump' I do C-x f and find out it's in `dired.el.gz', which is in a system location, and thus read-only. I write it to my own location, which for me is in ~/.emacs.d/lisp, change that to my heart's content. Due to how `load-path' is set up, this modified version takes precedence. I take over responsibility for this one file and let the package manager (or, in my case, Emacs's "make install") to take care of the other 7878 files. The package manager (or "make install") won't touch "my" file. That would be the "low profile" approach. Of course, if I want to keep that up for a longer time, I'd clone the Emacs repo and open a branch there. Or download the Emacs Debian source package, if my aim is to package my personal changes to Emacs. > But as suggested by several here, I can also agree that is more > pragmatic to just download/copy whichever file needs to be modified and > place it elsewhere, so I don't think we have to be super lazer precise > of what goes where. Hacking "in place" things which are installed by a package manager (or by an install script) is a recipe for pain: it's you against the computer. The computer always wins :-) > > To get an idea on what Debian (courtesy of the Emacsen maintainer, > > Rob Browning) puts there for Emacs, have a look at [1]. > I actually run emacs from source dir. I compile it every few days, so it > does not really make sense to me to run make-install and copy over > everything to some other directory every now and then. Hm. I do, too, but I always do "make install". > Also when running > from source directory, without compressing sources, looking up stuff > with built in help is more efficient, and even on my i7 6700k desktop > with 32 gig ram and m.2 970 Pro drive feels faster. I still though copy > lisp file I wish to modify elsewhere, and if wish changes to persist I > copy entire function somewhere to my config and re-eval it after Emacs > starts. That way I don't have to switch branches when I wish to pull > latest and rebuild, or have two source trees etc. I don't know. Many > ways to play with a dear child. Sure :) [...] > > That's why I was so surprised to see the tendency here "every user > > has all of their .eln files in a local place" [...] Eli seems to > > be convinced of this, and he's a much smarter person than me. > > Interesting :-) > > I have learned is that what Eli says is usually the right thing to do, Same with me, that's why this situation is "interesting" :-) Cheers [1] https://en.wikipedia.org/wiki/IBM_ThinkPad_Power_Series =20 - t --R6sEYoIZpp9JErk7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAmEfqmEACgkQBcgs9XrR2kZj6wCfc34etdeEY/U4VJx+rN7weuqA qmkAnjdHFPM1G/xJl4CUQu76mr6n+DlD =t9G4 -----END PGP SIGNATURE----- --R6sEYoIZpp9JErk7--