From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: uzibalqa via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#64177: outline-minor-mode-highlight fails to activate for custom headings Date: Sat, 24 Jun 2023 12:21:47 +0000 Message-ID: References: <867crytzr9.fsf@mail.linkov.net> <86jzvyqdrg.fsf@mail.linkov.net> <86o7l9wdp9.fsf@mail.linkov.net> <86ttv0n82b.fsf@mail.linkov.net> Reply-To: uzibalqa 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="5010"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64177@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 24 14:23:15 2023 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 1qD2IM-00016T-Ls for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Jun 2023 14:23:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qD2ID-0003K8-MS; Sat, 24 Jun 2023 08:23:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qD2IA-0003Jv-Ug for bug-gnu-emacs@gnu.org; Sat, 24 Jun 2023 08:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qD2IA-00062V-Ll for bug-gnu-emacs@gnu.org; Sat, 24 Jun 2023 08:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qD2IA-0006Sc-HR for bug-gnu-emacs@gnu.org; Sat, 24 Jun 2023 08:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: uzibalqa Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Jun 2023 12:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64177 X-GNU-PR-Package: emacs Original-Received: via spool by 64177-submit@debbugs.gnu.org id=B64177.168760932624757 (code B ref 64177); Sat, 24 Jun 2023 12:23:02 +0000 Original-Received: (at 64177) by debbugs.gnu.org; 24 Jun 2023 12:22:06 +0000 Original-Received: from localhost ([127.0.0.1]:40052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qD2HG-0006RF-6R for submit@debbugs.gnu.org; Sat, 24 Jun 2023 08:22:06 -0400 Original-Received: from mail-4319.protonmail.ch ([185.70.43.19]:27063) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qD2HC-0006QT-Kn for 64177@debbugs.gnu.org; Sat, 24 Jun 2023 08:22:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1687609316; x=1687868516; bh=otvFqNT1lKDGwVuMjmYPm7m/Z8PPHBfcsbYO75EUeho=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=QouNMlBE//+d7U4cu43kMSWO5um5ONtJH3i92KiSEw6916zq40igXUmNBC0ApoF0b ybE1qmLO2S2x9N+U5FdGMExx2TxouWmSjaxZO6seeaMbkxcfG7tCp8hKU+2nTsAOi9 aMoxJDrNPWlfyIJ4oUXrxfPF8k6HoOII2h+IaQD4iEZ8j4jSSom/6pA897eziD0ByC DVPiY54EZ1BbJDirAfXOSSgfQTpfllBWbPVlilU6ExQv3bmdcAFFKP1l73L/4ZEaKq 3tjSfQTg899xy9QItKU9qOXYbBmGerMOiKTsGGyLsUp+TCW3k3JSDrngHkgQW2SKJz AzhzLEM7q3eTQ== In-Reply-To: <86ttv0n82b.fsf@mail.linkov.net> Feedback-ID: 52887082:user:proton 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:263989 Archived-At: ------- Original Message ------- On Thursday, June 22nd, 2023 at 3:58 AM, Juri Linkov wrot= e: > > > but many modes override this default with own function that ignores > > > outline-heading-alist: > > >=20 > > > lisp-outline-level, c-outline-level, cperl-outline-level, perl-outlin= e-level, > > > tcl-outline-level, cfengine2-outline-level, conf-outline-level, > > > nroff-outline-level, latex-outline-level > > >=20 > > > - all these ignore outline-heading-alist. > >=20 > > In the modes that override the default, outline-level could be > > set up to use outline-heading-alist, avoiding the conditional. >=20 >=20 > Patches are welcome to support outline-heading-alist in the > aforementioned functions. How does emacs-lisp-mode handle outline headings ? Always setting the defaults first, then the user can reset the variables outline-regexp,=20 outline-heading-alist, and outline-level before enabling outline-minor-mode= ?