From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.devel Subject: Cycling first N heading levels in outline Date: Tue, 25 May 2021 19:41:12 +0200 Message-ID: References: <87wnrqt5re.fsf@localhost> <875yz9bjrf.fsf@localhost> <87im381js1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24900"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, Stefan Monnier , Jean Louis , Ihor Radchenko To: =?UTF-8?Q?K=C3=A9vin_Le_Gouguec?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 25 19:42:48 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1llb4q-0006FX-84 for ged-emacs-devel@m.gmane-mx.org; Tue, 25 May 2021 19:42:48 +0200 Original-Received: from localhost ([::1]:42832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llb4p-0007pD-As for ged-emacs-devel@m.gmane-mx.org; Tue, 25 May 2021 13:42:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llb3t-0006Qr-OZ for emacs-devel@gnu.org; Tue, 25 May 2021 13:41:49 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:45035) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llb3r-00046M-Ra for emacs-devel@gnu.org; Tue, 25 May 2021 13:41:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1621964472; bh=+0mve9EDszhaYWjVTZ8TjKqk3BwWrS3Gl8T40qkzwPE=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=QjuegjqUdJZMfbokYwXkTumS7QD3qgPX9ccrhCFSPFJJrSoUwo72t6yrgYob/z/cZ +2FAGHUjnKSy9C0tnco2+ci3raDjM/u2yrNJH8t47HNi0lV1BkemLx+kYAPJVZ0MGQ bRizSPM035w24hZ+h1zGANyPuwyCf3lCxnosR97w= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs01.server.lan [172.19.170.58]) (via HTTP); Tue, 25 May 2021 19:41:12 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <87im381js1.fsf@gmail.com> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:6TZEa/KtanZ181fA+cVFxciw0QDbT83mfCLFstcYtwFBmZtd3quStmGfgRUy27qma/P6b TkMuVoJfVL9IMQeVpfo64bCM6rAzIGYT9Zls7H/C1UuCo1KTYGtDddoVEwz+D/pNE5QpFDKFwVeY XCR47WS+khHS0U62wA8DbxzGDpK+/d04iEOumYNSEULIeAR3pqtvje45yHbCXmc2Z3M5f3agYFBK Kzo+YdC+/lArLKrt1j3w9Vuwen5+gg1jOSnCPzABZQDaIUIvaO0aJ9LbWrZe9+Da5iV67JVNqli3 oc= X-UI-Out-Filterresults: notjunk:1;V03:K0:VaiKuirKp4Y=:NGtTey/Ns2qvUUkVFzofcW JnRvCclRbOx5Uys7eRDOb/YB5/jV5oYm++BeWcPBJaU28Zt/Lp0NMJatv91uxcAiiuJk8PtII 3m/rpXzY30TVjfO/OzoDJVR2G43gqGt0aymb8BTT387/sOiGVmPWQeLEwzxdXjHKZe/OYB1qk PEj0J1ZBqCi73mnPPbUyVgpOAhDmyW6VxP8qY8xEtqFDZMEC7KHGeIX8NNn3ZveLyEo4I5H5s m2TSXnSxBZJNCMKBzCQqfTj5vymohNfJ+m5CpnGSQ3aPKoTlGC2HCT830m+rfYbaoOZd+BEEb S9RTJeqimaj9aKdzI4f9lGeL4+GkWUS8KKwtjfKVklkgkJUIUwFU7e7A0+gMILXUh378RBiMM 8usmABOHrEINygmhWEMD3vlKcC47hBN4zgroRqqOnKWAvyu1MkqRM42nVkZ1n+JguRbpMPSiO rpdKK/9iDIZVwXPz5owpW8OKTe7rjfUWVpK+CgPzhfvTkHwjBrN7p2Jp9EILc53wNd4jgS4R6 rolH5MtwB459/e8+OeRcdZz4vuJiZbU1zkUt1tO5wsszZ8Wp1Cz471viVMEIXWsUPDl9LaMH6 RaB01XMHz7krJtxi/fjmMtWgfTXlLJKPARakwY+cn8VgB0ByrN34E5lN75VsDfjmTBPFYOuzF wG0bw/JXHXI5lgQR9HmugyhcIAs4/GWWIh2fwKPSkT28LSejxNTmKma063eUOtYoLe0ObYvF3 aiOxX3Xz0k3cUOnp1mUZFcRcEAubmkftRL6tQSN4VpmHzPIP2J+HOB0TxwdHfhm66RE2Wnq4 Received-SPF: pass client-ip=212.227.17.21; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:269874 Archived-At: I need some help on how to use "outline-minor-mode-highlight" option to cus= tomize=20 the colours for headings because they are showing up as normal comments=2E I am in emacs-lisp-mode=2E=20 > Sent: Monday, May 24, 2021 at 10:57 PM > From: "K=C3=A9vin Le Gouguec" > To: "Christopher Dimech" > Cc: "Stefan Monnier" , "Ihor Radchenko" , "Jean Louis" , emacs-devel@gnu=2E= org > Subject: Re: Cycling first N heading levels in outline > > Christopher Dimech writes: >=20 > >> The convention used in ELisp is: > >> > >> ;;; Section > >> ;;;; Subsection > >> ;;;;; Subsubsection > >> ;;;;;; Subsubsubsection > >> ;;;;;;; Subsubsubsubsection > >> [=2E=2E=2E] > > > > The headings still look like comments, whereas they are supposed to ge= t highlighted > > according to the heading level=2E > > > > Could we get that to work in said way? >=20 > On Emacs master, the outline-minor-mode-highlight option allows you to > customize how headings are fontified: >=20 > > When t, it puts outline faces only if there are no major mode=E2=80=99= s faces > > on headings=2E When =E2=80=98override=E2=80=99, it completely overwri= tes major mode=E2=80=99s > > faces with outline faces=2E When =E2=80=98append=E2=80=99, it tries t= o append outline > > faces to major mode=E2=80=99s faces=2E >