emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Turn org-mouse features into minor-modes


From: Visuwesh
Subject: Re: [PATCH] Turn org-mouse features into minor-modes
Date: Fri, 27 Dec 2024 14:05:52 +0530
User-agent: Gnus/5.13 (Gnus v5.13)

[வெள்ளி டிசம்பர் 27, 2024] Ihor Radchenko wrote:

> Visuwesh <visuweshm@gmail.com> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]