emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] M-: (org-display-outline-path) doesn't work correctly


From: Thorsten Jolitz
Subject: Re: [O] M-: (org-display-outline-path) doesn't work correctly
Date: Wed, 12 Mar 2014 17:53:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Bastien <address@hidden> writes:

> Thorsten Jolitz <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]