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