unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: 31397@debbugs.gnu.org, radon.neon@gmail.com,
	Zachary Kanfer <zkanfer@gmail.com>,
	npostavs@gmail.com
Subject: bug#31397: 27.0.50; Emacs doesn't call package-initialize if there's no elpa directory
Date: Mon, 04 Nov 2019 21:01:10 +0100	[thread overview]
Message-ID: <87y2wvbed5.fsf@marxist.se> (raw)
In-Reply-To: <jwvd0oo70i6.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 22 Jan 2019 18:12:09 -0500")

Stefan Monnier <monnier@IRO.UMontreal.CA> writes:

>> I'm circling back around to this; I think that that change makes a lot of
>> sense.
>
> I installed an alternative patch which doesn't fully initialize package,
> but does make package-installed-p work even if package-initialize hasn't
> been called yet.

Thanks.

>> What other functions would need to call package-initialize, if it hasn't
>> been called?
>
> Good question.  I hope the answer is none, and I think if we find one,
> we should change it so it initializes the relevant vars automatically.

I agree, and have had a cursory look without finding any obvious
candidates.  Perhaps it's best to do them on a case-by-case basis,
i.e. treat them as normal bugs if/when they are found.

IOW, I'm not sure it makes sense if it makes sense to keep this bug
open just for the eventuality that there are more functions with
similar bugs.

Best regards,
Stefan Kangas





  reply	other threads:[~2019-11-04 20:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-10  5:17 bug#31397: 27.0.50; Emacs doesn't call package-initialize if there's no elpa directory Zachary Kanfer
2018-05-29  2:41 ` bug#31397: 27.0.50; Emacs doesn't call package-initialize if there's no Zachary Kanfer
2018-05-29 11:52 ` bug#31397: 27.0.50; Emacs doesn't call package-initialize if there's no elpa directory Noam Postavsky
2018-05-29 16:13   ` Radon Rosborough
2018-05-29 22:40     ` Noam Postavsky
2018-05-29 22:58       ` Stefan Monnier
2018-08-06 23:41         ` Zachary Kanfer
2019-01-22 23:12           ` Stefan Monnier
2019-11-04 20:01             ` Stefan Kangas [this message]
2019-11-04 22:57               ` 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=87y2wvbed5.fsf@marxist.se \
    --to=stefan@marxist.se \
    --cc=31397@debbugs.gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    --cc=npostavs@gmail.com \
    --cc=radon.neon@gmail.com \
    --cc=zkanfer@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).