emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [PATCH] Improve org-mouse support for checkboxes


From: Jim Porter
Subject: Re: [PATCH] Improve org-mouse support for checkboxes
Date: Sat, 18 Sep 2021 15:47:24 -0700

On 9/18/2021 1:54 PM, Samuel Wales wrote:
thanks for this.  if tests are written, might be useful to include the
case where half-checked are parents.

I tested manually, and this behaves how I'd expect; not surprising, since it just calls `org-toggle-checkbox'. Maybe there's an argument that parent checkboxes shouldn't be clickable in the first place though. I don't think you can call `org-toggle-checkbox' on parent checkboxes (or if you can, I'm not sure what the trick is). My patch doesn't change that though, aside from having half-checked boxes be clickable in general.

I could look into writing some automated tests for this, but I don't see any existing ones for org-mouse, and I'm not familiar with simulating mouse events for Emacs tests.



reply via email to

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