From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daimrod Subject: org-element Date: Fri, 24 May 2013 01:39:41 +0200 Message-ID: <87ppwh466a.fsf@tanger.home> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uff3l-0006FD-59 for emacs-orgmode@gnu.org; Thu, 23 May 2013 19:36:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uff3j-00024F-NH for emacs-orgmode@gnu.org; Thu, 23 May 2013 19:36:37 -0400 Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]:43083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uff3j-00023u-Hc for emacs-orgmode@gnu.org; Thu, 23 May 2013 19:36:35 -0400 Received: by mail-wg0-f42.google.com with SMTP id n12so152573wgh.5 for ; Thu, 23 May 2013 16:36:34 -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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, 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 Is it the correct way? IMHO it would be nicer if we could modify an object created by the new parser and write it back but I don't think it is possible (yet?). Regards, =2D-=20 Daimrod/Greg --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQIcBAEBAgAGBQJRnqi+AAoJEBNzVHcrZRiUcgoP/35HnHBxZOZazzTRyFQxJtLG gzV469/pUt+JNKKhFPYuOjyDf4qSJ2VrSzbeFqQg1vpuejz1wKw04vTea/yPSktz yLGC05WvG+FyxkZiagVFmMvLj/aT8dAcAJ6qH4j6sZNIxMn8vxpOEFkdhZIyrnnO m+EJyWfUuWkqp2aS9v64h45aG4nTY5grNAZ/OjvV71UKihN3JyD5xBsQb1PiDHWY XdQB6YbKR/Lfk3uVC0BjeHOTxa0u0qCJDNJ6GZGM89jpRKLuul5B0+A415DCDG2E wNhtURe1V3VjJUWsKviHn9vmO8wPrbFmBkh2ZCk2U9/W1DH/t6DLaScCq8WBw8rR lOcbBrDAO0T/RtRdxel+o4uOCKJbKbykmn3GeBJjU68327DoeDBULqpcmx5tzxgt +ISX5ZyRkaHTpd0n647hsrk3l6UNGqHUYPqz9kvEKph49ACX9a9/SdIx3eRaFMg9 PkuP2etB1cvqziufMhbZ9Ft39klgOfy52fvG/czg87C4DEUCAmhxhTjZsbwFLCgF yOeDNuA7iwYXecpVnivhFiivgs6Z6j21o9fCKcSi7rWnpdofvH2pzCuKV63LG0+7 VxBpb5B4nan4pt8Q8eseD589LuJbIr4T3cC3sinu90wBkdJoyK7VHCBh6i6MYpc+ jWgIlg/K8EE9P2fzvAA5 =tKUc -----END PGP SIGNATURE----- --=-=-=--