* promote/demote indentation behaviour
@ 2015-09-08 12:32 lipidic man
2015-09-08 15:45 ` Nicolas Goaziou
0 siblings, 1 reply; 4+ messages in thread
From: lipidic man @ 2015-09-08 12:32 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 504 bytes --]
I have updated from org-mode 8.2.10 to 8.3.1 and the behaviour of
(org-do-promote), (org-do-demote), (org-promote-subtree), (org-demote-subtree)
has changed. It now indents an unindented paragraph when demoting the headline.
e.g.
** subsection
There is a pre-defined list of commands, and you can add more such
commands using the variable org-speed-commands-user
This did not occur before and does not seem like desired behaviour. I have checked this occurs in the testing build also.
[-- Attachment #2: Type: text/html, Size: 1455 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: promote/demote indentation behaviour
2015-09-08 12:32 promote/demote indentation behaviour lipidic man
@ 2015-09-08 15:45 ` Nicolas Goaziou
2015-09-08 16:05 ` lipidic man
0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2015-09-08 15:45 UTC (permalink / raw)
To: lipidic man; +Cc: emacs-orgmode@gnu.org
Hello,
lipidic man <lipidicman@yahoo.com> writes:
> I have updated from org-mode 8.2.10 to 8.3.1 and the behaviour of
>
> (org-do-promote), (org-do-demote), (org-promote-subtree), (org-demote-subtree)
>
> has changed. It now indents an unindented paragraph when demoting the headline.
> e.g.
> ** subsection
> There is a pre-defined list of commands, and you can add more such
> commands using the variable org-speed-commands-user
>
> This did not occur before and does not seem like desired behaviour.
According to `org-adapt-indentation' it is the desired behaviour. You
may want to set this variable to nil instead.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: promote/demote indentation behaviour
2015-09-08 15:45 ` Nicolas Goaziou
@ 2015-09-08 16:05 ` lipidic man
2015-09-08 19:09 ` Nicolas Goaziou
0 siblings, 1 reply; 4+ messages in thread
From: lipidic man @ 2015-09-08 16:05 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 995 bytes --]
Thanks.
That works. It stops unindented paragraphs from being moved. However under 8.2.10 the behaviour was to move indented text, but leave unindented text alone. Any ideas on how to achieve this?
On Tuesday, 8 September 2015, 16:43, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
Hello,
lipidic man <lipidicman@yahoo.com> writes:
> I have updated from org-mode 8.2.10 to 8.3.1 and the behaviour of
>
> (org-do-promote), (org-do-demote), (org-promote-subtree), (org-demote-subtree)
>
> has changed. It now indents an unindented paragraph when demoting the headline.
> e.g.
> ** subsection
> There is a pre-defined list of commands, and you can add more such
> commands using the variable org-speed-commands-user
>
> This did not occur before and does not seem like desired behaviour.
According to `org-adapt-indentation' it is the desired behaviour. You
may want to set this variable to nil instead.
Regards,
--
Nicolas Goaziou
[-- Attachment #2: Type: text/html, Size: 2380 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: promote/demote indentation behaviour
2015-09-08 16:05 ` lipidic man
@ 2015-09-08 19:09 ` Nicolas Goaziou
0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2015-09-08 19:09 UTC (permalink / raw)
To: lipidic man; +Cc: emacs-orgmode@gnu.org
lipidic man <lipidicman@yahoo.com> writes:
> That works. It stops unindented paragraphs from being moved. However
> under 8.2.10 the behaviour was to move indented text, but leave
> unindented text alone.
It was probably a bug then, since it was not following specifications.
> Any ideas on how to achieve this?
You could bring text at column 1 back to column 0 with a function added
to `org-after-promote-entry-hook'.
Regards,
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-09-08 19:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-08 12:32 promote/demote indentation behaviour lipidic man
2015-09-08 15:45 ` Nicolas Goaziou
2015-09-08 16:05 ` lipidic man
2015-09-08 19:09 ` Nicolas Goaziou
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).