From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: lisa-asket@perso.be Newsgroups: gmane.emacs.bugs Subject: bug#49346: headings when using sh-mode Date: Sat, 3 Jul 2021 02:19:25 +0200 (CEST) Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_60dfad0d_670c_4964bcc1" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27742"; mail-complaints-to="usenet@ciao.gmane.io" To: 49346@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 03 05:53:16 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 1lzWiR-00075f-Lv for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Jul 2021 05:53:15 +0200 Original-Received: from localhost ([::1]:35162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzWiQ-00087v-2S for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Jul 2021 23:53:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzWiE-00086I-Ln for bug-gnu-emacs@gnu.org; Fri, 02 Jul 2021 23:53:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54278) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lzWiE-0004pf-EG for bug-gnu-emacs@gnu.org; Fri, 02 Jul 2021 23:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lzWiE-00033C-DZ for bug-gnu-emacs@gnu.org; Fri, 02 Jul 2021 23:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: lisa-asket@perso.be Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Jul 2021 03:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49346 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.162528435311678 (code B ref -1); Sat, 03 Jul 2021 03:53:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Jul 2021 03:52:33 +0000 Original-Received: from localhost ([127.0.0.1]:37589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzWhh-00032D-3b for submit@debbugs.gnu.org; Fri, 02 Jul 2021 23:52:33 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:38952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzTNc-0006Q5-Be for submit@debbugs.gnu.org; Fri, 02 Jul 2021 20:19:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzTNc-0001aX-5y for bug-gnu-emacs@gnu.org; Fri, 02 Jul 2021 20:19:32 -0400 Original-Received: from msg-1.mailo.com ([213.182.54.11]:55670) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzTNZ-0006qk-Fi for bug-gnu-emacs@gnu.org; Fri, 02 Jul 2021 20:19:31 -0400 Original-Received: by www-8.mailo.com with http webmail; Sat, 3 Jul 2021 02:19:25 +0200 (CEST) X-EA-Auth: CIE0scH7WECsxsEGKJtgTAH8wNzttYjZQ4TXXL6D+asUrFXOXIUIrCeKB0yjykQs4NS3M2U2GUxL9SHtCv7OiAy3V3GDFmzG X-Priority: 3 X-Mailer: COMS/EA21.01/r20210601 Received-SPF: pass client-ip=213.182.54.11; envelope-from=lisa-asket@perso.be; helo=msg-1.mailo.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 02 Jul 2021 23:52:28 -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:209342 Archived-At: ------=_NextPart_001_60dfad0d_670c_4964bcc1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Have been reviewing some functionality in a bash script that I use with my= .bashrc. I enabled `outline-minor-mode` and found that by default `sh-script` uses = `*`, `**`, `***` as headings.=C2=A0 Because the headings are not part of comments, my bash = script breaks=20 if I use headings in this way.=C2=A0 Headings normally start with the comm= ent character. Also realised that the same colour is used for all heading levels, making = it difficult to individualise the level structure.=C2=A0 The colours seem to change by mod= e, whereas it would be more appreciated if outline-minor-mode utilises tho same set of heading= level colouring in all modes. ------=_NextPart_001_60dfad0d_670c_4964bcc1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Have been reviewing some functionality in a bash script that I use= with my .bashrc.

I enabled `outline-minor-mode` a= nd found that by default `sh-script` uses `*`, `**`, `***`
as hea= dings.=C2=A0 Because the headings are not part of comments, my bash script = breaks
if I use headings in this way.=C2=A0 Headings normall= y start with the comment character.

Also realised = that the same colour is used for all heading levels, making it difficult to=
individualise the level structure.=C2=A0 The colours seem to ch= ange by mode, whereas it would
be more appreciated if outline-min= or-mode utilises tho same set of heading level colouring
in all m= odes.
------=_NextPart_001_60dfad0d_670c_4964bcc1--