Re: [Orgmode] Q : select current org item as region

2010-09-09 Thread Bastien
Nicolas Goaziou n.goaz...@gmail.com writes: (defun mark-current-item () (interactive) (when (org-in-item-p) (goto-char (org-get-item-beginning)) (push-mark nil t t) (goto-char (org-get-end-of-item (org-list-bottom-point) Interesting -- looks like a good candidate for

[Orgmode] Q : select current org item as region

2010-09-08 Thread Richard Riley
What would be the best elisp way to select the current org entry? I want a hot key to select the current item as current region (not into the clipboard). The problem I am having is that org-in-item-p is returning nil even though the point is in an org-item. Is the docstring where it mentions

Re: [Orgmode] Q : select current org item as region

2010-09-08 Thread Nicolas Goaziou
Hello, Richard Riley writes: What would be the best elisp way to select the current org entry? I want a hot key to select the current item as current region (not into the clipboard). The problem I am having is that org-in-item-p is returning nil even though the point is in an org-item. Is