all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: chad <yandros@gmail.com>
Cc: sbaugh@catern.com, emacs-devel@gnu.org
Subject: Re: source-directory, installed Emacs, and C source
Date: Thu, 26 Oct 2023 07:57:51 +0300	[thread overview]
Message-ID: <83a5s6htf4.fsf@gnu.org> (raw)
In-Reply-To: <CAO2hHWYAPbU_Xj=v8fUrtHdBQYcp+6zZ8HONbzDm+e0qfUzs6g@mail.gmail.com> (message from chad on Wed, 25 Oct 2023 16:30:01 -0400)

> From: chad <yandros@gmail.com>
> Date: Wed, 25 Oct 2023 16:30:01 -0400
> Cc: sbaugh@catern.com, emacs-devel@gnu.org
> 
>  ??? The "Unix-like" installation puts these files in version-specific
>  directories, so you can have several Emacs versions available on the
>  same system at the same time.  I do that all the time, and have about
>  a dozen Emacs versions installed and runnable.
> 
> This works if the versions have distinct version numbers, which was not
> always the case in my experience back then.

Changing the version of Emacs for your local purposes is a very simple
procedure, a matter of running a Lisp function in admin.el and then
rebuilding.  If you need to have multiple XX.YY versions of Emacs
installed with the same XX.YY, just set the version to be XX.YY.zz,
with zz chosen by you, and then rebuild and install.  It's very simple.

> This was especially relevant
> when testing alternative ports, such as ns versus carbon, different toolkits,
> and when hunting bugs or testing features that required a longer run-time
> to exercise.

Files produced by the build that are architecture-dependent are
installed in architecture-specific subdirectories or /usr/local, so
you can have several Emacs versions on the same machine compiled for
different architectures, let alone different configurations.

> The key thing I was trying to convey is just this: a commonly used platform
> keeps all of these relevant files in a non-shared, non-central, non-source-tree
> hierarchy, then arranges on startup to find these directories and set appropriate
> elisp vars to DTRT. If one wants to change the process of finding sources in 
> emacs, and one wants to support macOS, one should expect a little extra
> effort needed on that platform.

I don't think we need to learn anything from macOS in this area.  Our
current installation system solves these issues in a different manner,
but it does solve them, and the solutions are simple, easy to
understand, and easy to use (unlike macOS solutions that are so
obscure and complex that even macOS users here don't really understand
all their quirks).



  reply	other threads:[~2023-10-26  4:57 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-24 14:31 source-directory, installed Emacs, and C source sbaugh
2023-10-24 14:47 ` Eli Zaretskii
2023-10-24 15:13   ` Spencer Baugh
2023-10-24 16:00     ` Eli Zaretskii
2023-10-24 16:20       ` sbaugh
2023-10-24 18:34         ` Eli Zaretskii
2023-10-25  8:41           ` Manuel Giraud via Emacs development discussions.
2023-10-25 12:43             ` Eli Zaretskii
2023-10-25 13:20               ` Manuel Giraud via Emacs development discussions.
2023-10-25 13:43                 ` sbaugh
2023-10-25 13:59                   ` Eli Zaretskii
2023-10-25 14:29                     ` sbaugh
2023-10-25 16:13                       ` Eli Zaretskii
2023-10-25 18:12                         ` Manuel Giraud via Emacs development discussions.
2023-10-25 18:37                           ` Eli Zaretskii
2023-10-25 19:07                             ` Manuel Giraud via Emacs development discussions.
2023-10-25 16:59                       ` Emanuel Berg
2023-10-24 18:35         ` Emanuel Berg
2023-10-25 17:43         ` chad
2023-10-25 18:32           ` Eli Zaretskii
2023-10-25 20:30             ` chad
2023-10-26  4:57               ` Eli Zaretskii [this message]
2023-10-25 18:57           ` Manuel Giraud via Emacs development discussions.
2023-10-24 16:00 ` Manuel Giraud via Emacs development discussions.
2023-10-24 16:04   ` Eli Zaretskii
2023-10-24 18:06   ` Emanuel Berg
2023-10-24 18:48   ` Arsen Arsenović
2023-10-24 18:01 ` Manuel Giraud via Emacs development discussions.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83a5s6htf4.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=sbaugh@catern.com \
    --cc=yandros@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.