emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to fontify text within a table with elisp ?
@ 2012-03-03 14:18 Marc-Oliver Ihm
  0 siblings, 0 replies; only message in thread
From: Marc-Oliver Ihm @ 2012-03-03 14:18 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-03 14:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-03 14:18 How to fontify text within a table with elisp ? Marc-Oliver Ihm

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).