Heime <[email protected]> writes:
>
> (with-current-buffer (get-buffer-create "Pan DU")
> (org-mode)
> (erase-buffer)
>
> (insert (format "%s\n\n" "* Outline Configuration"))
>
> (insert (propertize "outline-regexp:\n\n" 'face 'pan-face))
> (pp outline-regexp (current-buffer))
>
> (insert (propertize (concat "\n" "outline-heading-alist:\n\n")
> 'face 'pan-face))
> (pp outline-heading-alist (current-buffer))
>
> (display-buffer (current-buffer))))
>
1. Try deleting ‘(org-mode)’ from your function definition,
then evaluating your function, and then executing your
command (M-x pandu). The text should be highlighted as you
expect in your new buffer. If this works for you, then type
M-x org-mode to turn on org-mode. Your highlighting should
disappear because Org mode has its rules for how text is
highlighted.
2. If this works as described above, then you might want to
send your question to the Org-mode mailing list. See:
https://orgmode.org/worg/org-mailing-list.html
--
The lyf so short, the craft so long to lerne.
- Geoffrey Chaucer, The Parliament of Birds.
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.