From mboxrd@z Thu Jan 1 00:00:00 1970 From: Willem Rein Oudshoorn Subject: Table formula and text properties Date: Wed, 07 Jan 2015 18:11:25 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8upr-0006OT-Oh for emacs-orgmode@gnu.org; Wed, 07 Jan 2015 12:56:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y8upm-0001hY-MM for emacs-orgmode@gnu.org; Wed, 07 Jan 2015 12:55:59 -0500 Received: from plane.gmane.org ([80.91.229.3]:50983) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8upm-0001hI-Fg for emacs-orgmode@gnu.org; Wed, 07 Jan 2015 12:55:54 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y8uow-0008Ji-L4 for emacs-orgmode@gnu.org; Wed, 07 Jan 2015 18:55:02 +0100 Received: from ironhead.xs4all.nl ([80.101.115.122]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Jan 2015 18:55:02 +0100 Received: from woudshoo by ironhead.xs4all.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Jan 2015 18:55:02 +0100 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 I am trying to insert an image into a table by using a table formula. My basic approach is by using a string with a display property like: (propertize "TEXT" 'display (list image)) Or to be more precise (propertize "SPARKLINE" 'display (list (sparkline-make-sparkline 100 10 '(1 20 12 13 141 13 24 90)))) In which the `sparkline-make-sparkline' function returns an image. Inserting the resulting string with `insert' into a buffer will ensure the image is displayed. However org mode table formula code seems to strip the display property from the string returned by the formula. So this trick will not work. Is there a way to insert a calculated image into an org table? Kind regards, Wim Oudshoorn.