|
From: | Bastien |
Subject: | Re: [Orgmode] Q : select current org item as region |
Date: | Thu, 09 Sep 2010 09:52:13 +0200 |
User-agent: | Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) |
Nicolas Goaziou <address@hidden> 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 worg/org-hacks.org Maybe with variants like - narrowing to the item - selecting it (depending on transient-mark-mode) - cloning it - killing it* ... just a thought. * Would people would find it to have C-k to kill a whole item if a certain option is set? I think I would. It's rare to have to kill a line in a list item without having to kill the whole item. -- Bastien
[Prev in Thread] | Current Thread | [Next in Thread] |