From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Getzner Subject: [Bug] org-get-outline-path includes headline at point Date: Mon, 29 Feb 2016 20:52:28 +0100 Message-ID: <8760x78fb7.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48775) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaTrt-0007yt-Vp for emacs-orgmode@gnu.org; Mon, 29 Feb 2016 14:52:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaTrq-0001ig-Pb for emacs-orgmode@gnu.org; Mon, 29 Feb 2016 14:52:33 -0500 Received: from mout.gmx.net ([212.227.15.15]:53987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaTrq-0001iU-Fv for emacs-orgmode@gnu.org; Mon, 29 Feb 2016 14:52:30 -0500 Received: from localhost ([77.182.37.134]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0M1Ee8-1Zlp9Z1VHs-00tEDj for ; Mon, 29 Feb 2016 20:52:29 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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