From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: [Feature request] Could Org-mode set 'outline-promotion-headings'? Date: Sun, 31 Mar 2013 15:01:59 +0200 Message-ID: <87li93d8oo.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMHtr-0005cy-0A for emacs-orgmode@gnu.org; Sun, 31 Mar 2013 09:02:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UMHtm-00046g-Ah for emacs-orgmode@gnu.org; Sun, 31 Mar 2013 09:02:18 -0400 Received: from plane.gmane.org ([80.91.229.3]:56583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMHtm-00046U-3z for emacs-orgmode@gnu.org; Sun, 31 Mar 2013 09:02:14 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UMHu7-0006sS-Ie for emacs-orgmode@gnu.org; Sun, 31 Mar 2013 15:02:35 +0200 Received: from g231225047.adsl.alicedsl.de ([92.231.225.47]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 31 Mar 2013 15:02:35 +0200 Received: from tjolitz by g231225047.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 31 Mar 2013 15:02:35 +0200 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 Hi List, 'outline-promotion-headings' is a variable defined in Carsten Dominik's 'outline-magic.el' library (and is thus part of my 'outshine.el' which merges 'outline-magic'). When I wrote 'navi-mode.el' (see https://github.com/tj64/navi and http://orgmode.org/worg/org-tutorials/index.html) I tried to make it dependent mostly on this variable, so I guess I could make navi-mode work with Org-mode files too (not only with buffers where outline-minor-mode is acitvated with outshine extensions) if Org-mode would set this variable: ,------------------------------------------------------------------------ | outline-promotion-headings is a variable defined in `outshine.el'. | Its value is shown below. | | Automatically becomes buffer-local when set. | | Documentation: | A sorted list of headings used for promotion/demotion commands. | Set this to a list of headings as they are matched by `outline-regexp', | top-level heading first. If a mode or document needs several sets of | outline headings (for example numbered and unnumbered sections), list | them set by set, separated by a nil element. See the example for | `texinfo-mode' in the file commentary. | | For more information check the manuals. | | | | Value: | ((";; * " . 1) | (";; ** " . 2) | (";; *** " . 3) | (";; **** " . 4) | (";; ***** " . 5) | (";; ****** " . 6) | (";; ******* " . 7) | (";; ******** " . 8)) | | Local in buffer `xyz.el'; global value is nil `------------------------------------------------------------------------ I case of Org-mode, there would of course be no ';;' in the values, i.e. just ,----------- | ("* " . 1) `----------- instead of ,-------------- | (";; * " . 1) `-------------- -- cheers, Thorsten