all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Radon Rosborough <radon.neon@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] Only signal package.el warnings when needed
Date: Tue, 15 Jan 2019 21:26:15 +0200	[thread overview]
Message-ID: <83tvi9d8o8.fsf@gnu.org> (raw)
In-Reply-To: <CADB4rJENZjmjmzWwVL9NdYocDKObG4YxM-Xp4RCnCsG+cMJH9Q@mail.gmail.com> (message from Radon Rosborough on Tue, 15 Jan 2019 11:43:39 -0700)

> From: Radon Rosborough <radon.neon@gmail.com>
> Date: Tue, 15 Jan 2019 11:43:39 -0700
> Cc: emacs-devel <emacs-devel@gnu.org>
> 
> > From: Eli Zaretskii <eliz@gnu.org>
> > Date: Jan 15, 2019, 10:19 AM
> >
> > I'm saying that we should hear the complaints first and devise the
> > solution only after that.
> 
> If we wait until Emacs 27.2 to fix the complaints, then it will
> already be too late to do anything useful, since everyone will have
> already suffered and changed their init-files.

That was the situation before the recent changes, and we still made
those changes.  So I think your fears are unjustified.

> I view the current situation as quite unacceptable: the most prominent
> result on Google when you search for the warning message suggests the
> following:
> 
> (unless package--initialized (package-initialize t))
> 
> That means when Emacs 27 is released we're going to see this code show
> up in everybody's init-files (upgrade -> "what's this weird warning?"
> -> Google -> copy/paste -> "oh good, it's gone now"). I don't think
> that's acceptable, because `package--initialized' is an internal
> variable which should not be referenced in user code.

So maybe the right solution is to make that variable public instead.

> Even if we fix the problem in Emacs 27.2, that won't help to get these
> references to `package--initialize' out of people's init-files.
> Deciding not to merge this patch or something similar will create a
> massive amount of technical debt in places we can't touch (everyone's
> Emacs configurations).

I think "massive amount" is a significant exaggeration.

Anyway, there's no way around some of this when we are trying to solve
such problems.  That there's some fallout cannot be used as an
ultimate argument in favor or against some change.



  reply	other threads:[~2019-01-15 19:26 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-14  4:17 [PATCH] Only signal package.el warnings when needed Radon Rosborough
2019-01-14 15:48 ` Eli Zaretskii
2019-01-14 16:10   ` Robert Pluim
2019-01-14 16:39     ` Eli Zaretskii
2019-01-14 16:48       ` Robert Pluim
2019-01-14 20:14     ` Stefan Monnier
2019-01-14 21:46     ` Radon Rosborough
2019-01-14 21:46   ` Radon Rosborough
2019-01-15 17:18     ` Eli Zaretskii
2019-01-15 18:43       ` Radon Rosborough
2019-01-15 19:26         ` Eli Zaretskii [this message]
2019-01-21 22:45           ` Radon Rosborough
2019-01-22 17:29             ` Eli Zaretskii
2019-01-23  4:06               ` Radon Rosborough
2019-01-23 15:34                 ` Eli Zaretskii
2019-01-23 16:00                   ` Stefan Monnier
2019-01-23 17:28                   ` Radon Rosborough
2019-01-14 22:13   ` Óscar Fuentes
2019-01-14 22:59     ` Clément Pit-Claudel
2019-01-15 10:39       ` João Távora
2019-01-15 17:15         ` Eli Zaretskii
2019-01-15 17:24           ` João Távora
2019-01-14 19:55 ` Stefan Monnier
2019-01-14 20:19   ` Stefan Monnier

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=83tvi9d8o8.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=radon.neon@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.