From unknown Sun Jun 22 07:43:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49346: headings when using sh-mode 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-GNU-PR-Keywords: To: 49346@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162528435311678 (code B ref -1); Sat, 03 Jul 2021 03:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Jul 2021 03:52:33 +0000 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 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 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 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 Received: by www-8.mailo.com with http webmail; Sat, 3 Jul 2021 02:19:25 +0200 (CEST) X-EA-Auth: CIE0scH7WECsxsEGKJtgTAH8wNzttYjZQ4TXXL6D+asUrFXOXIUIrCeKB0yjykQs4NS3M2U2GUxL9SHtCv7OiAy3V3GDFmzG From: lisa-asket@perso.be Date: Sat, 3 Jul 2021 02:19:25 +0200 (CEST) X-Priority: 3 MIME-Version: 1.0 X-Mailer: COMS/EA21.01/r20210601 Message-ID: Content-Type: multipart/alternative; boundary="----=_NextPart_001_60dfad0d_670c_4964bcc1" 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-Spam-Score: -1.3 (-) 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) ------=_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-- From unknown Sun Jun 22 07:43:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49346: headings when using sh-mode Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Jul 2021 13:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49346 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: lisa-asket@perso.be Cc: 49346@debbugs.gnu.org Received: via spool by 49346-submit@debbugs.gnu.org id=B49346.162540690825035 (code B ref 49346); Sun, 04 Jul 2021 13:56:01 +0000 Received: (at 49346) by debbugs.gnu.org; 4 Jul 2021 13:55:08 +0000 Received: from localhost ([127.0.0.1]:40637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m02aR-0006Vj-Vq for submit@debbugs.gnu.org; Sun, 04 Jul 2021 09:55:08 -0400 Received: from quimby.gnus.org ([95.216.78.240]:47204) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m02aO-0006UE-L5 for 49346@debbugs.gnu.org; Sun, 04 Jul 2021 09:55:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=HaNO+wWkgPK9FzX/ippm4Lt+nFus+CE8+9vmkkGtzjc=; b=KdAFb8sOBOWZGHkC+u6adbeH2c pWcEsnyiEo3zIeTW1zdD+rqh4l3SEqT3hUSrNrU4nmegls5uh+6i3WZnB0sPQFTimitIPYC86b9bt ZZC0ygB9cXvud0ZrPzE/pRHc9/RBk8P/5efMQEnTXsZHkRpZ7cgHbcesYEU0qit7aQpA=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m02aF-0000vg-KV; Sun, 04 Jul 2021 15:54:58 +0200 From: Lars Ingebrigtsen References: X-Now-Playing: Kissing the Pink's _Naked_: "Love Lasts Forever" Date: Sun, 04 Jul 2021 15:54:55 +0200 In-Reply-To: (lisa-asket@perso.be's message of "Sat, 3 Jul 2021 02:19:25 +0200 (CEST)") Message-ID: <87bl7i421c.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: lisa-asket@perso.be writes: > I enabled `outline-minor-mode` and found that by default `sh-script` > uses `*`, `** `, `***` as headings. Because the headings are not part > of comments, my bash script breaks if I use headings in [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) lisa-asket@perso.be writes: > I enabled `outline-minor-mode` and found that by default `sh-script` > uses `*`, `** `, `***` as headings. Because the headings are not part > of comments, my bash script breaks if I use headings in this way. > Headings normally start with the comment character. `sh-mode' has no support for outlining, so `outline-minor-mode' just uses the default values for `outline-regexp'. So I guess this is a wishlist item for adding support for outlining in `sh-mode'? Does anybody have a suggestion for what that should be in `sh-mode', or whether this doesn't really make sense for `sh-mode'? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 04 09:55:12 2021 Received: (at control) by debbugs.gnu.org; 4 Jul 2021 13:55:12 +0000 Received: from localhost ([127.0.0.1]:40734 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m02aW-0006XY-7z for submit@debbugs.gnu.org; Sun, 04 Jul 2021 09:55:12 -0400 Received: from quimby.gnus.org ([95.216.78.240]:47220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m02aV-0006VT-2a for control@debbugs.gnu.org; Sun, 04 Jul 2021 09:55:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=eD3uf8BWcRHmSa0JYhIBr5Xy8sYiXPlNUv20mSlhJl0=; b=XwxCvXiQNBQHoWnPandedtLc8O MVRUYnnfzt/+El5/0BHMJeAe8Q6ze2WB+J8tCTikhmzZxS9YBG1z/dmsd+b7PR2BRpCG27mOULxLS KbaYCTnbAB+/IunOx4/0gscPRzzZ5YZ7TQl32nLqWQFfofN9KGaXgVv5xp4AEaocHYT8=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m02aN-0000vr-Fa for control@debbugs.gnu.org; Sun, 04 Jul 2021 15:55:05 +0200 Date: Sun, 04 Jul 2021 15:55:03 +0200 Message-Id: <87a6n24214.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #49346 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 49346 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 49346 + moreinfo quit From unknown Sun Jun 22 07:43:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49346: headings when using sh-mode References: Resent-From: lisa-asket@perso.be Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Jul 2021 17:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49346 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: "Lars Ingebrigtsen" Cc: 49346@debbugs.gnu.org Received: via spool by 49346-submit@debbugs.gnu.org id=B49346.162541910426009 (code B ref 49346); Sun, 04 Jul 2021 17:19:02 +0000 Received: (at 49346) by debbugs.gnu.org; 4 Jul 2021 17:18:24 +0000 Received: from localhost ([127.0.0.1]:43215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m05lA-0006lR-GK for submit@debbugs.gnu.org; Sun, 04 Jul 2021 13:18:24 -0400 Received: from ip-15.mailobj.net ([213.182.54.15]:38676 helo=msg-4.mailo.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m05l7-0006lB-BX for 49346@debbugs.gnu.org; Sun, 04 Jul 2021 13:18:22 -0400 Received: by www-8.mailo.com with http webmail; Sun, 4 Jul 2021 19:18:08 +0200 (CEST) X-EA-Auth: mXHZUb/v6v26kRHcPLS6IgFr57ZALZQAMcBS1jWYjvznUOjONvGSqmd5k1oZHpdr2DeO5cNgkCv5iSMvHFcs+NQfnLyF2gse From: lisa-asket@perso.be Date: Sun, 4 Jul 2021 19:18:08 +0200 (CEST) X-Priority: 3 MIME-Version: 1.0 X-Mailer: COMS/EA21.01/r20210601 Message-ID: In-Reply-To: <87bl7i421c.fsf@gnus.org> Content-Type: multipart/alternative; boundary="----=_NextPart_001_60e1ed50_6a61_3fbba89f" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------=_NextPart_001_60e1ed50_6a61_3fbba89f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I have been using=20 # h1 # h2 # h3 This is similar to defining headers in html without ending up using long r= epeating symbols=20 such as `#####` or `*******`.=C2=A0 The number at the end defines the head= line level. From: Lars Ingebrigtsen To: lisa-asket@perso.be Subject: bug#49346: headings when using sh-mode Date: 04/07/2021 15:54:55 Europe/Paris Cc: 49346@debbugs.gnu.org lisa-asket@perso.be writes: > I enabled `outline-minor-mode` and found that by default `sh-script` > uses `*`, `** `, `***` as headings. Because the headings are not part > of comments, my bash script breaks if I use headings in this way. > Headings normally start with the comment character. `sh-mode' has no support for outlining, so `outline-minor-mode' just uses the default values for `outline-regexp'. So I guess this is a wishlist item for adding support for outlining in `sh-mode'? Does anybody have a suggestion for what that should be in `sh-mode', or whether this doesn't really make sense for `sh-mode'? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no ------=_NextPart_001_60e1ed50_6a61_3fbba89f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have been using

# h1
# h2
# h3

This is similar to defining headers i= n html without ending up using long repeating symbols
such a= s `#####` or `*******`.=C2=A0 The number at the end defines the headline le= vel.


From: Lars Ingebrigtsen <= larsi@gnus.org>
To: lisa-asket@perso.be
Subject: bug#49346: headings when using sh-mode
Date: 04/07/2021 15:54:55 Europe/Paris
Cc: 49346@debbugs.gnu.org

lisa-asket@perso.be writes:

> I enabled `outline-minor-mode` and found that by default `sh-script`<= br> > uses `*`, `** `, `***` as headings. Because the headings are not par= t
> of comments, my bash script breaks if I use headings in this way.
= > Headings normally start with the comment character.

`sh-mode' has no support for outlining, so `outline-minor-mode' just
uses the default values for `outline-regexp'. So I guess this is a
wishlist item for adding support for outlining in `sh-mode'?

Does anybody have a suggestion for what that should be in `sh-mode', or whether this doesn't really make sense for `sh-mode'?

--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no



------=_NextPart_001_60e1ed50_6a61_3fbba89f-- From unknown Sun Jun 22 07:43:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49346: headings when using sh-mode References: Resent-From: lisa-asket@perso.be Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Jul 2021 18:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49346 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: lisa-asket@perso.be, "Lars Ingebrigtsen" Cc: 49346@debbugs.gnu.org Received: via spool by 49346-submit@debbugs.gnu.org id=B49346.1625423951863 (code B ref 49346); Sun, 04 Jul 2021 18:40:01 +0000 Received: (at 49346) by debbugs.gnu.org; 4 Jul 2021 18:39:11 +0000 Received: from localhost ([127.0.0.1]:43258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m071L-0000Dr-GI for submit@debbugs.gnu.org; Sun, 04 Jul 2021 14:39:11 -0400 Received: from msg-1.mailo.com ([213.182.54.11]:43688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m071I-0000Db-Oe for 49346@debbugs.gnu.org; Sun, 04 Jul 2021 14:39:10 -0400 Received: by www-8.mailo.com with http webmail; Sun, 4 Jul 2021 20:38:56 +0200 (CEST) X-EA-Auth: HHTXHdwWi+TAJIfy1UWgancIeh9sKDZM4uggSutWbsIbwCngrNfI2qiRLS3Xek5bKVtRWnnJlUxuVcLpdzV/8+i6CPWe8dwO From: lisa-asket@perso.be Date: Sun, 4 Jul 2021 20:38:56 +0200 (CEST) X-Priority: 3 MIME-Version: 1.0 X-Mailer: COMS/EA21.01/r20210601 Message-ID: In-Reply-To: Content-Type: multipart/alternative; boundary="----=_NextPart_001_60e20040_2393_79bc1d89" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------=_NextPart_001_60e20040_2393_79bc1d89 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable After thinking a bit more about this, it would be better to use two ## at t= he beginning for headings, such that single # is for normal headings. ## h1 ## h2 ## h3 From: lisa-asket@perso.be To: Lars Ingebrigtsen Subject: bug#49346: headings when using sh-mode Date: 04/07/2021 19:18:08 Europe/Paris Cc: 49346@debbugs.gnu.org I have been using=20 # h1 # h2 # h3 This is similar to defining headers in html without ending up using long r= epeating symbols=20 such as `#####` or `*******`.=C2=A0 The number at the end defines the head= line level. From: Lars Ingebrigtsen To: lisa-asket@perso.be Subject: bug#49346: headings when using sh-mode Date: 04/07/2021 15:54:55 Europe/Paris Cc: 49346@debbugs.gnu.org lisa-asket@perso.be writes: > I enabled `outline-minor-mode` and found that by default `sh-script` > uses `*`, `** `, `***` as headings. Because the headings are not part > of comments, my bash script breaks if I use headings in this way. > Headings normally start with the comment character. `sh-mode' has no support for outlining, so `outline-minor-mode' just uses the default values for `outline-regexp'. So I guess this is a wishlist item for adding support for outlining in `sh-mode'? Does anybody have a suggestion for what that should be in `sh-mode', or whether this doesn't really make sense for `sh-mode'? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no ------=_NextPart_001_60e20040_2393_79bc1d89 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
After thinking a bit more about this, it would be better to use two ##= at the beginning for headings,
such that single # is for normal = headings.

## h1
## h2
## h3


From: lisa-asket@perso.b= e
To: Lars Ingebrigtsen <larsi@gnus.org>
Subject: bug#49346: headings when using sh-mode
Date: 04/07/2021 19:18:08 Europe/Paris
Cc: 49346@debbugs.gnu.org

I have been using

# h1
# h2
# h3

This is similar to defining headers = in html without ending up using long repeating symbols
such = as `#####` or `*******`.=C2=A0 The number at the end defines the headline l= evel.


From: Lars Ingebrigtsen <= ;larsi@gnus.org>
To: lisa-asket@perso.be
Subject: bug#49346: headings when using sh-mode
Date: 04/07/2021 15:54:55 Europe/Paris
Cc: 49346@debbugs.gnu.org

lisa-asket@perso.be writes:

> I enabled `outline-minor-mode` and found that by default `sh-script`<= br> > uses `*`, `** `, `***` as headings. Because the headings are not par= t
> of comments, my bash script breaks if I use headings in this way.
= > Headings normally start with the comment character.

`sh-mode' has no support for outlining, so `outline-minor-mode' just
uses the default values for `outline-regexp'. So I guess this is a
wishlist item for adding support for outlining in `sh-mode'?

Does anybody have a suggestion for what that should be in `sh-mode', or whether this doesn't really make sense for `sh-mode'?

--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no



------=_NextPart_001_60e20040_2393_79bc1d89-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 06 15:36:20 2021 Received: (at control) by debbugs.gnu.org; 6 Jul 2021 19:36:20 +0000 Received: from localhost ([127.0.0.1]:50252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0qrk-0004rM-Iv for submit@debbugs.gnu.org; Tue, 06 Jul 2021 15:36:20 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0qrj-0004r8-Ex for control@debbugs.gnu.org; Tue, 06 Jul 2021 15:36:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=t12BFo/vcjq+aLvWB84natGw3KpaxDU8IqVZu0DQYiA=; b=opxZf9kvI08GLzs7v/kjeX31aB dWvO+vMNxWrmqaK55VpY8Adl82PXIIrBuZwhXuJylbCSsTkRRfrYax7jLO0DBB9zeV/zeiTuhgc7K chFDeA3/hTTLoxaMHEyjF4NS8eZmwm5lh+9nATnzxMkIoPcnSvieqol/t2/+z1RaNdu0=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m0qra-0004mb-VV for control@debbugs.gnu.org; Tue, 06 Jul 2021 21:36:13 +0200 Date: Tue, 06 Jul 2021 21:36:10 +0200 Message-Id: <87pmvvnsk5.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #49346 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: severity 49346 wishlist quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) severity 49346 wishlist quit From unknown Sun Jun 22 07:43:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49346: headings when using sh-mode Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Aug 2021 15:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49346 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: lisa-asket@perso.be Cc: 49346@debbugs.gnu.org Received: via spool by 49346-submit@debbugs.gnu.org id=B49346.16286107931500 (code B ref 49346); Tue, 10 Aug 2021 15:54:01 +0000 Received: (at 49346) by debbugs.gnu.org; 10 Aug 2021 15:53:13 +0000 Received: from localhost ([127.0.0.1]:60514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDU3w-0000Nx-Qk for submit@debbugs.gnu.org; Tue, 10 Aug 2021 11:53:13 -0400 Received: from quimby.gnus.org ([95.216.78.240]:49066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDU3r-0000NK-0y for 49346@debbugs.gnu.org; Tue, 10 Aug 2021 11:53:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=rgSfF+Gjse5iri76KB4bf2kaeqOwCmEHYzD0CNrpIOk=; b=gY3vscXmJK7E23R0gaQnqJyHao wp5uQHuq7lyvUSlQzCCkAksgnNe0kziy/EcP00lbtaa9NQAdA6WSvrnJluRDSaZi6TEAflOO7qX07 VMQDIDwWyVn81A56FjdlDryboGk2uH1LHrpR+rKKvkKNbUMW5TTgTHDnb9VS9lqNgMtc=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mDU3g-0003jt-8D; Tue, 10 Aug 2021 17:52:56 +0200 From: Lars Ingebrigtsen References: Date: Tue, 10 Aug 2021 17:52:51 +0200 In-Reply-To: (lisa-asket@perso.be's message of "Sun, 4 Jul 2021 20:38:56 +0200 (CEST)") Message-ID: <87czqlxpnw.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: lisa-asket@perso.be writes: > After thinking a bit more about this, it would be better to use two ## at the > beginning for headings, This has now been added to Emacs 28. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) lisa-asket@perso.be writes: > After thinking a bit more about this, it would be better to use two ## at the > beginning for headings, This has now been added to Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 10 11:53:17 2021 Received: (at control) by debbugs.gnu.org; 10 Aug 2021 15:53:17 +0000 Received: from localhost ([127.0.0.1]:60516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDU41-0000O9-C6 for submit@debbugs.gnu.org; Tue, 10 Aug 2021 11:53:17 -0400 Received: from quimby.gnus.org ([95.216.78.240]:49082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDU3w-0000Nj-7g for control@debbugs.gnu.org; Tue, 10 Aug 2021 11:53:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=dsHnORSbrT16Rt9xKcFKMBH+Q0n4P/edjwmCaVdWs2s=; b=SZeYJvzLNlJ4qlkXwIVEaaHYwj Lk6RNB90HkkTp6PyVZbVE//mPFxjCYMw2i5OIqJl2SoP7q2bVt9QwICzL1ct2LiEQiOgIDrru5FU1 YikqfEmgnqFL55YZoFHU/vow8UAeNNHb32HdPzElWYYYeTSzbBtl25fm549URBV4JJYU=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mDU3o-0003k1-3R for control@debbugs.gnu.org; Tue, 10 Aug 2021 17:53:02 +0200 Date: Tue, 10 Aug 2021 17:52:59 +0200 Message-Id: <87bl65xpno.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #49346 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 49346 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 49346 28.1 quit