From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Moving checkbox item to end of list when checked
Date: Wed, 22 Jan 2014 16:23:55 +0100 [thread overview]
Message-ID: <87bnz49h10.fsf@gmail.com> (raw)
In-Reply-To: 877g9svza6.fsf@gmail.com
Nicolas Goaziou <n.goaziou@gmail.com> writes:
Hello,
> Thorsten Jolitz <tjolitz@gmail.com> writes:
>
>> Your function could be implemented along the line of:
>>
>> 1. put an 'after' advice on `org-toggle-checkbox'
>
> See also `org-checkbox-statistics-hook'
>
>> Its easy to get 'struct at point' with
>>
>> #+begin_src emacs-lisp
>> (defun org-list-struct ()
>> "Return structure of list at point.
>> ...)
>> #+end_src
>>
>> but I could not find an equivalent function to get the item at
>> point.
>
> See `org-in-item-p'.
Ok, thanks for the tips
PS
My original message apparently took 3 hours to make it to the mailing
list, so it came a bit late to the party...
--
cheers,
Thorsten
next prev parent reply other threads:[~2014-01-22 15:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-22 11:27 Moving checkbox item to end of list when checked Cecil Westerhof
2014-01-22 12:16 ` Thorsten Jolitz
2014-01-22 14:58 ` Nicolas Goaziou
2014-01-22 15:23 ` Thorsten Jolitz [this message]
2014-01-22 13:36 ` Bastien
2014-01-22 14:06 ` Nicolas Goaziou
2014-01-22 14:12 ` Cecil Westerhof
2014-01-22 14:26 ` Cecil Westerhof
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bnz49h10.fsf@gmail.com \
--to=tjolitz@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.