emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: TRS-80 <lists.trs-80@isnotmyreal.name>
Cc: emacs-orgmode@gnu.org
Subject: Re: Turning off all indentation in 9.4.4
Date: Fri, 26 Feb 2021 01:20:02 -0500	[thread overview]
Message-ID: <87pn0ne4fh.fsf@kyleam.com> (raw)
In-Reply-To: <30f3e416520870ef922e1dbf6edf1883@isnotmyreal.name>

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?


  reply	other threads:[~2021-02-26  6:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-04  6:23 Raoul Comninos
2021-02-04 17:45 ` Kévin Le Gouguec
2021-02-14 20:31   ` TRS-80
2021-02-14 21:07     ` Tim Cross
2021-02-17  4:30     ` Kyle Meyer
2021-02-17  7:56       ` Tim Cross
2021-02-24 20:58       ` TRS-80
2021-02-25 14:18         ` TRS-80
2021-02-26  6:20           ` Kyle Meyer [this message]
2021-02-26 19:12             ` TRS-80
2021-04-28  4:09               ` Bastien
2021-04-29 22:30                 ` TRS-80
2021-04-28  4:03         ` Bastien
2021-04-29 22:49           ` TRS-80

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=87pn0ne4fh.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=lists.trs-80@isnotmyreal.name \
    --subject='Re: Turning off all indentation in 9.4.4' \
    /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

Code repositories for project(s) associated with this 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).