all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Adam Porter <adam@alphapapa.net>
To: emacs-orgmode@gnu.org
Subject: Re: [RFC] Remove Org Struct mode
Date: Sat, 02 Sep 2017 03:03:47 -0500	[thread overview]
Message-ID: <87a82dfrx8.fsf@alphapapa.net> (raw)
In-Reply-To: CALn3zohnC6J2bQfRiQxXviCfBG79ksis5u6E-nMg61zUZQ4rzg@mail.gmail.com

Michael Brand <michael.ch.brand@gmail.com> writes:

> I assume in the above sentence you meant that a comment to be a
> heading has not to be indented.

Well, yes and no.  On my config, " ;;; test" is highlighted as a
heading, but it's only foldable as ";;; test".

> That is at least what I observed, and was able to change:
>
> In the setup code you provided (to be used with plain Outline minor
> mode without outshine) with
>
>   (setq outline-regexp "\\(;;[;]\\{1,8\\} \\|\\((defun\\)\\)")
>
> when " *" is added at the beginning to respect indentation
>
>   (setq outline-regexp " *\\(;;[;]\\{1,8\\} \\|\\((defun\\)\\)")
>
> the indented comments are also considered a heading.
>
> This makes me believe that in Outline major mode and maybe partly also
> in Org mode even this
>
> * Heading level 1
>   * Heading level 2
>
> could be made to work by tweaking outline-regexp and outline-level.

Probably so, I haven't dug into outline-mode.  :)

  reply	other threads:[~2017-09-02  8:04 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-20 13:57 [RFC] Remove Org Struct mode Nicolas Goaziou
2017-08-20 14:56 ` Neil Jerram
2017-08-20 17:04 ` Scott Randby
2017-08-20 18:04 ` Eric S Fraga
2017-08-21  5:47   ` Jarmo Hurri
2017-08-22  6:58     ` Marcin Borkowski
2017-08-22  8:32       ` Eric S Fraga
2017-08-21 12:48   ` Eduardo Mercovich
2017-08-20 22:06 ` Tim Cross
2017-08-21  2:48   ` numbchild
2017-08-21 11:59 ` Michael Brand
2017-08-22 12:21   ` Kaushal Modi
2017-08-22 17:48     ` Michael Brand
2017-09-05 18:48       ` Michael Brand
2017-09-09 18:20       ` Thorsten Jolitz
2017-09-09 19:04         ` Michael Brand
2017-08-21 15:15 ` Richard Lawrence
2017-08-22 12:16 ` Kaushal Modi
2017-08-22 13:45 ` Aaron Ecay
2017-08-22 13:50 ` Carsten Dominik
2017-08-27 16:34   ` Nicolas Goaziou
2017-08-27 20:28     ` Samuel Wales
2017-08-22 22:57 ` Eric Abrahamsen
2017-08-23 10:47 ` Rasmus
2017-08-23 11:33   ` Adam Porter
2017-08-23 12:24     ` Michael Brand
2017-08-23 15:14       ` Adam Porter
2017-08-23 21:00         ` Michael Brand
2017-08-27 13:07         ` Michael Brand
2017-09-02  8:03           ` Adam Porter [this message]
2017-08-23 19:17       ` Rasmus
2017-08-23 21:02         ` Michael Brand

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=87a82dfrx8.fsf@alphapapa.net \
    --to=adam@alphapapa.net \
    --cc=emacs-orgmode@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 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.