Bastien <b...@gnu.org> writes: > Thorsten Jolitz <tjol...@gmail.com> writes: > >> both print this in the message buffer >> >> ,-------------------------------------- >> | byte-code: End of buffer >> | #("1st level" 0 9 (face org-level-1)) >> `-------------------------------------- >> >> while using M-x shows the string "1st Level" as expected. > > There is no problem here. > > #("1st level" 0 9 (face org-level-1)) > > is just the internal representation of a fontified string.
I know, but... > Or am I missing something? can you write a function (not a command) that calls this function, and you see in the minibuffer what you expect? #+begin_src emacs-lisp (defun callOrgDisplay () (call-interactively 'org-display-outline-path)) #+end_src #+results: : callOrgDisplay #+begin_src org * 1st Level ** 2nd Level #+end_src ,--------------------- | M-: (callOrgDisplay) `--------------------- with point on the second level headline shows that internal string representation. Only if I make `callOrgDisplay' itself a command by adding (interactive) and call it with M-x, the string without properties is shown. -- cheers, Thorsten