From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-element Date: Fri, 24 May 2013 14:13:19 +0200 Message-ID: <871u8w8tk0.fsf@gmail.com> References: <87ppwh466a.fsf@tanger.home> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ufqs6-00010L-7Y for emacs-orgmode@gnu.org; Fri, 24 May 2013 08:13:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ufqs1-0003eX-KO for emacs-orgmode@gnu.org; Fri, 24 May 2013 08:13:22 -0400 Received: from mail-we0-x22f.google.com ([2a00:1450:400c:c03::22f]:54268) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ufqs1-0003eG-EM for emacs-orgmode@gnu.org; Fri, 24 May 2013 08:13:17 -0400 Received: by mail-we0-f175.google.com with SMTP id p60so2748214wes.34 for ; Fri, 24 May 2013 05:13:16 -0700 (PDT) In-Reply-To: <87ppwh466a.fsf@tanger.home> (daimrod@gmail.com's message of "Fri, 24 May 2013 01:39:41 +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: Daimrod Cc: emacs-orgmode@gnu.org Hello, Daimrod writes: > I'm playing a bit with org-element for org-contacts and I wanted to know > what is the prefered way to change an element. > > For example, ATM, when I want to change an element property to add a new > value, I do: > > #+BEGIN_SRC emacs-lisp > (org-entry-put nil property > (concat (org-entry-get nil property) > " " new-value)) > #+END_SRC See `org-element-put-property' and friends. Regards, -- Nicolas Goaziou