In Org mode, M-<right>
is bound to org-metaright
by default. Check that that is the case for you wiht C-h c M-<right>
. The docstring of org-metaright
(C-h f org-metaright
) says:
org-metaright is an interactive Lisp closure in ‘org.el’.
It is bound to M-<right> and ESC <right>.
(org-metaright &optional ARG)
Demote heading, list item at point or move table column right.
In front of a drawer or a block keyword, indent it correctly.
Calls ‘org-do-demote’, ‘org-indent-item’, ‘org-table-move-column’,
‘org-indent-drawer’ or ‘org-indent-block’ depending on context.
With no specific context, calls the Emacs default ‘forward-word’.
See the individual commands for more information.
This function runs the hook ‘org-metaright-hook’ as a first step,
and returns at first non-nil value.
so it should indent drawers and blocks "correctly" but it does a lot of other things too, depending on the context. If the key is bound to this function, then everything is as it should be. If you are expecting something other than what this function does according to its description, then it may be that there is a bug, or it may be that you are misunderstanding something. In order to figure out which, we need a detailed description of what you are doing: an example Org mode file, where the cursor is when you press M-<right>
, what you expect to happen and what actually happens. You can add all this to this question or close this question and open a new, much more detailed one with all the information.
Alt-arrow
on my keyboard. Can you explain what key(s) you press? Do you meanAlt
in combination with an arrow key (up, down, left, right)? If so, which one?M-<right>
e.g. is bound toright-word
by default: it does not do indentation (I triedfundamental
mode, as well asc-mode
).