From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: [Feature request] Could Org-mode set 'outline-promotion-headings'? Date: Sun, 31 Mar 2013 20:24:35 +0200 Message-ID: <87bo9ze8bg.fsf@gmail.com> References: <87li93d8oo.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMMw6-0008Mu-Ij for emacs-orgmode@gnu.org; Sun, 31 Mar 2013 14:25:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UMMvz-0001g3-Rc for emacs-orgmode@gnu.org; Sun, 31 Mar 2013 14:24:58 -0400 Received: from plane.gmane.org ([80.91.229.3]:44818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMMvz-0001fi-Kz for emacs-orgmode@gnu.org; Sun, 31 Mar 2013 14:24:51 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UMMwK-0001IT-Hk for emacs-orgmode@gnu.org; Sun, 31 Mar 2013 20:25:12 +0200 Received: from g231105178.adsl.alicedsl.de ([92.231.105.178]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 31 Mar 2013 20:25:12 +0200 Received: from tjolitz by g231105178.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 31 Mar 2013 20:25:12 +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 Nick Dokos writes: > On Sun, Mar 31, 2013 at 9:01 AM, Thorsten Jolitz wrote: > > > '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: > > > > Can't you set it in a hook? I'd guess org-mode-hook would be about right. yes, I can do that in navi-mode itself, thanks for the tip. -- cheers, Thorsten