[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Refiling list items
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Refiling list items |
Date: |
Mon, 08 Aug 2011 19:05:16 +0200 |
Hello,
Florian Beck <address@hidden> writes:
> (defun org-get-item (&optional kill)
> "Copy the item at point to the kill ring.
> Optionally, kill it."
> (save-excursion
> (let ((beg (org-in-item-p)))
> (org-end-of-item)
> (funcall (if kill
> 'kill-region
> 'copy-region-as-kill)
> beg (point)))))
The latest Org introduced the function `org-list-send-item', which may
be useful here. I'd also suggest to repair list and, eventually, update
check-boxes when killing it.
Regards,
--
Nicolas Goaziou
- Re: [O] Refiling list items, (continued)
- Re: [O] Refiling list items, suvayu ali, 2011/08/08
- Re: [O] Refiling list items, Nick Dokos, 2011/08/08
- Re: [O] Refiling list items, Jeff Horn, 2011/08/08
- Re: [O] Refiling list items, Jeff Horn, 2011/08/08
- Re: [O] Refiling list items, Nicolas Goaziou, 2011/08/10
- Re: [O] Refiling list items, Jeff Horn, 2011/08/10
- Re: [O] Refiling list items, Bastien, 2011/08/17
- Re: [O] Refiling list items, Jeff Horn, 2011/08/22
- Re: [O] Refiling list items, Florian Beck, 2011/08/08
Re: [O] Refiling list items, Florian Beck, 2011/08/08
- Re: [O] Refiling list items,
Nicolas Goaziou <=