* [Bug] org-get-outline-path includes headline at point
@ 2016-02-29 19:52 Tobias Getzner
2016-03-01 0:06 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Tobias Getzner @ 2016-02-29 19:52 UTC (permalink / raw)
To: emacs-orgmode
When using the current git HEAD, I’ve noticed that my agenda has become
rather messy. This is because I’m including the outline-path in agenda
entries, and it seems that the changes following aa78158 (possibly
66fbceb?) have changed the org-get-outline-path semantics.
The documentation says that this function returns the path *to* the
current headline, i.e., it used to exclude the current headline itself.
So for a top-level headline, the path would be nil, etc. This doesn’t
seem to be the case anymore in HEAD, where running org-get-outline-path
on a top-level headline will now return the headline string.
Best regards,
Tobias
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bug] org-get-outline-path includes headline at point
2016-02-29 19:52 [Bug] org-get-outline-path includes headline at point Tobias Getzner
@ 2016-03-01 0:06 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2016-03-01 0:06 UTC (permalink / raw)
To: Tobias Getzner; +Cc: emacs-orgmode
Hello,
Tobias Getzner <tobias.getzner@gmx.de> writes:
> When using the current git HEAD, I’ve noticed that my agenda has become
> rather messy. This is because I’m including the outline-path in agenda
> entries, and it seems that the changes following aa78158 (possibly
> 66fbceb?) have changed the org-get-outline-path semantics.
>
> The documentation says that this function returns the path *to* the
> current headline, i.e., it used to exclude the current headline itself.
> So for a top-level headline, the path would be nil, etc. This doesn’t
> seem to be the case anymore in HEAD, where running org-get-outline-path
> on a top-level headline will now return the headline string.
Fixed. Thank you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-01 0:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-29 19:52 [Bug] org-get-outline-path includes headline at point Tobias Getzner
2016-03-01 0:06 ` Nicolas Goaziou
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).