Note: This site is currently "Under construction". I'm migrating to a new version of my site building software. Lots of things are in a state of disrepair as a result (for example, footnote links aren't working). It's all part of the process of building in public. Most things should still be readable though.

Emacs Notes

** Creating a new buffer

Looks like this will create a new buffer named `*Some Buffer*` if one doesn't already.

Code

(defconst some-buffer "*Some Buffer*")
(switch-to-buffer some-buffer)

** org-src-preserve-indentation

Tried turning off the indentation of source code blocks via:

Code

(setq org-src-preserve-indentation t)

But it freaked things out with the results formatter I'm using to pad them with spaces to make them look prettier.

I think there's something you can do on indivdual source code blocks, but I'm not messing with that for now.

** Python code in noweb blocks

When I put python code in one source block and then call it from another block with `:noweb yes` it breaks if there are blank lines