emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Neil Hansen <neil.hansen.31@gmail.com>
To: emacs-orgmode@gnu.org
Subject: org-indent-mode documentation suggestion
Date: Sat, 25 Jan 2020 12:15:21 -0800	[thread overview]
Message-ID: <CAEQ4xg7VBsKnDfidYsu2mNg07E6RA5P2vayqx7SaaSa6WYvvCw@mail.gmail.com> (raw)

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

Hello, and thank you for org-mode!

I ran into an issue yesterday when I turned on org-indent-mode and then
tried to disable org-hide-leading-stars. I ended up going on a bit of a
chase to figure out what was going on. I had just switched to a new config,
and thought that might be the problem, so I filed an issue there. It has
some more details if you'd like to take a look:
https://github.com/MatthewZMD/.emacs.d/issues/28

Anyways, the buffer-local variables that org-indent creates made this a
little confusing to figure out. I ended up solving it by
setting org-indent-mode-turns-in-hiding-stars to nil, but that took some
time to figure out because the documentation here suggests that I only
needed to set org-hide-leading-stars to nil:
https://orgmode.org/manual/Clean-view.html

I just wanted to suggest that the documentation be updated to mention the
buffer-local variables and how to work around org-indent's default
behavior. These two lines solved it for me, and I'm sure other star-loving
org users will want the full story on how to set this up properly:

(setq org-hide-leading-stars nil)
(setq org-indent-mode-turns-in-hiding-stars nil)


Thank you again!

Neil

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

             reply	other threads:[~2020-01-25 20:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-25 20:15 Neil Hansen [this message]
2020-01-26  8:00 ` org-indent-mode documentation suggestion Bastien
2020-01-26  9:54   ` Neil Hansen
2020-01-26 10:22     ` Bastien

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.orgmode.org/

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

  git send-email \
    --in-reply-to=CAEQ4xg7VBsKnDfidYsu2mNg07E6RA5P2vayqx7SaaSa6WYvvCw@mail.gmail.com \
    --to=neil.hansen.31@gmail.com \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).