unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Richard Copley <rcopley@gmail.com>
Cc: 14513@debbugs.gnu.org
Subject: bug#14513: 24.3.50; Site load-path pieces differ in MSYS build
Date: Thu, 30 May 2013 21:20:59 +0300	[thread overview]
Message-ID: <83r4go49dg.fsf@gnu.org> (raw)
In-Reply-To: <CAPM58ohBzjF+LxWGwtjAiwS4UgAkwB8CfTncpUY88iXxZPAnFw@mail.gmail.com>

> Date: Thu, 30 May 2013 18:56:10 +0100
> From: Richard Copley <rcopley@gmail.com>
> Cc: 14513@debbugs.gnu.org
> 
> What used sometimes to be called NT Emacs is (or was) a portable app.
> When you've unpacked (or built) it, everything is inside "bin/..".
> Call that the "application directory". You install by moving and
> renaming the application directory, and uninstall by deleting.
> Ideally, you never modify any file inside the application directory.
> Putting an Emacs bin directory on the system-wide path is optional.
> The user can be trusted to work out how to invoke the right executable.
> Emacs finds the right auxiliary executables and DOC file just fine,
> even with the "-Q" command-line argument.

This is all still true, except that some of the directories are not
immediately below the root of the installation tree, but somewhat
deeper.  E.g., what was previously in ROOT/lisp is now in
ROOT/share/emacs/VERSION/lisp.  Why is that difference important?

> I had a bunch of these application directories, my own builds of the
> trunk, at different revisions. Like this (but with more Emacs):
> 
>   c:\>dir /B c:\emacs
>   emacs-111818
>   emacs-112125
>   emacs-112416
>   site-lisp

You can still have separate directories like that, unless I'm missing
something.  The directory structure below emacs-NNNNNN directories
will be different, but that's all.

> This particular arrangement was suggested, to my mind anyway, by
> the existence of the "%emacs_dir%/../site-lisp" entry in load-path.

Did you really have files in "%emacs_dir%/../site-lisp"?  If you did,
you'd probably be the first one I know about who did.  Most people
don't even know that directory is looked in.

If you do have files in this directory, you'll have to copy them into
each new tree, if you really want the threes to be separate, not under
a single root.  But you'll probably need that anyway, because Lisp
files had better be compiled by the Emacs version that runs them.

> I don't say it's impossible to do the same thing any more, just that
> it no longer works out of the box as it used to

What exactly doesn't work?  Uninstalling by removing a single tree?
Or something else?

If that's uninstalling, and you don't want or cannot "make uninstall",
it should be easy to create a simple script that, given a root
directory and a version, will delete the subdirectories that belong to
that version only.  There aren't too many directories to delete,
basically libexec/emacs/VERSION and share/emacs/VERSION.  That, and
the emacs-VERSION*.exe executables in bin/.

Did I miss something?

> If, as you say, it's a design decision, then that's fine. I disagree
> but I don't object.

The new structure has advantages which I described in that mail in
March.





  reply	other threads:[~2013-05-30 18:20 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-30 13:46 bug#14513: 24.3.50; Site load-path pieces differ in MSYS build Richard Copley
2013-05-30 16:40 ` Eli Zaretskii
2013-05-30 17:56   ` Richard Copley
2013-05-30 18:20     ` Eli Zaretskii [this message]
2013-05-30 19:02       ` Achim Gratz
2013-05-30 19:16         ` Eli Zaretskii
2013-05-30 19:57           ` Achim Gratz
2013-05-30 20:39             ` Eli Zaretskii
2013-05-30 21:21               ` Stefan Monnier
2013-05-31 19:01               ` Achim Gratz
2013-05-31 19:24                 ` Eli Zaretskii
2013-05-30 19:06       ` Stefan Monnier
2013-05-30 19:18         ` Eli Zaretskii
2013-05-30 19:20       ` Richard Copley
     [not found]       ` <CAPM58ojwzkw8kxKc8P4G0mdsJgmYmo-ZxSbcN1F2J+QVyFaHMw@mail.gmail.com>
2013-05-30 19:29         ` Eli Zaretskii
2013-05-30 20:00           ` Stefan Monnier
2013-05-30 20:42             ` Eli Zaretskii
2013-05-30 21:43               ` Stefan Monnier
2013-05-31  6:20                 ` Eli Zaretskii
2013-05-31  9:52                   ` Richard Copley
2013-05-31 11:35                     ` Eli Zaretskii
2013-05-31 12:55                       ` Richard Copley
2013-06-01 16:04                         ` Richard Copley
2013-06-01 16:38                           ` Eli Zaretskii
2013-06-01 17:06                             ` Richard Copley
     [not found]                               ` <CAPM58og6ySbmR28vQH+m7dp-zYgVwrrYqthO6_ZfGodV9Si23w@mail.gmail.com>
     [not found]                                 ` <8361xx20lb.fsf@gnu.org>
2013-06-01 18:00                                   ` Richard Copley
2013-06-02 11:33                                     ` Richard Copley
2013-06-04 18:27                                       ` Richard Copley
2013-06-04 19:37                                         ` Eli Zaretskii
2013-06-04 20:14                                           ` Richard Copley
2013-06-04 20:21                                             ` Glenn Morris
2013-06-07  8:14                                       ` Eli Zaretskii
2013-06-07 17:48                                         ` Richard Copley
2013-06-04 23:55                   ` Juanma Barranquero
2013-06-06 15:37                     ` Eli Zaretskii
2013-06-07  1:49                       ` Juanma Barranquero
2013-06-07  6:51                         ` Eli Zaretskii
     [not found]         ` <83ip20469l.fsf@gnu.org>
2013-05-30 19:29           ` bug#14514: Fwd: " Richard Copley
2013-05-30 19:49             ` bug#14513: " Richard Copley

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83r4go49dg.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=14513@debbugs.gnu.org \
    --cc=rcopley@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).