GNU bug report logs - #49346
headings when using sh-mode

Previous Next

Package: emacs;

Reported by: lisa-asket <at> perso.be

Date: Sat, 3 Jul 2021 03:53:02 UTC

Severity: wishlist

Tags: moreinfo

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: lisa-asket <at> perso.be
To: 49346 <at> debbugs.gnu.org
Subject: bug#49346: headings when using sh-mode
Date: Sat,  3 Jul 2021 02:19:25 +0200 (CEST)
[Message part 1 (text/plain, inline)]
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.  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.



Also realised that the same colour is used for all heading levels, making it difficult to

individualise the level structure.  The colours seem to change by mode, whereas it would

be more appreciated if outline-minor-mode utilises tho same set of heading level colouring

in all modes.


[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 287 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.