Re: Printing outline variables in a dedicated buffer
Heime <[email protected]>
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <sERM8rHBklQ1sD52xtErRoHc9_m2LvgCJjfbKczjp6pbw6mKk0TIX-QxPsdvlwC87xSfUwf_hLO8CN68TY3O87-Xg09_UEmEN7bv6vn7F3c=@protonmail.com> |
On Monday, March 16th, 2026 at 5:21 AM, [email protected] <[email protected]> wrote: > 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. It works as you describe. > 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. >