From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Hansen Subject: org-indent-mode documentation suggestion Date: Sat, 25 Jan 2020 12:15:21 -0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004437a6059cfc8929" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51729) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ivRqB-0004Ho-6t for emacs-orgmode@gnu.org; Sat, 25 Jan 2020 15:15:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ivRq9-0005co-RO for emacs-orgmode@gnu.org; Sat, 25 Jan 2020 15:15:34 -0500 Received: from mail-qt1-x82f.google.com ([2607:f8b0:4864:20::82f]:40917) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ivRq9-0005YS-KR for emacs-orgmode@gnu.org; Sat, 25 Jan 2020 15:15:33 -0500 Received: by mail-qt1-x82f.google.com with SMTP id v25so4378562qto.7 for ; Sat, 25 Jan 2020 12:15:33 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --0000000000004437a6059cfc8929 Content-Type: text/plain; charset="UTF-8" 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 --0000000000004437a6059cfc8929 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello, and thank you for org-mode!

I ra= n into an issue yesterday when I turned on org-indent-mode and then tried t= o disable org-hide-leading-stars. I ended up going on a bit of a chase to f= igure out what was going on. I had just switched to a new config, and thoug= ht that might be the problem, so I filed an issue there. It has some more d= etails if you'd like to take a look:

Anyways, the buffer-local varia= bles that org-indent creates made this a little confusing to figure out. I = ended up solving=C2=A0it by setting=C2=A0org-indent-mode-turns-in-hiding-st= ars to nil, but that took some time to figure out because the documentation= here suggests that I only needed to set=C2=A0org-hide-leading-stars to nil= :

I just = wanted to suggest that the documentation be updated to mention the buffer-l= ocal variables and how to work around org-indent's default behavior. Th= ese two lines solved it for me, and I'm sure other star-loving org user= s 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=
--0000000000004437a6059cfc8929--