From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: [RFC] Remove Org Struct mode Date: Tue, 5 Sep 2017 20:48:26 +0200 Message-ID: References: <87mv6ul4u6.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpItl-0002Lm-QQ for emacs-orgmode@gnu.org; Tue, 05 Sep 2017 14:48:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpIth-00073h-9w for emacs-orgmode@gnu.org; Tue, 05 Sep 2017 14:48:33 -0400 Received: from mail-qt0-x231.google.com ([2607:f8b0:400d:c0d::231]:35677) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dpIth-00072E-5F for emacs-orgmode@gnu.org; Tue, 05 Sep 2017 14:48:29 -0400 Received: by mail-qt0-x231.google.com with SMTP id k2so14395762qte.2 for ; Tue, 05 Sep 2017 11:48:27 -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: Org Mode List Cc: Nicolas Goaziou On Tue, Aug 22, 2017 at 7:48 PM, Michael Brand wrote: > 6) No syntax highlighting of headings To get the above behavior of orgstruct-mode in outshine for programming modes I added outshine-fontify. It makes me ready to let orgstruct-mode go. outshine-fontify is a variable defined in =E2=80=98outshine.el=E2=80=99. Its value is (closure (t) nil (not (derived-mode-p 'prog-mode))) Original value was t This variable is safe as a file local variable if its value satisfies the predicate =E2=80=98(lambda (v) (memq v (quote (t nil))))= =E2=80=99. Documentation: When to fontify the outshine headings in a buffer. Possible values are: =E2=80=98t=E2=80=99 Always (the default). =E2=80=98nil=E2=80=99 Never. function A Lisp predicate function with no arguments. For example =E2=80=98(lambda () (not (derived-mode-p (quote prog-mode))))= =E2=80=99 fontifies only when not in a programming mode. =E2=80=98t=E2=80=99 and =E2=80=98nil=E2=80=99 can be used for a file loca= l variable to make an exception for certain files or to be independent of the user=E2=80=99s customization. You can customize this variable. Michael