From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joon Ro Subject: Make org-agenda-switch-to to show all parent headings Date: Sun, 13 Oct 2019 20:24:45 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_DM6PR15MB2314D324F29ED4B6CA83EA22EB910DM6PR15MB2314namp_" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:39830) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJkQ9-0002JO-Tt for emacs-orgmode@gnu.org; Sun, 13 Oct 2019 16:24:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJkQ7-0003h3-F0 for emacs-orgmode@gnu.org; Sun, 13 Oct 2019 16:24:52 -0400 Received: from mail-oln040092001072.outbound.protection.outlook.com ([40.92.1.72]:6106 helo=NAM01-BY2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iJkQ4-0003cC-De for emacs-orgmode@gnu.org; Sun, 13 Oct 2019 16:24:51 -0400 Content-Language: en-US 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" To: "emacs-orgmode@gnu.org" --_000_DM6PR15MB2314D324F29ED4B6CA83EA22EB910DM6PR15MB2314namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, When I right click on an agenda item to invoke org-agenda-switch-to, it sho= ws only the specific heading for the item and its top-level heading, and in= -between headings are not shown. Is there a way to change this behavior so = it shows all parent headings of the item? Currently I often am confused whi= ch parent the right-clicked item belongs to. Please see below for a minimal= example: Current behavior: * Top Heading *** TODO Heading for the right-clicked item in the agenda Desired behavior: * Top Heading ** Second heading *** TODO Heading for the right-clicked item in the agenda Best Regards, Joon --_000_DM6PR15MB2314D324F29ED4B6CA83EA22EB910DM6PR15MB2314namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

When I right click on an agenda item to invoke org-a= genda-switch-to, it shows only the specific heading for the item and its to= p-level heading, and in-between headings are not shown. Is there a way to c= hange this behavior so it shows all parent headings of the item? Currently I often am confused which parent th= e right-clicked item belongs to. Please see below for a minimal example:

 

 

Current behavior:

 

* Top Heading<= /p>

*** TODO Heading for the = right-clicked item in the agenda

 

 

Desired behavior:

 

* Top Heading<= /p>

** Second heading

*** TODO Heading for the = right-clicked item in the agenda

 

Best Regards,

Joon

 

--_000_DM6PR15MB2314D324F29ED4B6CA83EA22EB910DM6PR15MB2314namp_-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Miele Subject: Re: Make org-agenda-switch-to to show all parent headings Date: Sun, 13 Oct 2019 21:46:59 +0000 Message-ID: <87imosfhd8.fsf@gmail.com> References: Reply-To: sebastian.miele@gmail.com Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48090) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJlhi-0002Mf-Pk for emacs-orgmode@gnu.org; Sun, 13 Oct 2019 17:47:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJlhg-0002mA-DQ for emacs-orgmode@gnu.org; Sun, 13 Oct 2019 17:47:06 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:38420) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iJlhg-0002fh-5F for emacs-orgmode@gnu.org; Sun, 13 Oct 2019 17:47:04 -0400 Received: by mail-wm1-x32b.google.com with SMTP id 3so14824057wmi.3 for ; Sun, 13 Oct 2019 14:47:03 -0700 (PDT) Received: from tisch ([2a02:908:175c:4260:5ffc:7882:6024:ca5b]) by smtp.gmail.com with ESMTPSA id r2sm25900495wrm.3.2019.10.13.14.47.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Oct 2019 14:47:00 -0700 (PDT) In-reply-to: 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" To: emacs-orgmode@gnu.org Joon Ro writes: > When I right click on an agenda item to invoke org-agenda-switch-to, > it shows only the specific heading for the item and its top-level > heading, and in-between headings are not shown. Is there a way to > change this behavior so it shows all parent headings of the item? > Currently I often am confused which parent the right-clicked item > belongs to. Please see below for a minimal example: > > Current behavior: > > * Top Heading > *** TODO Heading for the right-clicked item in the agenda > > Desired behavior: > > * Top Heading > ** Second heading > *** TODO Heading for the right-clicked item in the agenda The variable `org-show-context-detail' probably is what you are looking for. Best wishes Sebastian