[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 19:17:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Bastien <address@hidden> writes:
> Thorsten Jolitz <address@hidden> writes:
>
>> ,---------------------
>> | 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.
>
> ... yes, that's on purpose. In a program, the output of the
> non-interactive version will be a string: you can safely ignore
> text properties of this string if you want to further process it.
Ok, I see ... that seems to be a common pattern in Org-mode to make
functions behave differently if called (non-)interactively, that
sometimes causes confusion when using M-: instead of M-x.
--
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, 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, 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, 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