From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: uzibalqa Newsgroups: gmane.emacs.help Subject: RE: [External] : Re: Changing highlight colours of headings when using outline-minor-mode Date: Fri, 16 Jun 2023 22:18:16 +0000 Message-ID: References: <83a5x2ug6m.fsf@gnu.org> <6NIVBalA-Rq8piBKFLd1XFg4sWnaeX7Bj08cxrsnb9_D6zCMVjN5bj3hEUdGXBngIf_BqXd9Fv6eyfczDDCf7h2P7jdVKnwP4U3JMWssdq8=@proton.me> <83ilbns2vk.fsf@gnu.org> <648cb423.7b0a0220.1e76d.4b6b@mx.google.com> <648cbe38.1c0a0220.2e6f8.4659@mx.google.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="24574"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Bruno Barbier , Eli Zaretskii , "help-gnu-emacs@gnu.org" To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 17 00:19:19 2023 Return-path: Envelope-to: geh-help-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 1qAHmo-0006CY-Dx for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 17 Jun 2023 00:19:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qAHmC-0007IA-F1; Fri, 16 Jun 2023 18:18:40 -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 1qAHmA-0007Hw-PW for help-gnu-emacs@gnu.org; Fri, 16 Jun 2023 18:18:38 -0400 Original-Received: from mail-4324.protonmail.ch ([185.70.43.24]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qAHm7-0005wg-OA for help-gnu-emacs@gnu.org; Fri, 16 Jun 2023 18:18:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1686953913; x=1687213113; bh=Mqlb6fLgRNRZ+mRehmb7rO6PFFQzbQC8GNIZ+p4HROQ=; 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=fW7zZZRdvjADo4Kh/6YncGf8uJdYYJBegn+uib9oPHALhdgrP08Gu+UvhTiJhVts9 JJtbSzlUAIpARaIr6P9FGavPxMxJAkLpcHuIUYFQJ+aiIew80kRX3+SdUOWYFYi3Vl NWVrDnTtuyCcOEdhV3yyP19ZjWazBcbfQUc4wk0gp8YtfvcS/LCrIa8jCs0pZ1svoH AbHrnlQORrPmgMMBQQPMeSGr+17qebIAY0TxMqLvpYVMZ0c3CwTBGi4mJwA8wa0kDk gPuwvJT26I7RkikQVpRdq2Sj6wQUuBSty50ndyvftEgM7zZ8V6GnQG5MojUBOO/v/q JuUC1PW7QSRsQ== In-Reply-To: Feedback-ID: 52887082:user:proton Received-SPF: pass client-ip=185.70.43.24; envelope-from=uzibalqa@proton.me; helo=mail-4324.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143961 Archived-At: ------- Original Message ------- On Saturday, June 17th, 2023 at 9:57 AM, Drew Adams = wrote: > > Ideally I would like that the colours are set permanently whenever I us= e > > "outline-minor-mode". Hewovor the function I wrote has to be run on eve= ry > > buffer. >=20 >=20 > I'm no expert on `outline-minor-mode'. But I sense that maybe you haven't= been listening. Several times people have suggested that you just _customi= ze_ the relevant faces. I do` M-x customize-group outline TAB RET'. I > see 8 faces named `outline-1' through` outline-8'. Although that is right, my intention is different. "M-x customize-group ou= tline TAB RE" is not enough for me. =20 > I do `C-h f outline-minor-mode', to see if it mentions something special = wrt the minor mode and faces, as opposed to the major mode,` outline-mode'. > It doesn't. >=20 > You can also take a look at the source code, in > `outline.el'. It seems, from a superficial look, that the faces used by` = outline-minor-mode' are those 8 faces. Thanks =20 > Have you tried to customize them? To do that is > simple: `M-x customize-face'. Or get to them all together, with` M-x cust= omize-group outlines'. >=20 > Customize persists your settings. It sounds > like exactly what you're asking for. As I am constructing a library, I need to have a function for doing the set= tings.