From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 mGU1MSlnbmdOdwAAe85BDQ:P1 (envelope-from ) for ; Fri, 27 Dec 2024 08:37:05 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id mGU1MSlnbmdOdwAAe85BDQ (envelope-from ) for ; Fri, 27 Dec 2024 09:36:57 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=hkpJIPe8; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735288617; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Aj9DP0EE7UJOAakaTXB6BX2I86lSBuymLdl3/c0wwlY=; b=u++eT3Fkc2aPO9xpfuEylOcW2JqDBWBA1Vb6K9TUF6nH9qq4wsEzWauddeJilySGOSaTRo OBfMWdaQJ+oIJR2BvQYkA2q2+brx3Rqz2v0jVaOLWb6BorItvYyud7mwq/2gyhrln57BVz qds7HLq8G9NZoAVnAFDzIU65KINwp/fSgVybLjyCK9qhjlM/NImrwazqwnPr/6ai+0Fpkt br38HFxRRNlQo68Xex85PKi6jUY6rezI18KY3aSWnQMT1DsEY4Fjl+W02Sd1WUNIBvLKsI O5Xa14BoInF/oaXVKOeZ3dqNX5+XfIrkk+62meMcnWGupRWL594bvbMr8GOV2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=hkpJIPe8; 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=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735288617; a=rsa-sha256; cv=none; b=g9IG2nbiOUe3bvvsfWHaK5Pb+1wAXFHyQAMA+bpsReobRPfHRNM35SAz2gxjQvzrxmUYg0 G1FJ084NRhXmdyWgVWGEH7+r4t6TFKkIw/J0X1kTtBY5OAxIwCYFT3S9JhFW+ugL5n8JjZ M6VE24oZ74TegjJxAAK5FO5Lu1UtZ7v0uypgBFzrAfRwvZfqaJjZMr3aZOzW+1wHShdHBx j8XGn088iSjQnhzX1hJvO6XAPvSV+BBUoZcUg/xU4ZM31wQh4epaDiZrQtP/ESxoHmIyn7 BQcdOLWNmE2L0mhy1afo2bFPu871+TWcas42r6xtHl/NshLRWWxfD8fvGqXLMw== 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 E4FF12322F for ; Fri, 27 Dec 2024 09:36:55 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tR5pA-0003N6-A7; Fri, 27 Dec 2024 03:36:00 -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 1tR5p9-0003Mr-CE for emacs-orgmode@gnu.org; Fri, 27 Dec 2024 03:35:59 -0500 Received: from mail-pj1-x1041.google.com ([2607:f8b0:4864:20::1041]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tR5p7-0005d5-L8 for emacs-orgmode@gnu.org; Fri, 27 Dec 2024 03:35:58 -0500 Received: by mail-pj1-x1041.google.com with SMTP id 98e67ed59e1d1-2ee50ffcf14so8096814a91.0 for ; Fri, 27 Dec 2024 00:35:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735288556; x=1735893356; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Aj9DP0EE7UJOAakaTXB6BX2I86lSBuymLdl3/c0wwlY=; b=hkpJIPe82OGJK2OFXFD6GrdZPEBF6C2I4KzxcLnAsxJVLjyhf3Vq0LQUiHNr7E2nPt PJzLHaRCczbM2Mu/IV7JTcTYXItbLx39gMq8P8kQ5y+zQasP52Fe9M1VBOUC67gtaL0q RKbLrGU/kmS4YL4Is/cgSRmKp8aZeYHiCJfJ2SdF67jMqVzCAQRjcyEEF3tNy0Pf3Psz QW4nSREtLxZ2Do2MFBQ24PnUsAouUXNEOO6nTfM2dfN83tyWKbkfmdJckC33R3lTWXd9 QGIHcqc5Wjh/HmN8arqNPbLkgXWthmGRt4KqH32Ex2o5FmkphxVps47XHxA24NYEH56h P8JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735288556; x=1735893356; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Aj9DP0EE7UJOAakaTXB6BX2I86lSBuymLdl3/c0wwlY=; b=WrKqAroH2pwrIpiMc9J/sLlx2WBkU7aIHN9dOiXCoCfBNy0QAg5X+qWVSbeoebeOtD S4zOi2yQ3Pnrl2Po3xaUEq3X9MGcJEn5gpr1KAgvXCxyOdpL2KKMmQuyj1KXOYEz3XdD AuEsGfbIC/BNklAmeGYx0l7qZszYvnpL5Thgeb3rMTO6FVIKSUWYV137EWFozypizRyV t1SLzCkyNyvHgctIMliVUb/FI51J6oze4MEV/VefenwFDTavMYb68qtyWW3NXVx5bCq4 VZbYxjQqPVoStnvcfFt8lMGkyLhptz4MJp4bG03sY+vylzHGQZkWRKnTjidSDbw8FQWV SzTA== X-Gm-Message-State: AOJu0YyRhHlmk2gCzRbgjtZiMY/lFW8eH3/BuVWOB39SPT+4JgbjVILc kqOn4mdTH9bEysJM8kjYyMtqE7MhOD5CoB5Z+RNbRG6Ql3m4HfMs X-Gm-Gg: ASbGncsB6wmevqHX18/anre2DxYD+CoBjAafPl3OPsh7Lq0NzxBRLlyWRZixX76abxc flbv8XSQizoTwDWfnS8s02hnr2IkK+0ckzdJfaLnmO1X/IHRZcfHOZCvtWeSfxaafH4S8giiKm5 g6f5kvA/9+lhs0HMfrITdd7EQduF6SqeLe/UbGijDc/2rqBhqCiPmfXuYn692blwt3kBPcqN3Gn 8YD7Tgng5sH19mg1yiQZN77ikrJEMc1hwE8wQjDsW1H6UL8b2Kwjg== X-Google-Smtp-Source: AGHT+IHIN31pUMmjy4V1dRNGhp5XfKUfMqkDstJJuB/D9TrujYq56Tdl0ZasFPAAdM51FcnCWAG9DA== X-Received: by 2002:a17:90a:d646:b0:2ef:7be8:e987 with SMTP id 98e67ed59e1d1-2f4437bbc56mr44480168a91.12.1735288556181; Fri, 27 Dec 2024 00:35:56 -0800 (PST) Received: from localhost ([49.204.136.169]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2f2ed82d27esm17094374a91.31.2024.12.27.00.35.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Dec 2024 00:35:55 -0800 (PST) From: Visuwesh To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] Turn org-mouse features into minor-modes In-Reply-To: <874j2p7crt.fsf@localhost> (Ihor Radchenko's message of "Fri, 27 Dec 2024 08:25:58 +0000") References: <87seqad1sl.fsf@gmail.com> <874j2p7crt.fsf@localhost> Date: Fri, 27 Dec 2024 14:05:52 +0530 Message-ID: <878qs1cyl3.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::1041; envelope-from=visuweshm@gmail.com; helo=mail-pj1-x1041.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: -3.47 X-Spam-Score: -3.47 X-Migadu-Queue-Id: E4FF12322F X-TUID: QFh3zv1rVHm9 [=E0=AE=B5=E0=AF=86=E0=AE=B3=E0=AF=8D=E0=AE=B3=E0=AE=BF =E0=AE=9F=E0=AE=BF= =E0=AE=9A=E0=AE=AE=E0=AF=8D=E0=AE=AA=E0=AE=B0=E0=AF=8D 27, 2024] Ihor Radch= enko wrote: > Visuwesh writes: > >> [ Resending it as it seems like it never reached the mailing list. ] >> >> To make loading org-mouse less annoying for all, I was thinking of >> introducing minor-modes like in the attached patch. If this approach is >> acceptable, I will get to calling out the change in NEWS and updating >> the manual if required. We could also add a `add-hook' call to turn on >> the minor-mode automatically to preserve the old behaviour if required. >> WDYT? > > Thanks! > Adding minor modes is indeed a good idea. > 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? > We do not need to preserve the old behavior - side effects are to be > eradicated even if the cost is introducing a breaking change. Thanks, this will save some headache. > NEWS announcement is good enough. Noted.