[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [BUG, PATCH] org-indent-mode not correctly deactivated
From: |
Bastien |
Subject: |
[O] [BUG, PATCH] org-indent-mode not correctly deactivated |
Date: |
Tue, 14 Jan 2014 17:00:44 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
With a file like
,----
| #+STARTUP: indent
|
| * Heading
| ** Subheading
`----
org-mode will correctly use org-indent-mode when displaying it.
Now edit the file to deactivate org-indent:
,----
| #+STARTUP: noindent
|
| * Heading
| ** Subheading
`----
Go to #+STARTUP and hit C-c C-c : org-indent-mode will not be
activated, but it will not be properly deactivated, leaving a
confusing whitespace before indented headlines.
The attached patch fixes the problem, but it is wrong, because it
"actively" deactivates org-indent-mode each time a buffer is not
using org-indent-mode, in sessions where org-indent-mode has been
used at least once.
I could not come up with a better fix -- Nicolas, Carsten, do
you have an idea on how to fix this?
Thanks!
--
Bastien
- [O] [BUG, PATCH] org-indent-mode not correctly deactivated,
Bastien <=
- Re: [O] [BUG, PATCH] org-indent-mode not correctly deactivated, Nicolas Goaziou, 2014/01/15
- Re: [O] [BUG, PATCH] org-indent-mode not correctly deactivated, Bastien, 2014/01/15
- Re: [O] [BUG, PATCH] org-indent-mode not correctly deactivated, Nicolas Goaziou, 2014/01/15
- Re: [O] [BUG, PATCH] org-indent-mode not correctly deactivated, Bastien, 2014/01/15
- Re: [O] [BUG, PATCH] org-indent-mode not correctly deactivated, Bastien, 2014/01/15
- Re: [O] [BUG, PATCH] org-indent-mode not correctly deactivated, Nicolas Goaziou, 2014/01/15
- Re: [O] [BUG, PATCH] org-indent-mode not correctly deactivated, Bastien, 2014/01/15