[emacs] assimilate org (from source)
authorAmin Bandali <amin@aminb.org>
Mon, 16 Jul 2018 22:47:14 +0000 (18:47 -0400)
committerAmin Bandali <amin@aminb.org>
Mon, 16 Jul 2018 22:47:14 +0000 (18:47 -0400)
and bring in org-notmuch from contrib/

.gitmodules
init.org
lib/org [new submodule]

index 722fbe3..f861ab8 100644 (file)
        build-step = make
        build-step = make sphinx-texinfo
        build-step = borg-makeinfo
+[submodule "org"]
+       path = lib/org
+       url = git@code.orgmode.org:bzg/org-mode.git
+       load-path = lisp
+       info-path = doc
+       build-step = make compile autoloads info ORG_ADD_CONTRIB="org-notmuch"
+       # setting ORG_ADD_CONTRIB results in copying of files from contrib/
+       # into lisp/, which git will pick up.  so, let's ignore untracked files
+       # from org's submodule; at least for now
+       ignore = untracked
 [submodule "ox-hugo"]
        path = lib/ox-hugo
        url = git@github.com:kaushalmodi/ox-hugo.git
index b7506e1..36a2071 100644 (file)
--- a/init.org
+++ b/init.org
@@ -659,6 +659,8 @@ In short, my favourite way of life.
       org-html-postamble nil)
 (add-hook 'org-mode-hook 'org-indent-mode)
 (use-package htmlize)
+(use-package org-notmuch
+  :after (:any org notmuch))
 #+end_src
 
 *** [[https://magit.vc/][Magit]]
diff --git a/lib/org b/lib/org
new file mode 160000 (submodule)
index 0000000..76e38e8
--- /dev/null
+++ b/lib/org
@@ -0,0 +1 @@
+Subproject commit 76e38e8c545c623411af3a86ba896892f98f500b