From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: George Plymale II Newsgroups: gmane.emacs.devel Subject: Re: Loading a package applies automatically to future sessions? Date: Thu, 01 Feb 2018 17:10:12 -0500 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1517523153 16718 195.159.176.226 (1 Feb 2018 22:12:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 1 Feb 2018 22:12:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 01 23:12:29 2018 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 1ehN5c-0003C5-7M for ged-emacs-devel@m.gmane.org; Thu, 01 Feb 2018 23:12:16 +0100 Original-Received: from localhost ([::1]:39243 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehN7d-0008VA-DA for ged-emacs-devel@m.gmane.org; Thu, 01 Feb 2018 17:14:21 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehN6P-0006e8-Ux for emacs-devel@gnu.org; Thu, 01 Feb 2018 17:14:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ehN3g-00026H-LC for emacs-devel@gnu.org; Thu, 01 Feb 2018 17:11:22 -0500 Original-Received: from mail-it0-x235.google.com ([2607:f8b0:4001:c0b::235]:34610) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ehN3g-00025o-5n for emacs-devel@gnu.org; Thu, 01 Feb 2018 17:10:16 -0500 Original-Received: by mail-it0-x235.google.com with SMTP id m11-v6so1330579iti.1 for ; Thu, 01 Feb 2018 14:10:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orbitalimpact.com; s=google; h=from:to:cc:subject:in-reply-to:date:message-id:mime-version; bh=xJv0TyLOrqewhuHWp0w4WJu53/h0yldkWaGenAnqzJo=; b=oqEExKj7JohS0bbvpAaIYU9/6Ggj4xfNMK+t92nXPSSGg16jCPREa76yHt+4Ync2z3 VuX8owFpWnhkFRTnmJMTOqXcmyP/bgcG90zmi0AB3BS42Y2zZrgsVsMA983h9q/VOn9Q eQjjXYWnvPJiiKFy5wXnMndAbg6h+ESkrg3ZQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :mime-version; bh=xJv0TyLOrqewhuHWp0w4WJu53/h0yldkWaGenAnqzJo=; b=nekuyx0f6wUt0m5TAJiTH5d/GtdQe7jKb+SSv3ZrCtxUe9uKD9Vczapc8TmtSVKwgt x28VQmAaA0ekpJheEt9XHXI8RWcYXgNXXtdS0EPwoqFix4O34btWAbaD8xy3n0Er9fpb lJ0TGt/SdgFLlFKUFq+QrFgxy+LAbiXG231bzHZGXpaWuj0Y4quD/WEQ+ECwtgh26Y13 k7ZeA+HIkSyokA/anctfXal9Gpn/ymSfogkGaxTlu/RZC//8A2pXYLZmyWxu/4ZE2LC4 ht96mhuoDexApzbJ+F7D98Z+1kpouEM8ArF6rveN7c94k1xPtvKqRzFgY/5nkcxT80o3 q78g== X-Gm-Message-State: AKwxytdksl1ZYX11nardslWcE1zeEFXgdY4e3zKk7XoYVCimE2fS3axL 1Tk7v+exjQK+iXcVSgGXAYTmrwP8WfUHIg== X-Google-Smtp-Source: AH8x225pWPhZ5bgRfKubiNb6y13LfhBk7SmkeB0ssGfMW52VmRRTCgNZnYJNUty2LLyRCiNx37Ddig== X-Received: by 10.36.185.84 with SMTP id k20mr8515189iti.124.1517523015514; Thu, 01 Feb 2018 14:10:15 -0800 (PST) Original-Received: from lehi.dev.orbitalimpact.com (ip-108-240-239-173.midwest.us.northamericancoax.com. [173.239.240.108]) by smtp.gmail.com with ESMTPSA id t96sm319105ioe.40.2018.02.01.14.10.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Feb 2018 14:10:14 -0800 (PST) In-Reply-To: (message from Stefan Monnier on Thu, 01 Feb 2018 14:47:19 -0500) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c0b::235 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:222378 Archived-At: > Hmm... good catch. I just added a corresponding FIXME in the code > (hopefully M-x dwim will figure out how to fix it). Sounds good. > I'll see if I can reproduce it (it's probably better to try and use the > .el file instead, tho). Ok, let me know if you need help from my end. > FWIW "a first stab" often ends up being faster than the end product, > because the first stab was too optimistic. Hopefully it won't come to that ;) > Could you try and give some more details about this problem? > E.g. check the fastpath file to see in which order the two packages's > autoloads are placed. If gh-autoloads.el comes before > marshal-autoloads.el, could you try and figure out why (e.g. maybe > starting with `M-x trace-function RET package-activate RET` > and `M-x trace-function RET package-activate-1 RET`)? gh-autoloads.el does indeed come before marshal-autoloads.el (although I currently have them switched around to prevent init errors). I did those `trace-function' invocations that you suggested, but I can't quite make heads or tails out of them so I will just send you the *trace-output* dumps to look at it yourself. I will send said dumps in a private email since I don't want to post all of my installed packages publicly. Thanks, - George Plymale II