From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc-Oliver Ihm Subject: How to fontify text within a table with elisp ? Date: Sat, 03 Mar 2012 15:18:16 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3pn7-0004wE-4z for emacs-orgmode@gnu.org; Sat, 03 Mar 2012 09:18:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3pn4-00047L-IE for emacs-orgmode@gnu.org; Sat, 03 Mar 2012 09:18:32 -0500 Received: from plane.gmane.org ([80.91.229.3]:54237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3pn4-000475-BS for emacs-orgmode@gnu.org; Sat, 03 Mar 2012 09:18:30 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S3pmz-0001GV-VA for emacs-orgmode@gnu.org; Sat, 03 Mar 2012 15:18:25 +0100 Received: from p54a89965.dip0.t-ipconnect.de ([84.168.153.101]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Mar 2012 15:18:25 +0100 Received: from marc-oliver.ihm by p54a89965.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Mar 2012 15:18:25 +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 Hello, I would like to insert some fontified text into an org-buffer; this works, as long as I am not within a table. If you run this example within an org-mode buffer: (insert (org-add-props "\n\nOutside table\n\n|Inside table|\n" '(font-lock-face highlight))) the first line ("Outside table") is fontified correctly, whereas the second line ("Inside table"), which is a simple table, is not. Probably this is due to the fact, that org has its own opinion, on how the table should be fontified. Is there any way to circumvent this behaviour ? with kind regards, Marc-Oliver Ihm