From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 wPatE78Bl2P0mwAAbAwnHQ (envelope-from ) for ; Mon, 12 Dec 2022 11:26:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CFecE78Bl2MQbwEA9RJhRA (envelope-from ) for ; Mon, 12 Dec 2022 11:26:07 +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 CA7B18CCF for ; Mon, 12 Dec 2022 11:26:06 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4fzz-0001uU-MZ; Mon, 12 Dec 2022 05:25:27 -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 1p4fzw-0001u8-W7 for emacs-orgmode@gnu.org; Mon, 12 Dec 2022 05:25:25 -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 1p4fzu-0000cH-PE for emacs-orgmode@gnu.org; Mon, 12 Dec 2022 05:25:24 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C9809240103 for ; Mon, 12 Dec 2022 11:25:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1670840719; bh=eRXeXc/Yfi3qNPcl9VROfdF8D0/+9d/lXrR7TqvgMeU=; h=From:To:Cc:Subject:Date:From; b=W2fzqTKsvO/PlFYB6bm3qRhQcz+l5hdpCjoCRGTExJmV8zTuYq9DbeZv5aznhBl/F ZMed28OzKow46iBVuWpKyzp+bwIUO7wzxPZEA/hFDiS/Q7Vp2a136ks9+A6iYYWyyC 3qim/VtyMqMvNk+XI6mHDcNyjXumxxYeqRTzjwxSaqGrjvIKChmRpASWOybVb2ItZO 29XQHbeiKoRb1L6nESC/HV5E1MUres2KfWIzYuuxjTbcIsVl32befDbO5qCNIFYYEg RDhpFJ3Xhekjh09MLHG6eYEURwE5BS7o+t7QUUXOXre4hmXzgfA1xQmfDCLVOutGpL rItk7UrG9VyLA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NVySD5Nvsz6tm4; Mon, 12 Dec 2022 11:25:16 +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> Date: Mon, 12 Dec 2022 10:25:16 +0000 Message-ID: <871qp4j4vn.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: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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=1670840767; 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=obf/OsCnvp6XbjKEjkEEUxPaiAnckN2jLQ+pVWP6bSY=; b=ZkC/fxRmqTqkMACoKRWTrt1/3SMoUKh7f25HPNrL5cKVrd3oS9kpEJAmGQY5ErX6taJyQx EI6AcN1mz98VTCuZXjlgLoHYXgZt9Ecw2+sJRe1JefPQUoKolwEQsgIPQtsuaqKd227ux9 nx2Z4AhfqFTc9B/CcEuKHq83PMg4v9C792buG2I/ZUbiaAc9IgIEIPTHKQwo2A+Qmh5YLo 3WJlA9stY4nGdlgyZ9qv79lXw0oPE0OOULrFVl3VgoGIHVjnNAsDQuJIGl85Z93f5Cn9Gs FLHRpx1aWcTH53gL02W1KhPF3VX9/ELNWALmvTj10Ie57uCMpDzan1HATrgAFA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=W2fzqTKs; 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=1670840767; a=rsa-sha256; cv=none; b=CyW87OoE+3phBvizKkmKIyZpn3qmzW+wjoGM00zAAnZ9s+oVz2FT/KEi7Y6AamDjnNaIOQ udeyYPjTWLKvIVu9YegL/DrN5zEMwSR8anNrpsTvqP2kjv7cOUmGBa+zZ9CD8rXrx0tLVS +P+4+DHaKnjbZ2edqtF2vfhdtN2LVj7R292WiyyL+y2b9YMQoVleVHb6LnxZqbt4FUD5ZB GaYaHBh+KqmQRPByr0bWGVzrCR52KSzHoaMQbzQa+FbnAlK5cfQNOVqkD4uxyhZdzm8JUD A3VA4iyJ1VA7JdPwK/IPdQutFBv35sW0y3ONg/tkwwKnKhkJT6shGY5iKJQwlw== X-Migadu-Spam-Score: -7.65 X-Spam-Score: -7.65 X-Migadu-Queue-Id: CA7B18CCF X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=W2fzqTKs; 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: ijah9r/zFdTt Max Nikulin writes: > On 11/12/2022 16:45, Ihor Radchenko wrote: >> We cannot do much about Emacs' handling of autoloads, but what we can >> (and should) do is changing org-mouse to become a global minor mode. >> Then, loading org-mouse will cause no side effects. > > I am afraid, requirement that loading should not cause side effects is > too strict and it will make usage inconvenient. Examples: > - ol-info calls `org-link-set-parameters'. We have `org-modules' that can handle calling `org-link-set-parameters'. > - org-protocol installs an advice for `server-visit-files'. (It should > not be necessary, but currently Emacs does not provide a better option.) Can we ask Emacs devs to help us with this problem? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at