unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: lisa-asket@perso.be
To: 49346@debbugs.gnu.org
Subject: bug#49346: headings when using sh-mode
Date: Sat,  3 Jul 2021 02:19:25 +0200 (CEST)	[thread overview]
Message-ID: <ea-mime-60dfad0d-670c-238220df@www-8.mailo.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 666 bytes --]


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.



[-- Attachment #2: Type: text/html, Size: 755 bytes --]

             reply	other threads:[~2021-07-03  0:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-03  0:19 lisa-asket [this message]
2021-07-04 13:54 ` bug#49346: headings when using sh-mode Lars Ingebrigtsen
2021-07-04 17:18   ` lisa-asket
2021-07-04 18:38     ` lisa-asket
2021-08-10 15:52       ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ea-mime-60dfad0d-670c-238220df@www-8.mailo.com \
    --to=lisa-asket@perso.be \
    --cc=49346@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).