From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: is it possible to customise what headline level which-function displays? Date: Thu, 17 Apr 2014 17:44:09 +0200 Message-ID: <87y4z455bq.fsf@bzg.ath.cx> References: <87sipoq1nc.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaoU5-0005kt-UA for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 11:44:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WaoU0-0003I6-Fp for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 11:44:17 -0400 Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]:39989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaoU0-0003He-88 for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 11:44:12 -0400 Received: by mail-wi0-f177.google.com with SMTP id cc10so1019505wib.10 for ; Thu, 17 Apr 2014 08:44:11 -0700 (PDT) In-Reply-To: <87sipoq1nc.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Mon, 7 Apr 2014 22:18:31 +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: Eric S Fraga Cc: emacs-orgmode@gnu.org Hi Eric, Eric S Fraga writes: > I have not been able to figure out how which-function picks up the > information it displays. Is there any way to customise org to > display different information? `which-function' uses `imenu--index-alist' so you can change the value of `org-imenu-depth' from 2 to 3 to get what you want (not tested.) HTH, -- Bastien