From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Gauland Subject: Getting text at position? Date: Mon, 10 Jun 2019 14:42:23 +1200 Message-ID: <80214e4f-d9e5-1daa-8c91-116c19bfff59@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:32918) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1haAFD-0004BN-Gb for emacs-orgmode@gnu.org; Sun, 09 Jun 2019 22:41:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1haAF9-0003HL-EE for emacs-orgmode@gnu.org; Sun, 09 Jun 2019 22:41:09 -0400 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]:36410) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1haAF4-0003DR-6o for emacs-orgmode@gnu.org; Sun, 09 Jun 2019 22:41:04 -0400 Received: by mail-pf1-x436.google.com with SMTP id u22so4371419pfm.3 for ; Sun, 09 Jun 2019 19:40:59 -0700 (PDT) Received: from [192.168.15.90] (222-154-241-113.adsl.xtra.co.nz. [222.154.241.113]) by smtp.gmail.com with ESMTPSA id a12sm23464933pje.3.2019.06.09.19.40.56 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Jun 2019 19:40:57 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org I'd like to be able to be able to get the text associated with a given heading (based on the current point, for example). Can anyone point me to an example for doing this in the approved manner (assuming there is one), or to functions to help with this? Kind regards, Mike