From: "Kévin Le Gouguec" <kevin.legouguec@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [BUG in org master?]
Date: Fri, 22 Oct 2021 17:50:31 +0200 [thread overview]
Message-ID: <875ytprrco.fsf@gmail.com> (raw)
In-Reply-To: <87sfwtr2ns.fsf_-_@mat.ucm.es> (Uwe Brauer's message of "Fri, 22 Oct 2021 08:31:35 +0200")
Uwe Brauer <oub@mat.ucm.es> writes:
>> In Org 9.5, setting org-adapt-indentation to 'headline-data makes
>> :DRAWERS: indented (setting it to t makes everything but headlines
>> indented).
>
> Thanks, but it did not work. I set the variable
> org-adapt-indentation to 'headline-data makes
>
>
> But when I opened my org file in question I still saw
>
> * TODO G1 <2021-10-21 jue 17:10> :H1:G1: Uwe Brauer
> :PROPERTIES:
> :ID:
> :EMAIL: oub@mat.ucm.es
> :Grp1: G1
> :Usuario1: Uwe Brauer
> :email1: oub@mat.ucm.es
> :Speaker: Uwe
> :End:
>
> Even restarting emacs did not help.
>
> I am running emacs 28 (master)
> 83a915d3dfafd5f3d737afe1e13b75e4dd3aef96
>
> And org master compiled two days ago.
Just to make sure I'm not misundertanding: did you try to re-indent the
whole file? You say "when I opened my org file in question I still
saw…", so I'm not sure if you tried to re-indent, or if you merely set
org-adapt-indentation and expected the file to be automatically
re-indented after opening it again.
If the :PROPERTIES: drawer is not indented after doing the following:
M-: (setq org-adapt-indentation 'headline-data)
C-x h
M-: (indent-for-tab-command)
… then yes, there is a bug.
> Setting the variable to t seems to be the same case using
> org-indent-mode, which is usually try to avoid.
Sure, the reason why it is (now) nil by default is because a fair number
of users on this list have told Org maintainers that they dislike
indented text.
Note that there is a difference between org-adapt-indentation set to t,
and org-indent-mode:
- org-adapt-indentation uses *hard* indentation (Emacs inserts
whitespace which is written to the file),
- org-indent-mode uses *soft* or "visual" indentation (Emacs adds text
properties to shift the text, but no whitespace is written to the
file).
next prev parent reply other threads:[~2021-10-22 15:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-21 14:52 how to indent (or refill) properties Uwe Brauer
2021-10-21 17:48 ` Kévin Le Gouguec
2021-10-22 6:31 ` [BUG in org master?] (was: how to indent (or refill) properties) Uwe Brauer
2021-10-22 13:55 ` Tim Cross
2021-10-22 16:14 ` [BUG in org master?] Kévin Le Gouguec
2021-10-22 16:34 ` Uwe Brauer
2021-10-22 22:36 ` Tim Cross
2021-10-22 15:50 ` Kévin Le Gouguec [this message]
2021-10-23 6:38 ` Uwe Brauer
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=875ytprrco.fsf@gmail.com \
--to=kevin.legouguec@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public 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).