emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] Fix org-indent-region's BEGIN_SRC / END_SRC indentation


From: Nicolas Goaziou
Subject: Re: [O] [PATCH] Fix org-indent-region's BEGIN_SRC / END_SRC indentation
Date: Mon, 28 Oct 2013 09:57:20 +0100

Hello,

Joost Diepenmaat <address@hidden> writes:

> Attached is a 2 character patch that makes org-indent-region indent
> #+BEGIN_SRC and #+END_SRC lines according to org document rules instead of
> the indentation rules of the language /inside/ the source block.
>
> This is my first patch proposal for org-mode, so please let me know if I
> need to modify things. In any case, feedback is welcome!

[...]

> From 659a071cc519ebdaabd586132f1d4d3159475c8d Mon Sep 17 00:00:00 2001
> From: Joost Diepenmaat <address@hidden>
> Date: Fri, 25 Oct 2013 11:08:46 +0200
> Subject: [PATCH] Correctly indent BEGIN_SRC and END_SRC lines

Here, you need to specifying what functions and variables are modified
by your patch and how. Something like the following should do:

* lisp/org.el (org-indent-region): BEGIN_SRC and END_SRC lines should
  not be considered part of the source block for the purposes of
  indentation.

> TINYCHANGE

Otherwise, the patch looks good. So I applied it with said
modifications.

Thank you.


Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]