[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 16:48:22 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Bastien <address@hidden> writes:
Hi Bastien,
> Thorsten Jolitz <address@hidden> writes:
>
>> How is this function supposed to be called from another program? Why
>> does it have (interactive "P") if the prefix arg is never used? Or do I
>> simply miss something important here?
>
> I think you miss the fact that it displays a path only if the headline
> is not a top-level headline.
Not really, on the same 2nd level headline calling it with M-x and M-:
give different messages, and only in the first case a useful one.
With point at start of ** 2nd level
#+begin_src org
* 1st level
Hello
** 2nd level
Work
#+end_src
,-----------------------------------------------------
| Eval: (org-display-outline-path)
| Eval: (call-interactively 'org-display-outline-path)
`-----------------------------------------------------
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.
--
cheers,
Thorsten
- [O] M-: (org-display-outline-path) doesn't work correctly, Thorsten Jolitz, 2014/03/12
- Re: [O] M-: (org-display-outline-path) doesn't work correctly, Bastien, 2014/03/12
- Re: [O] M-: (org-display-outline-path) doesn't work correctly,
Thorsten Jolitz <=
- Re: [O] M-: (org-display-outline-path) doesn't work correctly, Bastien, 2014/03/12
- Re: [O] M-: (org-display-outline-path) doesn't work correctly, Thorsten Jolitz, 2014/03/12
- Re: [O] M-: (org-display-outline-path) doesn't work correctly, Bastien, 2014/03/12
- Re: [O] M-: (org-display-outline-path) doesn't work correctly, Thorsten Jolitz, 2014/03/12
- Re: [O] M-: (org-display-outline-path) doesn't work correctly, Nicolas Richard, 2014/03/13
- Re: [O] M-: (org-display-outline-path) doesn't work correctly, Thorsten Jolitz, 2014/03/13
- Re: [O] M-: (org-display-outline-path) doesn't work correctly, Nicolas Richard, 2014/03/13
- Re: [O] M-: (org-display-outline-path) doesn't work correctly, Thorsten Jolitz, 2014/03/14