From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: package-quickstart and info: Date: Thu, 07 Jan 2021 15:40:57 -0800 Message-ID: References: <20210107211432.ADCC7C21F3D@raman-glaptop.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=gb18030 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5640"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 08 00:42:03 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kxeup-0001Ml-5p for ged-emacs-devel@m.gmane-mx.org; Fri, 08 Jan 2021 00:42:03 +0100 Original-Received: from localhost ([::1]:56630 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxeuo-0003SB-4f for ged-emacs-devel@m.gmane-mx.org; Thu, 07 Jan 2021 18:42:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxetu-0002xf-2l for emacs-devel@gnu.org; Thu, 07 Jan 2021 18:41:06 -0500 Original-Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]:37538) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxetq-00077V-2M for emacs-devel@gnu.org; Thu, 07 Jan 2021 18:41:05 -0500 Original-Received: by mail-pl1-x62f.google.com with SMTP id be12so4703680plb.4 for ; Thu, 07 Jan 2021 15:41:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=UOwfrcbslDuxGkul1o+RUBf2NbNrP+WZvuH1I2dTaaM=; b=wEE0K6GF/F11vYp6Nhmo5gkl0xZfUF+O9/HlJVH8FXP7uwIEQDlFBAxFigIsRvXSLN 9i8nr2rwR3HBBRUeSU20YCEOIbnPFSHuhWsnlWV1wvg7RsxFaSxYkJ1yPstVrwvm77ED Gwikiqp68xyrMGZGgnQoPLxIyYxJi4EXryXdsZJzFnbu3YJRHeCmxuNNoFa5dAZi2s/7 s7e0xlrJxMJ30LrZWq0Aqe3H2Ckwq4sN9v0rYSrPi3yCeF1RPXwEHxFnVMAKQPL1Wp0z ZpZeQv0FyiFUl2cG/9i8Sn+4wyVPmjJBhZGd3+WXXKMwVyG4L9uQqr+KRiYArAlBtBDF PFxA== 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:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=UOwfrcbslDuxGkul1o+RUBf2NbNrP+WZvuH1I2dTaaM=; b=BXvqRO1GYYpcj366vpb8dSWwnoThS3It0sQSzH+Epcx349vNpxaJTWSJ7utuhBV4TN swycaX/vam+fZFwdcCG9mTnZRliXNnS4vMcvnxu5/d9kUIGS2/X7bdxIQsp0AvHOLLK+ jM7xcztQH6RzfiSbRXfT8EnzczOThNYE0+kcxeK28o66DXGUAB3dhjW1MVEl9Ee9t+zZ Vc9x69fRGPIzbl1hmJK2HvpjkeDDDnmDXh//nCG+GH+hL8/5c0aNIiQlYqwx/jcjr4+0 s+aI6DLpVux4cVwLxJoz0Ip5gYfSNJuFxHoYjbVEUIS2+8eDqmJBtgt6vpgiKne8Bjpn qA5Q== X-Gm-Message-State: AOAM530fk/iIuPZexrPDO4o6fxQBnGM71ASvMgmtup3ZkAsiR3FWqN3+ XJ4iYkBE1uC1Vh7Qxgah/vIaVuPibypOzO4P X-Google-Smtp-Source: ABdhPJze/kosHyaUutBotlqRvRoL0is2itDJw4B40Fu3jjApSdS5kkoCqQi7TQoG0rcBP32VZqRkdg== X-Received: by 2002:a17:90b:394:: with SMTP id ga20mr855952pjb.128.1610062859812; Thu, 07 Jan 2021 15:40:59 -0800 (PST) Original-Received: from raman-glaptop.localdomain (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id 68sm6621983pfe.33.2021.01.07.15.40.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jan 2021 15:40:59 -0800 (PST) Original-Received: by raman-glaptop.localdomain (Postfix, from userid 13930) id A34BBC21F3D; Thu, 7 Jan 2021 15:40:57 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Thu, 07 Jan 2021 18:16:15 -0500") Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=raman@google.com; helo=mail-pl1-x62f.google.com X-Spam_score_int: -179 X-Spam_score: -18.0 X-Spam_bar: ------------------ X-Spam_report: (-18.0 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.382, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:262716 Archived-At: Stefan Monnier writes: Given that this is all happening from early-init.el, I suspect info always gets loaded.=20 >> While debugging something else with force-load-messages set to t, I >> noticed that loading package-quickstart.el loads info -- is there a >> good reason for this? > > IIRC when a package includes an Info manual, we load `info` before > modifying the `Info-directory-list`. This could be improved to avoid > loading `info`. > > The place where this happens in the non-quickstart case is > `package-activate-1` and in `package-quickstart-refresh` you can see > similar code being added to the quickstart file. > > IIRC the problem is that depending on whether=20 > `info-initialize` has already been called or not, we need to add the > directory either to `Info-directory-list` or to > `Info-default-directory-list`. > > Patches welcome (and if you need more info about the precise > relationship between those two Info*directory-list vars, I think Eli is > the one who knows all about it). > > > Stefan > --=20 Thanks, --Raman =817=A94 Id: kg:/m/0285kf1 =950=DC8