[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Turning off all indentation in 9.4.4
From: |
Kyle Meyer |
Subject: |
Re: Turning off all indentation in 9.4.4 |
Date: |
Fri, 26 Feb 2021 01:20:02 -0500 |
TRS-80 writes:
> On 2021-02-24 15:58, TRS-80 wrote:
>> On 2021-02-16 23:30, Kyle Meyer wrote:
[...]
>>> So, if I'm reading your preferences correctly, it sounds like you want
>>> just the first suggestion in the above snippet, leaving
>>> org-adapt-indentation at its default value:
>>>
>>> (add-hook 'org-mode-hook (lambda () (electric-indent-local-mode -1)))
>>
>> OK, I just did eval-expression (M-:) with (electric-indent-local-mode
>> -1) in an Orgmode buffer. After very brief testing, it does indeed
>> seem to return the desired behavior. So thanks a lot for that tip!
[...]
> OK, so after that yesterday, I went ahead and added
> (electric-indent-local-mode -1) to my org-mode hook. Then today upon
> re-starting Emacs, I am back to not working.
>
> By not working I mean: Pressing enter goes to column 0 as it should,
> however then pressing <TAB> does nothing. Where previously it would
> jump to same level as indented above.
>
> My settings are:
>
> - electric-indent-local-mode nil (local in each Orgmode buffer, set via
> hook)
>
> - org-adapt-indentation 'headline-data
I'm just repeating my suggestion from above, but perhaps you want to
leave org-adapt-indentation at its default value of t?
- Turning off all indentation in 9.4.4, Raoul Comninos, 2021/02/04
- Re: Turning off all indentation in 9.4.4, Kévin Le Gouguec, 2021/02/04
- Re: Turning off all indentation in 9.4.4, TRS-80, 2021/02/14
- Re: Turning off all indentation in 9.4.4, Tim Cross, 2021/02/14
- Re: Turning off all indentation in 9.4.4, Kyle Meyer, 2021/02/16
- Re: Turning off all indentation in 9.4.4, Tim Cross, 2021/02/17
- Re: Turning off all indentation in 9.4.4, TRS-80, 2021/02/24
- Re: Turning off all indentation in 9.4.4, TRS-80, 2021/02/25
- Re: Turning off all indentation in 9.4.4,
Kyle Meyer <=
- Re: Turning off all indentation in 9.4.4, TRS-80, 2021/02/26