From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Radon Rosborough Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Fixing package-initialize, adding early init file Date: Mon, 9 Oct 2017 16:17:24 -0700 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1507591414 14435 195.159.176.226 (9 Oct 2017 23:23:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 9 Oct 2017 23:23:34 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 10 01:23:26 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1hOL-00029j-Dr for ged-emacs-devel@m.gmane.org; Tue, 10 Oct 2017 01:23:21 +0200 Original-Received: from localhost ([::1]:60248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1hOS-000310-IX for ged-emacs-devel@m.gmane.org; Mon, 09 Oct 2017 19:23:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1hJJ-000707-BU for emacs-devel@gnu.org; Mon, 09 Oct 2017 19:18:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1hJI-00005S-Fk for emacs-devel@gnu.org; Mon, 09 Oct 2017 19:18:09 -0400 Original-Received: from mail-lf0-x22f.google.com ([2a00:1450:4010:c07::22f]:52860) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1hJI-0008Vt-6q for emacs-devel@gnu.org; Mon, 09 Oct 2017 19:18:08 -0400 Original-Received: by mail-lf0-x22f.google.com with SMTP id b190so3713054lfg.9 for ; Mon, 09 Oct 2017 16:18:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=8BqvbbrjORSpSDMsEhJUZ82IO+8IrRkFYqZnkHuRDEU=; b=W7xMlIH+5WJ4BiNZPNN6bPYqtn7192SYOks5sZ3I67KUHGzUoPnY+MRBt082jqryfQ OZmHekjm7viJ6YDrXsKcS1TK0NNqp7HiRt7SorQHVloW9+3MzwTuEr1sjX1/tjUkjSqT 83wmZUnabFLwP49JmMnn8OOdZFkh7fhVPPQVCt56Q+jppKqwxm257sD8qGP2FcDtJuZP cfYUnkhcc5qyx+Ugf31gZgZQw8MNUyJwhUgunAgzbRZ3DTsdN48Vv7Q5/yTTmUKjD+uU XOW18MXQdO5X2QyWY1jTncOgUxko0PgjwNJhaqGSZsjqh0z4NIzaO2x0yN3c9958gzAo HJPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=8BqvbbrjORSpSDMsEhJUZ82IO+8IrRkFYqZnkHuRDEU=; b=bcDCBj6Abc3YH4llb1F4a+Ytx10Q1yPSB+RtX5r4B20XZ5FdZdQX8+hd1+IGOmYJsc UHSHyXqdAJQdv1oYAxcNvdPmU84VMdInGeTUDxjOPwZkpHm89j4ZwNxrkPsUlHe83/GR KTFQM+h9nG3WmIBLOMW4NkyK5fahosAGjZHcyQc77oMLzO+cvWqqehWDJ86OvjKPPSNs 6HcDc21+DvNrBGs7PHhN0Cbl3lT6abFax4y1VDRwthksy4hvR6+8hJB2FE+QHg7rh8hh H9KA2vzpYKuMiIeC7beUMG792KLU+uR2/O829pP0bC+1ZiCtEz8Tr06wOz0B8H5wfkTv JhPQ== X-Gm-Message-State: AMCzsaVZqpaxbIgLu1ZaUvQR24CTZdb4M8qvyRd8m0kJfMcPoMRRC2Lz mCD1aI0qjRnkQrB660cETN1xnJu2WJUqebaE+N6QsA== X-Google-Smtp-Source: AOwi7QCL4v/xGB8HIJNywYhzFKPopMUu9ofMaLwYEr+3Ltmmceq+Jjut5epOKrz9iHjM4Vc0Ne+5qidNBPdIR8OUS84= X-Received: by 10.46.42.3 with SMTP id q3mr4990634ljq.191.1507591085406; Mon, 09 Oct 2017 16:18:05 -0700 (PDT) Original-Received: by 10.25.208.10 with HTTP; Mon, 9 Oct 2017 16:17:24 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:219318 Archived-At: I noticed that discussion seems to have died off on the package-initialize patch. Is there anything I can do to help it along? > Attached is a preliminary patch for fixing "the package-initialize > problem" (see [1] [2] [3]) by adding an early init file. Feedback > welcome. In particular, > > - do we want to try to factor out some common logic in loading the > early init file versus the regular init file? > - have I broken anything in moving the check for an invalid username > earlier in startup.el? what about moving package-initialize earlier? > - should `early-init-file' be defined in C? > - did I miss any documentation fixes? > - have I broken any style guidelines for the repository? > > Additional question: if we moved forward with this patch, would it > make it into Emacs 26.1? > > Best, > Radon Rosborough > > [1]: https://lists.gnu.org/archive/html/emacs-devel/2017-08/msg00154.html > [2]: https://lists.gnu.org/archive/html/emacs-devel/2017-08/msg00433.html > [3]: https://lists.gnu.org/archive/html/emacs-devel/2017-09/msg00023.html