Re: [FR] 'org-columns-next-allowed-value' for 'summary-checkbox'es functions should have 'intermediate state' '[-]'

2024-06-18 Thread Ihor Radchenko
Ihor Radchenko writes: > Sławomir Grochowski writes: > >> Thank you for asking. >> Yes, I would be interested. >> I will prepare a patch. > > May I know if you had a chance to work on this? Closed. The discussion continued in another thread:

Re: [FR] 'org-columns-next-allowed-value' for 'summary-checkbox'es functions should have 'intermediate state' '[-]'

2024-04-06 Thread Ihor Radchenko
Sławomir Grochowski writes: >> I improved the patch a bit, with minor changes to the commit message and >> adding more to the docstring and type spec of the defcustom. I also >> changed the custom group (:group 'checkbox does not exist). > > Great. Thank you. It looks much better. > > But I

Re: [FR] 'org-columns-next-allowed-value' for 'summary-checkbox'es functions should have 'intermediate state' '[-]'

2024-04-06 Thread Sławomir Grochowski
Ihor Radchenko writes: > Thanks! > I improved the patch a bit, with minor changes to the commit message and > adding more to the docstring and type spec of the defcustom. I also > changed the custom group (:group 'checkbox does not exist). Great. Thank you. It looks much better. But I think

Re: [FR] 'org-columns-next-allowed-value' for 'summary-checkbox'es functions should have 'intermediate state' '[-]'

2024-04-05 Thread Ihor Radchenko
Sławomir Grochowski writes: >> Do not forget to add :package-version. > > Thank you for bringing it to my attention. > > Patch in attachment. Thanks! I improved the patch a bit, with minor changes to the commit message and adding more to the docstring and type spec of the defcustom. I also

Re: [FR] 'org-columns-next-allowed-value' for 'summary-checkbox'es functions should have 'intermediate state' '[-]'

2024-04-04 Thread Sławomir Grochowski
Ihor Radchenko writes: > Do not forget to add :package-version. Thank you for bringing it to my attention. Patch in attachment. >From eb71166693065534be9effdc28aea54bb24e64d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C5=82awomir=20Grochowski?= Date: Sat, 16 Mar 2024 13:29:53 +0100 Subject:

Re: [FR] 'org-columns-next-allowed-value' for 'summary-checkbox'es functions should have 'intermediate state' '[-]'

2024-04-04 Thread Ihor Radchenko
Sławomir Grochowski writes: > After thinking about I have found a better name: > ... > What do you think? Looks reasonable. > (defcustom org-columns-checkbox-allowed-values '("[ ]" "[X]") > "Allowed values for column with SUMMARY-TYPE that use checkbox." > :group 'checkbox > :type

Re: [FR] 'org-columns-next-allowed-value' for 'summary-checkbox'es functions should have 'intermediate state' '[-]'

2024-04-03 Thread Sławomir Grochowski
Ihor Radchenko writes: > It is not very clear when this feature is useful. May you provide a > small example as a part of the news entry and also > `org-columns-checkbox-states' docstring? Yes. You are right. Thank you. After thinking about I have found a better name: (defcustom

Re: [FR] 'org-columns-next-allowed-value' for 'summary-checkbox'es functions should have 'intermediate state' '[-]'

2024-04-02 Thread Ihor Radchenko
Sławomir Grochowski writes: > After careful consideration, I believe it is most prudent to only > introduce a defcustom variable. This will allow for modification while > simultaneously preserving the current behavior. > ... > What do you think? > Patch in attachment. This patch will be an

Re: [FR] 'org-columns-next-allowed-value' for 'summary-checkbox'es functions should have 'intermediate state' '[-]'

2024-04-02 Thread Sławomir Grochowski
After careful consideration, I believe it is most prudent to only introduce a defcustom variable. This will allow for modification while simultaneously preserving the current behavior. Currently we can change the value of "org-columns-checkbox" with the following keybindings: (1)C-c C-c

Re: [FR] 'org-columns-next-allowed-value' for 'summary-checkbox'es functions should have 'intermediate state' '[-]'

2024-03-20 Thread Ihor Radchenko
Sławomir Grochowski writes: >> Except that we should not allow removing checkboxes and instead >> force empty checkbox with single prefix argument. > > And why do you want to avoid this? > When using 'org-column' I sometimes remove an empty checkbox. > So I see use in it, and most

Re: [FR] 'org-columns-next-allowed-value' for 'summary-checkbox'es functions should have 'intermediate state' '[-]'

2024-03-20 Thread Sławomir Grochowski
Ihor Radchenko writes: > I think that we can do the following: > > (1) modify org-columns-next-allowed-value (S-/) to use the > three states. > > (2) modify org-columns-toggle-or-columns-quit and org-columns--toggle to > follow what C-c C-c does: > > (5.6 Checkboxes section of the

Re: [FR] 'org-columns-next-allowed-value' for 'summary-checkbox'es functions should have 'intermediate state' '[-]'

2024-03-16 Thread Ihor Radchenko
Sławomir Grochowski writes: > Thank you for asking. > Yes, I would be interested. > I will prepare a patch. May I know if you had a chance to work on this? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at

Re: [FR] 'org-columns-next-allowed-value' for 'summary-checkbox'es functions should have 'intermediate state' '[-]'

2024-01-23 Thread Sławomir Grochowski
Thank you for asking. Yes, I would be interested. I will prepare a patch. Regards, Sławomir Grochowski On Tue, Jan 16, 2024 at 4:47 PM Ihor Radchenko wrote: > Ihor Radchenko writes: > > >> What do you think? > > > > I think that your use-case is not necessarily common enough to change > > the

Re: [FR] 'org-columns-next-allowed-value' for 'summary-checkbox'es functions should have 'intermediate state' '[-]'

2024-01-16 Thread Ihor Radchenko
Ihor Radchenko writes: >> What do you think? > > I think that your use-case is not necessarily common enough to change > the defaults. But we can introduce a defcustom here. Patches welcome! Sławomir, would you be interested to submit a patch here? -- Ihor Radchenko // yantar92, Org mode

Re: [FR] 'org-columns-next-allowed-value' for 'summary-checkbox'es functions should have 'intermediate state' '[-]'

2023-11-05 Thread Ihor Radchenko
Sławomir Grochowski writes: > But why is it allowed in '(org-toggle-checkbox TOGGLE-PRESENCE)'. > To set a normal checkbox to 'partial state'? > Description from function: 'With a double prefix argument, set the checkbox > to "[-]".' > > Probably it should not be allowed for normal checkbox

Re: [FR] 'org-columns-next-allowed-value' for 'summary-checkbox'es functions should have 'intermediate state' '[-]'

2023-11-05 Thread Sławomir Grochowski
Yes. You are right. After thinking about it I think the same. But why is it allowed in '(org-toggle-checkbox TOGGLE-PRESENCE)'. To set a normal checkbox to 'partial state'? Description from function: 'With a double prefix argument, set the checkbox to "[-]".' Probably it should not be allowed

Re: [FR] 'org-columns-next-allowed-value' for 'summary-checkbox'es functions should have 'intermediate state' '[-]'

2023-11-05 Thread Ihor Radchenko
Sławomir Grochowski writes: > I was wondering how many states a checkbox has. > Based on https://orgmode.org/manual/Checkboxes.html I conclude that there > are 3 states: > 1. [ ] - not done > 2. [ - ] - an intermediate state > 3. [X] - done > > So I think all 3 states should be available to

Re: [FR] 'org-columns-next-allowed-value' for 'summary-checkbox'es functions should have 'intermediate state' '[-]'

2023-11-01 Thread Sławomir Grochowski
I have found good explanation of 'tristate checkbox': https://dequeuniversity.com/library/aria/checkbox-tri#:~:text=A%20tri%2Dstate%20checkbox%20can,parent%20checkbox%20is%20partially%20checked . "A tristate checkbox can be checked, not checked, or partially checked. The condition of being

[FR] 'org-columns-next-allowed-value' for 'summary-checkbox'es functions should have 'intermediate state' '[-]'

2023-11-01 Thread Sławomir Grochowski
Dear All, I was wondering how many states a checkbox has. Based on https://orgmode.org/manual/Checkboxes.html I conclude that there are 3 states: 1. [ ] - not done 2. [ - ] - an intermediate state 3. [X] - done So I think all 3 states should be available to choose from in the function