From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id MMEWFpYXMmY1kAAAqHPOHw:P1 (envelope-from ) for ; Wed, 01 May 2024 12:21:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id MMEWFpYXMmY1kAAAqHPOHw (envelope-from ) for ; Wed, 01 May 2024 12:21:10 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=oUImryHm; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714558870; 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=hJ8zEvmf5i2u/bw+Vup/l1tdhhHCJ6+jk3WrFk2kgd0=; b=f4h9OyF5Bqo9dXK5zHt6MQ841x/Hkd9Q+SP850k6IC8yskxTHeiQPq8gu64cijwIXEljiZ DfXnZsC57YqMwo0YpCCUannZ1XDbTjgjPCRFLHRs9Y9ZYhHO9SPdijOZpA9YcOg2rIMHoi 7auEL1KjfFydG5SoWbAvxohbLlt+YbG4gwbQBMqvzTFbegogwkxfxK+nggLcTN8d0Gk3it wg2NpRfLUZmIDZnNMHr06UYKKLsrxeK04uX7Dy88DHfh60RWzAn1AmkFJ9S4E0xW9FcSMq ddDs+DPjJm/tARTv+yXNkMr23cdq02bTdtydyxbUDBbpJROORugG0VBov7Un4w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714558870; a=rsa-sha256; cv=none; b=cKTU+38OAUnJc7zmD+1UbXxGi8wqTJK4G6G6cVPf90WoaCYnVnjhVEelaKCudWD4b7/08W ukEH8bfWZ9twktfqCYVj0g8/CRpeXvXsXf68Wzdv6cgavW9jSL3qs1IN1MeqEC5MtbO+JH fbdPJYxE/q41wwgtL1ixodrOOsQiCUyz78w7wA1H03JpQNaXYX3DYolryUsKYK4dTAkNpQ bSZqad4eahNm3BG3YdPED9RLJo7CJC3AFthJJJvei29xo5y9MjuZM6Pyk9QBPa77ARnbft 17EZYZB22ulPoUffKw33VjYx0RWQDwk5EpeBZRu0L+wXDEZnSzm9LXeI7J9jQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=oUImryHm; dmarc=pass (policy=none) header.from=posteo.net; 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" 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 1C9643EB8 for ; Wed, 01 May 2024 12:21:10 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s274T-0005mD-1o; Wed, 01 May 2024 06:20:17 -0400 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 1s274Q-0005lf-5l for emacs-orgmode@gnu.org; Wed, 01 May 2024 06:20:14 -0400 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 1s274N-0003Kp-Sj for emacs-orgmode@gnu.org; Wed, 01 May 2024 06:20:13 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 77C7C240101 for ; Wed, 1 May 2024 12:20:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1714558809; bh=rrdmrVcFfnVywwTCGIjB9sYY1eNG2IM3VhSURTrlbJ4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=oUImryHmBY0UmqcActEWqoZgz3RJpZa6Yxu6hlNVvbaC3xFhfYzLfLe3hnkH1gf1x TB8OFRJneQr56w7vE2SfSy8D0IHPffjKbqrnCHYDUaFxUHlWIJxcDywA+dc5YdvipI R7Al/5iKBE/ArZO2doFiwSC5XG7+SCtnDg8wduS3zE/wu/Cfmiksake6tJzvXYZRun P5J30C7IceMxnCaUM08NRLkOIRwgKgGHNoy1BFnH0klnr4WKJV1DKgwuEKAU0U3lhn CXh64m0e3a+duTwYJFkjf6f4CHIAO4ARZWF2k7i/Zwjm6YpOQ5BH1rtl/JT+XjfeGs yqJBeatoIzi4g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VTtNm3QN7z9rxB; Wed, 1 May 2024 12:20:08 +0200 (CEST) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] org.el: Call EXT-enable for `org-modules' (was Re: [PATCH] org-ctags.el: Do not activate on load) In-Reply-To: References: <874jegqts6.fsf@localhost> <86y1bsowio.fsf@ice9.digital> <7b676235-5e0d-4b7e-b9bf-5eef0908577c@gmail.com> <875xxhds2k.fsf@localhost> <87a5ldk5rh.fsf@localhost> <87plu9ig0a.fsf@localhost> <87mspdifnm.fsf@localhost> <87a5lccnyt.fsf@localhost> <87a5lbyxqx.fsf@localhost> Date: Wed, 01 May 2024 10:21:17 +0000 Message-ID: <87y18teste.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_H4=0.001, RCVD_IN_MSPIKE_WL=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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.11 X-Spam-Score: -5.11 X-Migadu-Queue-Id: 1C9643EB8 X-Migadu-Scanner: mx11.migadu.com X-TUID: ZD6OiIo/qyOK Max Nikulin writes: >> Applied, onto main. > > I was expecting that you would be against it since it is a breaking change. > > See a follow-up to > Ihor Radchenko. Re: Autoloading side effects > (was: Re: [BUG] org-mouse is activated without explicit require) > Mon, 12 Dec 2022 10:25:16 +0000 > Not against. The side effects in org-ctags are _disruptive_. And Bastien agreed that we can go ahead with breaking change in this case. Later in the thread we deviated to discussing what exactly constitutes a harmful side effect and what is acceptable, but that's a more general discussion. org-ctags is clearly too aggressive. > However now I am in doubts why org-ctags is not a minor mode. What would be the benefit? > ** Miscellaneous > +*** ~feature-enable~ functions are called for extensions from ~org-modules~ > + > +Accordingly to Emacs [[info:elisp#Coding Conventions][coding conventions]] > +loading a library must not modify behavior > +since it may be done for the sake of help or command completion. > +To make user configuration more convenient, when an extension ~EXT~ listed > +in ~org-modules~ implements ~EXT-enable~ function, it is executed > +during loading of Org mode or in response to customization of ~org-modules~. > +So instead of ~(require 'EXT)~ in your init file add ~EXT~ to ~org-modules~. > +See also > +[[*~org-ctags~ is not activated by default any more][~org-ctags~ is not activated by default any more]]. I'd like to discuss this idea with enable-feature on emacs-devel first. Maybe we can adapt it more widely without special handling for org-modules. See https://yhetil.org/emacs-devel/87zft9esva.fsf@localhost/ [FR] Provide a way to activate packages automatically for side effect -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at