2014/1/22 Cecil Westerhof <cldwester...@gmail.com>

> >> but I would like to get:
>
>> >> * Actions
>> >>   - [ ] B
>> >>   - [ ] C
>> >>   - [X] A
>> >>
>> >> Is this possible?
>> >
>> > `C-c ^ x' to sort the list by checkbox status.
>> >
>> > But this is an additional step after ticking the checkbox.
>> >
>> >> If not I could write an alias for it I think. Is there a command for
>> >> going to the end of the list?
>> >
>> > Not a command, but an internal function you can explore:
>> > `org-list-get-list-end'.
>>
>> I think that the higher-level function `org-list-send-item' would be
>> useful too:
>>
>>   (org-list-send-item (line-beginning-position) 'end (org-list-struct))
>>
>
> In a simple case this does exactly what I want. I have to check what
> happens if it is several layers deep, but it looks certainly very
> promising. Thanks.
>
>
It looks that it goes well also when the list is deeper.

I need to do the following things:
- check that I am on an element of a list
- check that it is a checkbox
- check that it is not checked

I
f I see it correctly this can all be done with (org-list-struct). I'll
work it out.

-- 
Cecil Westerhof

Reply via email to