From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: pauline-galea@gmx.com Newsgroups: gmane.emacs.bugs Subject: bug#48610: texinfo heading levels not highlighted by outline-minor-mode Date: Tue, 25 May 2021 23:16:14 +0200 Message-ID: References: <87k0nm7jur.fsf@mail.linkov.net> 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="32376"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48610@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 25 23:28:30 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1llebF-00088l-Qt for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 May 2021 23:28:29 +0200 Original-Received: from localhost ([::1]:46748 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llebE-0006m1-CX for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 May 2021 17:28:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lleap-0006lr-MB for bug-gnu-emacs@gnu.org; Tue, 25 May 2021 17:28:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35646) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lleao-0000QX-Hv for bug-gnu-emacs@gnu.org; Tue, 25 May 2021 17:28:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lleao-0003DN-FK for bug-gnu-emacs@gnu.org; Tue, 25 May 2021 17:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: pauline-galea@gmx.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 May 2021 21:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48610 X-GNU-PR-Package: emacs Original-Received: via spool by 48610-submit@debbugs.gnu.org id=B48610.162197804412309 (code B ref 48610); Tue, 25 May 2021 21:28:02 +0000 Original-Received: (at 48610) by debbugs.gnu.org; 25 May 2021 21:27:24 +0000 Original-Received: from localhost ([127.0.0.1]:47192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llea8-0003CQ-W7 for submit@debbugs.gnu.org; Tue, 25 May 2021 17:27:24 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:37301) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llePU-0002wI-Ra for 48610@debbugs.gnu.org; Tue, 25 May 2021 17:16:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1621977374; bh=rwWEXn6J7isMEUjwNmVoKbyaJBEvpKrADbQtdKuyZls=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=HqKapt0U4LcRRQHjIJnHvnbwNekgTvXNpWWhsfIhxD3IvybdVVhtHdN2beWo14nmr Ige/D6RT6wSHxGH4S57UfZzubkDK1DcBgPkw3D7ZSL8Qt/MRuHpqf1TKP6hZkEDDRh hbKqIG4XUpbBP02ZxU037ocqwlcpxa8oxuVdEdX8= 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 23:16:14 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <87k0nm7jur.fsf@mail.linkov.net> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:Ij2q+PP9COPR0lBgJ2FxzduLHDdA8VGTwCfMGb/5+eepQfi/HMKrrWcKb6Po9I8fIA4qI oHQ4MQVFzd1y0+yfokkKPRP2zQggGgBcnw72qOzAAYoLYp5o0/dP5xqWWMBQJDmELosNzKKfiDGo SEnGPvR37SPb4LymI90Zf+8faFw6uk9h4IKX2GpaF47OJnDlg+KkcwZAUFfQjrtZsAtQNfegtT/Z 98/bjg5dW1aVLRuOW4sucdpiBFxu5tmNPulphCVXGvKfjksyg84KnZNnWbgtyyXzcHmdB67TVb3A rE= X-UI-Out-Filterresults: notjunk:1;V03:K0:axRXB8xlA94=:AXvzq5sPpbpsIriiLrsLo7 +lSOxUqsO+mifc/dVHqBvJ4Ij2z0o4GlpicavuE3BXdR/JU5igpMvL1piofEeHjqxwb21piuD UnAl7Fl+L4CNkcbHgUEsbyZI2YfjHI+0wK/w2ZmPWtYS5PtmyWFZToOmn9kYWy4Gt4BE1hVzU jVnJNwHd9Tvz3a8UtUlQ3M2rSjdXhWpldBEzsKDGZyZSD2qqY+2QHgQJXp0ehE8FVpiritI85 Np2XtFmDEY4RS9QKthPBP9p8cB+5aKsX4qxatNCSyUTrLxbqgBKtqruGYn2pS0HN+NgHUXXs5 wjDll7gV8e+Oa25Dvf8HFeuMwDXfpG21/DcrP5Aw1u8weUOo4A/qvrpxcCkKwEooKQ2AgZjIK otjbgtJb0vusgAeY5ssLz3u+kZLMqhq6A2Y62rKNAY2PwOCtiqM/RZGW2i12uS0iMP0AFHpHg d5AjVKzJ8n8ySwH17zlkqxPrylBfRLcG5bYH9tjgxWGqtA7t+c99QnnbUdvSQpbdimJDiEPr5 jSb4KVJqx82W4grVRhRk/+z0P6xFGsH+IcKZkZQt1L1fwrbY6eLnB27KJUiT6Ubud0dkhxJvQ 2Yp9ze7669qmarplc00txHnht9l+r5mwctYa/Q1TNRhfG36OihAYkjKaE4L9ohhprztowgGzu 1iy+orLPvPUUnop1gn00SIePM37kgpAEDvH/Huo3teCmRSwOsnSw4g0TUMZKY1Av58O8TXuQ1 PQMMrswMwvQRX66lgtTicAHkY1wDIyy0PRRdGFc6WpPDE2paV8usOoSAvVf/EqEjNcyK7WsG X-Mailman-Approved-At: Tue, 25 May 2021 17:27:20 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:207266 Archived-At: > Sent: Wednesday, May 26, 2021 at 8:23 AM > From: "Juri Linkov" > To: pauline-galea@gmx.com > Cc: 48610@debbugs.gnu.org > Subject: Re: bug#48610: texinfo heading levels not highlighted by outlin= e-minor-mode > > > I cannot see that texinfo heading levels get highlighted with differen= t colours > > when using outline-minor-mode. > > Do you see texinfo heading levels highlighted with different colours > when using outline-mode instead of outline-minor-mode? > > If not, then outline-regexp is incorrectly specified in texinfo-mode. This is what I am using (defvar hdlevels '( ("@chapter" . 1) ("@section" . 1) ("@subsection" . 2) ("@subsubsection" . 3) ;; --------------------------------------------------------- ("@unnumbered" . 1) ("@unnumberedsec" . 1) ("@unnumberedsubsec" . 2) ("@unnumberedsubsubsec" . 3) ;; --------------------------------------------------------- ("@appendix" . 1) ("@appendixsec" . 1) ("@appendixsubsec" . 2) ("@appendixsubsubsec" . 3) ;; --------------------------------------------------------- ("@majorheading" . 1) ("@chapheading" . 1) ("@heading" . 1) ("@subheading" . 2) ("@subsubheading" . 3) ) "Sets heading names and levels for texinfo files." ) (defun my-outline () "todo" (interactive) (setq outline-regexp (concat (regexp-opt (mapcar 'car hdlevels)) "\\>")) (setq outline-heading-alist hdlevels) ) (defun my-outline-hook () "todo" (add-hook 'texinfo-mode-hook #'my-outline) ) > If yes, then could you try to customize outline-minor-mode-highlight. >