From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: How to change a link? Date: Thu, 16 Oct 2014 01:06:28 +0200 Message-ID: <87vbnlx79n.fsf@gmail.com> References: <87a94yjia9.fsf@wmi.amu.edu.pl> <87zjcxzttn.fsf@gmail.com> <878ukhk6f1.fsf@wmi.amu.edu.pl> <87iojlzm4k.fsf@gmail.com> <877g01joiw.fsf@wmi.amu.edu.pl> <874mv5ynks.fsf@gmail.com> <87r3y9hseb.fsf@wmi.amu.edu.pl> <87zjcxx7yw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51570) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeXeY-00058c-FK for emacs-orgmode@gnu.org; Wed, 15 Oct 2014 19:06:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XeXeT-0002Ti-6s for emacs-orgmode@gnu.org; Wed, 15 Oct 2014 19:06:46 -0400 Received: from plane.gmane.org ([80.91.229.3]:52428) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeXeT-0002TO-0A for emacs-orgmode@gnu.org; Wed, 15 Oct 2014 19:06:41 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XeXeR-0005Hp-5l for emacs-orgmode@gnu.org; Thu, 16 Oct 2014 01:06:39 +0200 Received: from e178189238.adsl.alicedsl.de ([85.178.189.238]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Oct 2014 01:06:39 +0200 Received: from tjolitz by e178189238.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Oct 2014 01:06:39 +0200 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Thorsten Jolitz writes: > Marcin Borkowski writes: > >> On 2014-10-16, at 00:28, Thorsten Jolitz wrote: >> >>> Marcin Borkowski writes: >>> >>>> I see. What is the most interesting for me is the idea of >>>> getting/setting properties, that's what I was looking for. >>> >>> Thats exactly what org-dp (https://github.com/tj64/org-dp) is about: >>> getting and setting element properties instead of working on the textual >>> representation in the buffer. >> >> OK, I'm (almost) convinced now. PS org-dp is for local programming - if you parse the buffer anyway in your programm then working with the parse-tree is the 'default', of course. There is a mapping function, 'org-dp-map', but its very lightweight - it gathers no context information at all, just moves point to all regexp matches in buffer and applies a (local org-dp) function at that points. -- cheers, Thorsten