unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lynn Winebarger <owinebar@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gregory@heytings.org, casouri@gmail.com, emacs-devel@gnu.org
Subject: Re: Unboxed package manager
Date: Thu, 23 Mar 2023 09:30:37 -0400	[thread overview]
Message-ID: <CAM=F=bCxYA6W5DUGOLhFieeTQpxn18vuOG2dtLNKN2PHON22vg@mail.gmail.com> (raw)
In-Reply-To: <83lejo55j4.fsf@gnu.org>

On Thu, Mar 23, 2023 at 2:46 AM Eli Zaretskii <eliz@gnu.org> wrote:
> > From: Lynn Winebarger <owinebar@gmail.com>
> > Date: Wed, 22 Mar 2023 18:22:55 -0400
> > Cc: gregory@heytings.org, casouri@gmail.com, emacs-devel@gnu.org
> >
> > On Wed, Mar 22, 2023 at 10:42 AM Eli Zaretskii <eliz@gnu.org> wrote:
> > >
> > > Why would someone want all 300 of them?  Some of them even contradict
> > > each other, in that they implement similar features in very different
> > > ways.
> >
> > You're correct, many of them do address similar issues and should not
> > be "turned on" simultaneously.  As long as they are well-behaved and
> > able to be switched on and off reliably, though, there's no reason to
> > not have them simultaneously installed and loaded if the user is not
> > dedicated to minimizing resource consumption.
>
> I didn't say people should not be able to do that.  They should, and
> they are.  I just said it isn't a reasonable thing to do, and thus
> doesn't justify our jumping through hoops to cater for it.

Who's asking anyone to jump through hoops to cater to anything?  All
I've done in this thread is ask for any insight on the best way to
derive from package.el, since I only want to extend the
installation/activation/deinstallation behavior, and then respond to
questions about why I would do such a thing.

In fact, I don't think I've asked for any concrete action from emacs
developers beyond not breaking functions that have worked in the past.
I've asked for insight into coding issues, and reported on the results
of my experiments.  I'm not sure how you define "a reasonable thing to
do" without considering evidence from experience when it's available.

> > > > Note I'm just installing
> > > > these packages, not actually loading any of them directly.
> > >
> > > Exactly.  So this is entirely theoretical use case, not a real one.
> >
> > I was just noting that the performance hit comes from merely
> > installing the package (and enlarging the load-path), not from loading
> > it.
>
> And I was just noting that doing such a thing cannot be of any
> practical interest to us, unless it causes severe bugs in Emacs, like
> crashes etc.

No, you were characterizing my efforts as "entirely theoretical",
which they are not.

I have no idea who you are speaking on behalf of when you say "to us".

> I obviously assumed (and I think I even said that explicitly) that the
> directories of those packages shouldn't be added to load-path;

But that is what is done by package.el.

> _instead_, they should be loaded by their explicit file names,
> including leading directories.  _Then_ the problem with load-path will
> not happen.

That wasn't clear at all - it appeared you were referring to the
"require" statements in the "loadall.el" file, since the packages were
not being loaded.

> As for the order of loading packages -- that problem exists anyway,
> and I believe use-package, which is now part of Emacs, is capable of
> making the solution a bit easier.  In any case, solving that is
> basically a one-time issue, when you first install a new package.

So, your definition of "reasonable" implies that packages are only
infrequently changed, or experimented with?

> So what exactly are you asking for?  Is it some change in package.el?
> If so, what change?

See above - I did not ask anyone to *do* anything in terms of coding.
I asked whether anyone more familiar with package.el and elisp than I
am had any better ideas for deriving functionality from package.el
than using "advice".

Lynn



  reply	other threads:[~2023-03-23 13:30 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-20  1:18 Unboxed package manager Lynn Winebarger
2023-03-20  6:30 ` Yuan Fu
2023-03-20  8:55   ` Lynn Winebarger
2023-03-20  9:09     ` Lynn Winebarger
2023-03-20 15:25       ` Philip Kaludercic
2023-03-20 16:12         ` Lynn Winebarger
2023-03-20 16:53           ` Philip Kaludercic
2023-03-20 18:11           ` Jonas Bernoulli
2023-03-21  1:40             ` Lynn Winebarger
2023-03-22 11:17               ` Jonas Bernoulli
2023-03-22 14:31                 ` Lynn Winebarger
2023-03-22 23:39                   ` Lynn Winebarger
2023-03-21 19:06         ` Augusto Stoffel
2023-03-21 19:10           ` Philip Kaludercic
2023-03-21 19:57             ` Augusto Stoffel
2023-03-21 20:06               ` Philip Kaludercic
2023-03-21  0:23       ` Gregory Heytings
2023-03-21  0:25         ` Gregory Heytings
2023-03-21  1:55           ` Lynn Winebarger
2023-03-21 10:36             ` Lynn Winebarger
2023-03-21 10:52               ` Gregory Heytings
2023-03-21 13:23                 ` Eli Zaretskii
2023-03-21 13:33                   ` Gregory Heytings
2023-03-21 14:13                     ` Eli Zaretskii
2023-03-21 14:20                       ` Gregory Heytings
2023-03-21 17:29                         ` Eli Zaretskii
2023-03-22  0:48                           ` Lynn Winebarger
2023-03-22 14:42                             ` Eli Zaretskii
2023-03-22 22:22                               ` Lynn Winebarger
2023-03-23  6:46                                 ` Eli Zaretskii
2023-03-23 13:30                                   ` Lynn Winebarger [this message]
2023-03-24 17:54                                     ` chad
2023-03-26  1:51                                       ` Lynn Winebarger
2023-03-23  1:44                               ` David Masterson
2023-03-23  7:02                                 ` Eli Zaretskii
2023-03-22  7:29                           ` tomas

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='CAM=F=bCxYA6W5DUGOLhFieeTQpxn18vuOG2dtLNKN2PHON22vg@mail.gmail.com' \
    --to=owinebar@gmail.com \
    --cc=casouri@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=gregory@heytings.org \
    /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).