[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Turn org-mouse features into minor-modes
From: |
Ihor Radchenko |
Subject: |
Re: [PATCH] Turn org-mouse features into minor-modes |
Date: |
Fri, 27 Dec 2024 08:40:55 +0000 |
Visuwesh <visuweshm@gmail.com> 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 <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>