[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [BUG, PATCH] org-indent-mode not correctly deactivated
From: |
Bastien |
Subject: |
Re: [O] [BUG, PATCH] org-indent-mode not correctly deactivated |
Date: |
Wed, 15 Jan 2014 17:34:38 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Hi Nicolas,
Nicolas Goaziou <address@hidden> writes:
> There is no attached patch in your mail. Though, I don't understand why
> you think your approach is wrong. In `org-mode' mode definition, we can
> change:
>
> (when org-startup-indented (require 'org-indent) (org-indent-mode 1))
>
> into:
>
> (cond (org-startup-indented (require 'org-indent) (org-indent-mode 1))
> ((org-bound-and-true-p org-indent-mode) (org-indent-mode -1)))
This will not work, because (org-bound-and-true-p org-indent-mode)
returns nil at the time `org-mode' is called.
> It's probably similar to what you wrote in your patch.
Here is my patch -- quite similar, except that it will disable
`org-indent-mode' for every restart once it has been activated
once, which is wrong, or at least to heavy-handed.
Maybe we can simply tell users to deactivate `org-indent-mode'
manually, but this feels wrong too.
fix-org-indent.patch
Description: Text Data
--
Bastien
- [O] [BUG, PATCH] org-indent-mode not correctly deactivated, Bastien, 2014/01/14
- 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 <=
- 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