From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id EKMPAetnbmfQTwAAqHPOHw:P1 (envelope-from ) for ; Fri, 27 Dec 2024 08:40:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id EKMPAetnbmfQTwAAqHPOHw (envelope-from ) for ; Fri, 27 Dec 2024 09:40:11 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Jd09kRca; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735288810; 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=MN7r//APeDlwZ+ae727SF4XZXo7pi+1V+gAy0WDa8XI=; b=cegsVNvgcBOgGCrJ2OP3DtwViM/X/gdQ/fU8+iZ6YDamYlzOZboXd6qKXvAbbzHllu6qs6 unSDI5P40OBF3Pf3Mm1MqrEeHcfWTUkpIIFFzLFLocBEYY3fmsXyhXCmcJm76xG4zYaquz wNGAfJ/9ymKFdumgQoWuT5VVAqr4fDB9jHZeFbiKW1g/+9sfMirlQkXz8UUl+XTa8iHL/F dBbgvbHi3uZ1rx6J2cgWHAV7Dm3Gneu+I3jT6Dsc2Olh7lzrXuQh6dqWARr8SWALSt8e1w 9WLa4LtNCJcAVUDiwszNOP3bTHHuZknNEz4qjMiiIKajgG1NSVqU9qvwAJNogQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Jd09kRca; 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=1735288810; a=rsa-sha256; cv=none; b=WfHQudied/N6OKU1PsIX649R+bS02olIJ6J9EfltDD/S8V6si/5MVsw1IkLZ8jt4oPR8wN /ZLxwDSOoDoPaVlS6OL53rXh04Y/0SrTpcq292aMhOo5aC+n3z8GNiUV841Hb6gu2+h1/Q kqEIS/MrxKL896LXVRivV6ADCOmZu4ZZUgKJUefvXq3Y1UjGoh6+cwLnmy04EAVH601dsy jine4TBfx8eQh+bxYNDEcwd+e4C+/2QRKNs8NcdDkY++JqWPLcVKPxlMoGkDEzhC2ZQk/M Oag928S1uL2vQt/42/yrrk2YKwtuMxfvll69IYx31niyVocmIEMKbFvqFVYvZQ== 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 E83802325E for ; Fri, 27 Dec 2024 09:40:09 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tR5sm-0004RC-JE; Fri, 27 Dec 2024 03:39:44 -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 1tR5sf-0004Qo-6d for emacs-orgmode@gnu.org; Fri, 27 Dec 2024 03:39:38 -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 1tR5sa-0005lB-5Z for emacs-orgmode@gnu.org; Fri, 27 Dec 2024 03:39:36 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id BE14E240101 for ; Fri, 27 Dec 2024 09:39:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1735288766; bh=7401cStxsEH1GU5tLWhmYE9MmQU6i4E37T1n7Me5Iyk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=Jd09kRca9AyoFLtsTij5qgAF0uAx0ZF5WVC9jMz9mBoV6sqUJM6MRDGyUVdbJTCie rXCaA52v8F1au2nrcG2FQEm7sZk7Vr82/ejBTQ07XTf+Tnfp2edWSPVz1/9MddYF1F WT6IN2BbjPb6JsK/++GsgCba3aH6ublAfufpnLQhbUAWN0iDCsJ7rHqO0qg28XKKeV nAXC9HKT1wiJeFWPurmKmXY+Tlat9r/rSLv0LCV1OFhEATRUEIhqWDwSKeg3ZelHt7 UTjzXJP4DtU9CovQGbL1HuyYVZ+y0Jyd9yynHAav+y+FfKCD3QVG1cbQJZPctP8XvR 0SKU6mKv3Ba1A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YKJnp1CXcz6ty3; Fri, 27 Dec 2024 09:39:26 +0100 (CET) From: Ihor Radchenko To: Visuwesh Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] Turn org-mouse features into minor-modes In-Reply-To: <878qs1cyl3.fsf@gmail.com> References: <87seqad1sl.fsf@gmail.com> <874j2p7crt.fsf@localhost> <878qs1cyl3.fsf@gmail.com> Date: Fri, 27 Dec 2024 08:40:55 +0000 Message-ID: <87zfkh5xig.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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=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-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -2.97 X-Spam-Score: -2.97 X-Migadu-Queue-Id: E83802325E X-TUID: 6BZlW+gv5XN3 Visuwesh writes: >> Although they should probably be globalized to keep things closer to the >> existing behavior. > > That would make it hard to toggle the feature on/off on a per-buffer > basis, which was my intention behind using a minor mode. I don't have > strong opinions here so if you think otherwise, I will use a global > minor mode instead. If we go the global route, shall I make it so that > activating it would enable mouse support for both org-mode and > org-agenda-mode? I did not say global. I said globalized. Globalized minor mode will provide 2 commands - one for normal minor mode (foo-mode) and one for global version (global-foo-mode). See `define-globalized-minor-mode'. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at , or support my work at