From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Re: Q : select current org item as region Date: Thu, 09 Sep 2010 15:29:21 +0200 Message-ID: <87tylzcafi.wl%n.goaziou@gmail.com> References: <87lj7bw0a6.fsf@dasa3.iem.pw.edu.pl> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from [140.186.70.92] (port=56192 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OthC8-0007Dz-OP for emacs-orgmode@gnu.org; Thu, 09 Sep 2010 09:29:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OthC7-0005sM-9v for emacs-orgmode@gnu.org; Thu, 09 Sep 2010 09:29:40 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:52184) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OthC7-0005sC-5U for emacs-orgmode@gnu.org; Thu, 09 Sep 2010 09:29:39 -0400 Received: by ewy28 with SMTP id 28so994434ewy.0 for ; Thu, 09 Sep 2010 06:29:38 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Richard Riley Cc: emacs-orgmode@gnu.org 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. Regards, -- Nicolas