[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Indenting source code blocks in lists
From: |
Bastien |
Subject: |
Re: [O] Indenting source code blocks in lists |
Date: |
Sun, 29 Jan 2012 00:56:17 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
Bastien <address@hidden> writes:
> The attached patch let `org-metaright' indent a drawer or a block
> correctly. It introduces two new function ̀org-indent-block' and
> `org-indent-drawer' which derive from local hacks I'm using quite
> often now.
>
> Perhaps ̀org-metaright' is not the best keybinding for this function,
> please suggest a better one.
I've tested this patch and just applied it.
Using M-<right> on a drawer keyword (like ":PROPERTIES:") will
indent the whole drawer. org-metaright looks quite natural most
of the time, since the purpose is to realign the drawer with the
headline/paragraph above, and statistically (?) headlines are
more often refiles to subsubtrees than to trees.
--
Bastien