unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Radon Rosborough <radon.neon@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: [PATCH] Only signal package.el warnings when needed
Date: Tue, 15 Jan 2019 11:43:39 -0700	[thread overview]
Message-ID: <CADB4rJENZjmjmzWwVL9NdYocDKObG4YxM-Xp4RCnCsG+cMJH9Q@mail.gmail.com> (raw)
In-Reply-To: <8336ptet50.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1411 bytes --]

> 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. The inconvenience is a
one-time occurrence, so fixing it after the fact will do nothing. It
is like seeing a building about to catch fire, and deciding to wait
until after it's burned down to bring in the fire trucks.

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.

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).

Best,
Radon

[-- Attachment #2: Type: text/html, Size: 1869 bytes --]

  reply	other threads:[~2019-01-15 18:43 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 [this message]
2019-01-15 19:26         ` Eli Zaretskii
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

  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=CADB4rJENZjmjmzWwVL9NdYocDKObG4YxM-Xp4RCnCsG+cMJH9Q@mail.gmail.com \
    --to=radon.neon@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.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).