[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Q : select current org item as region
From: |
Richard Riley |
Subject: |
[Orgmode] Re: Q : select current org item as region |
Date: |
Thu, 09 Sep 2010 15:40:21 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes:
> Hello,
>>>>>> Richard Riley writes:
>
>> Just for google completeness
>
>> (goto-char (org-entry-beginning-position)) (set-mark
>> (org-entry-end-position))
>
>> seemed the most efficient after digging about a bit.
>
> As a side note,
>
> (goto-char (org-entry-beginning-position))
>
> is in fact a convoluted way (if you don't need point value) of calling
>
> (outline-back-to-heading t)
>
> so I doubt this is the "most efficient" in this case.
>
Good spot - but I will probably stick to the org- functions in general
in case they are ever expanded for whatever reasons.
The speed overhead in an interactive environment is pretty much zero ;)