all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: headings in sh-mode
Date: Fri, 02 Jul 2021 20:34:04 +0200	[thread overview]
Message-ID: <875yxsefab.fsf@zoho.eu> (raw)
In-Reply-To: ea-mime-60df52bd-22da-1575172f@www-8.mailo.com

lisa-asket wrote:

> Then I did 
>
> * Heading
>
> ** Heading
>
> *** Heading
>
> **** Heading
>
> The last headings took effect, but they srcew up the srcipt
> because they are not used as comments.

Of course, you must obey the shell language rules (syntax in
this case), if you'd like it to work.

But honestly... you don't need a header hierarchy like this
for a shell script, they should be simple and short (well, as
short as possible, and long scripts aren't advanced, really,
they are just long).

If you really want something like that, can't `org-mode' do
little buttons under each of the ranked headings, and the
script will pop up and maybe execute, even?

I'm not an org-mode user myself, what you describe I recognize
from HTML and LaTeX but those are about organizing
_information_, not bunching together shell tools executing on
top of each other, and to the side...

-- 
underground experts united
https://dataswamp.org/~incal




  reply	other threads:[~2021-07-02 18:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-02  1:46 headings in sh-mode lisa-asket
2021-07-02  2:07 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-07-02  3:13   ` lisa-asket
2021-07-02 13:52     ` Stefan Monnier
2021-07-02 17:54       ` lisa-asket
2021-07-02 18:34         ` Emanuel Berg via Users list for the GNU Emacs text editor [this message]
2021-07-02 19:58           ` lisa-asket
2021-07-02 20:44             ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-07-02 20:56               ` lisa-asket
2021-07-03  1:08                 ` Stefan Monnier
2021-07-02 20:02           ` Yuri Khan
2021-07-02 20:32             ` lisa-asket
2021-07-02 23:11             ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-02 20:43           ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-07-02 20:53             ` lisa-asket
2021-07-02 23:14               ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-08 20:56               ` Nick Dokos
2021-07-02 23:13             ` Emanuel Berg via Users list for the GNU Emacs text editor

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

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

  git send-email \
    --in-reply-to=875yxsefab.fsf@zoho.eu \
    --to=help-gnu-emacs@gnu.org \
    --cc=moasenwood@zoho.eu \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.