From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SLE6OohLmGNdywAAbAwnHQ (envelope-from ) for ; Tue, 13 Dec 2022 10:53:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id XvUfOohLmGMfRgEAauVa8A (envelope-from ) for ; Tue, 13 Dec 2022 10:53:12 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C81832F9D0 for ; Tue, 13 Dec 2022 10:53:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p51y2-0000fg-G1; Tue, 13 Dec 2022 04:52:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p51y0-0000fR-9M for emacs-orgmode@gnu.org; Tue, 13 Dec 2022 04:52:52 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p51xx-00074U-3M for emacs-orgmode@gnu.org; Tue, 13 Dec 2022 04:52:52 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id CFF01240104 for ; Tue, 13 Dec 2022 10:52:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1670925166; bh=pvKLWvreVxocN0HE+WO1VEI+gtT+zRdq6IgBu8o1aO8=; h=From:To:Cc:Subject:Date:From; b=MC2dH8LBCJ/5jI5pouRQF9w8rqQGfRIJwx8eCnRBdEP9iFx8z7SLfBDpxkBOjmfVP 4x0NkhXvCjvbQXHl2vOvOw5Uk4nH3FoC6zr3bkGPJSMxFRC7Sp9WkvhxhudqH6Iaxh bAwjgvuEQRXALApurr739L51qfjBNgCYHLzZYeK39RVX7NQJ4k5tVbvKocbkXElq8+ R5jaTOKDdMRr8A2s8Ttvt2MJsMRXbNePffgio8+JfhJGrYEN37qCiWAmrBbXUHagy1 ouqvKYYiGnNEuF6hfbCnDw1ULEIIS0cQGSz+LJ/10VWPysIi8EBlz0FAUqc5dD9jkQ z/GWf1PT7OIEg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NWYhF5mW5z9rxK; Tue, 13 Dec 2022 10:52:45 +0100 (CET) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: Autoloading side effects (was: Re: [BUG] org-mouse is activated without explicit require) In-Reply-To: References: <87r0x6sju1.fsf@fastmail.fm> <87iliie0j1.fsf@localhost> <871qp4j4vn.fsf@localhost> Date: Tue, 13 Dec 2022 09:52:44 +0000 Message-ID: <87359jeikz.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670925192; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=UiFDspvLQTd5Gf1HY2T9XG3JgBI3A9qnGZQ7lBMhbKA=; b=bNt52KCDtMMoeify9Yfo0La3pSdzxQhPjEuuCiRKai3FAsor2mytEZT2fS0QBcSUoNKkPa Ui11Q5rQS0Vy6zBofnrjMcUWbqY3BCWvq1K7cMdfI69JJFuJgHLimGCUymUbnE5AQU7GPt MinPrUFDImqvTL/32C4Av+Yb00/pUjqiz7tuEEMbCzUIRX69DJ0xngJtavRLPGLX65fIx8 nkXKM6S+zLyx9dCRhJ3H15AdK0Wbn0MwuevgHTv6oUazj2npp7qvD5VWPM2q/LlzRW2+tF cqifEh52twN8oI3zxFidRTY+wKd6PEjmZIFP1qpELlgyoP8spf40P8RzdKW9TQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=MC2dH8LB; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670925192; a=rsa-sha256; cv=none; b=AOABfUYNcnq5ZXE/mf7BoSNRq/JcxJKO0XhNIoQSwGzlabJbMSwpoIP7zeWmRVGahD4+xm BbVIFCoRKoutFuW34UvKeDO+HVPP4t7KMoW1bhV4jYDO+yQMGQOoumZAm9osokLm4VSsZx 5Wap77q44zuLNie7pcO1H/4sxewbUiGOq2EJjZ8EhZuBagBiArmP0UCBA/t+qwjaDkLo+7 2A3JHiv5kw6zD9dN1mC1vusP4nZtEpxYcVKFfh/VOrM6agGI+xMDe4tHq46ujVDjgqBEdK SPgzmX5B1W6D+f8dI9QjpyR9g81Iwp1AMhxeEeCLgZPAOseg3wDCSLfddLPW/g== X-Migadu-Spam-Score: -6.46 X-Spam-Score: -6.46 X-Migadu-Queue-Id: C81832F9D0 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=MC2dH8LB; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net X-TUID: nFyn3T90sTxE Max Nikulin writes: >> We have `org-modules' that can handle calling `org-link-set-parameters'. > > Sorry, but I have not got your idea. Currently `org-modules' is just a > list of packages that should be loaded with org.el. > > It is possible to introduce some convention either in Org or in Emacs to > add default action for a package. Then in addition to just loading a > package (with no side effects) a set of functions should be implemented > that loads and *activates* the package. We can simply process 'ol-* in `org-modules' specially. Although, I am not having second thoughts about behaviour of require. The original issue reported in this thread is actually strange - we have no single autoload cookie in org-mouse.el. May it be something to do with the new Emacs autoload generation? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at