[Top][All Lists]

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

[O] Have SRC_BLOCK :padline accept numbers

From: Daniel P Gomez
Subject: [O] Have SRC_BLOCK :padline accept numbers
Date: Tue, 28 Mar 2017 21:47:42 +0200

A use case is tangling python source code snippets containing class definitions.


Per PEP8, the use of blank lines stipulates:
"Surround top-level function and class definitions with two blank lines."

To achieve two blank lines before a class definition, one would have to set :padline 2.

I've written a small patch (attached here), following the contribution guidelines on the org-mode website. The "patched" repository can be found here: https://github.com/dangom/org-mode/tree/feature_padline

Please let me know if there is anything else I should do.



Attachment: 0001-Add-support-for-padline-with-numbers-in-ob-tangle.patch
Description: Binary data

reply via email to

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