From fc66cbe5885a030f1994ce9227bae4a3eb79bcf9 Mon Sep 17 00:00:00 2001 From: Correl Date: Sat, 11 Jun 2022 20:07:24 -0400 Subject: [PATCH] Initial commit --- .gitignore | 7 +++++++ Eldev | 6 ++++++ org-roam-export.el | 25 +++++++++++++++++++++++++ test-slipbox/ipsum.org | 32 ++++++++++++++++++++++++++++++++ test-slipbox/lorem.org | 12 ++++++++++++ tests.el | 29 +++++++++++++++++++++++++++++ 6 files changed, 111 insertions(+) create mode 100644 .gitignore create mode 100644 Eldev create mode 100644 org-roam-export.el create mode 100644 test-slipbox/ipsum.org create mode 100644 test-slipbox/lorem.org create mode 100644 tests.el diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a2ae022 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +.DS_Store +.idea +*.log +tmp/ + + +.eldev diff --git a/Eldev b/Eldev new file mode 100644 index 0000000..3aface9 --- /dev/null +++ b/Eldev @@ -0,0 +1,6 @@ +; -*- mode: emacs-lisp; lexical-binding: t -*- + +;; Uncomment some calls below as needed for your project. +;(eldev-use-package-archive 'gnu-elpa) +;(eldev-use-package-archive 'nongnu-elpa) +(eldev-use-package-archive 'melpa) diff --git a/org-roam-export.el b/org-roam-export.el new file mode 100644 index 0000000..6aee5bf --- /dev/null +++ b/org-roam-export.el @@ -0,0 +1,25 @@ +;;; org-roam-export.el --- Description -*- lexical-binding: t; -*- +;; +;; Copyright (C) 2022 Correl Roush +;; +;; Author: Correl Roush +;; Maintainer: Correl Roush +;; Created: June 10, 2022 +;; Modified: June 10, 2022 +;; Version: 0.0.1 +;; Keywords: abbrev bib c calendar comm convenience data docs emulations extensions faces files frames games hardware help hypermedia i18n internal languages lisp local maint mail matching mouse multimedia news outlines processes terminals tex tools unix vc wp +;; Homepage: https://github.com/correlr/org-roam-export +;; Package-Requires: ((emacs "24.3") org-roam) +;; +;; This file is not part of GNU Emacs. +;; +;;; Commentary: +;; +;; Description +;; +;;; Code: + + + +(provide 'org-roam-export) +;;; org-roam-export.el ends here diff --git a/test-slipbox/ipsum.org b/test-slipbox/ipsum.org new file mode 100644 index 0000000..70ebfcd --- /dev/null +++ b/test-slipbox/ipsum.org @@ -0,0 +1,32 @@ +:PROPERTIES: +:ID: e6c17c1a-6b05-40d2-a01f-b147633c51b1 +:END: +#+title: Ipsum + +Vestibulum congue imperdiet ex, sed cursus urna mattis sed. Class aptent taciti +sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Ut ac +tristique massa. Vestibulum ante ipsum primis in faucibus orci luctus et +ultrices posuere cubilia curae; Cras eget nunc nisl. Suspendisse accumsan diam +et nunc fringilla consectetur. Maecenas ultrices accumsan ipsum, non accumsan +enim mattis vel. Maecenas bibendum metus quis augue venenatis tempor. +* I +Fusce mollis tellus est, eu mattis augue interdum vitae. Vivamus a faucibus +magna. Proin vitae felis massa. Morbi congue erat vitae orci cursus, nec +tincidunt ex luctus. Pellentesque ut interdum purus. In vitae bibendum tortor. +Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac +turpis egestas. Aliquam augue lectus, imperdiet id feugiat quis, mattis id +turpis. Suspendisse lacinia mi tempus, feugiat tortor ut, venenatis dui. Mauris +ultricies vestibulum purus, pulvinar iaculis odio aliquet vitae. Donec sit amet +elementum velit. Fusce finibus justo euismod est sagittis condimentum. Integer +at justo in eros suscipit elementum. +* II +Aliquam [[id:d12a1ce4-3199-42f4-b39b-b68c03458669][lorem]] ante, suscipit a lorem molestie, aliquet elementum eros. Proin +mattis lacus nec dapibus auctor. Donec lacinia finibus ex vitae tempor. +Suspendisse blandit, justo vitae placerat lacinia, eros tortor convallis nisi, +fermentum sodales lorem augue at ligula. Nulla facilisi. Curabitur vel convallis +tellus, a luctus mi. Donec sollicitudin erat erat, vel condimentum mauris tempus +eget. Pellentesque hendrerit suscipit risus eu fermentum. Vivamus non urna +commodo, lacinia odio vitae, blandit metus. Nam et tempus ipsum. Aenean lobortis +mauris sit amet lorem accumsan blandit. Fusce eleifend, tellus non tristique +auctor, ligula justo varius dolor, id bibendum nulla elit ac dui. Vestibulum +sodales enim eget tristique tempor. diff --git a/test-slipbox/lorem.org b/test-slipbox/lorem.org new file mode 100644 index 0000000..221239a --- /dev/null +++ b/test-slipbox/lorem.org @@ -0,0 +1,12 @@ +:PROPERTIES: +:ID: d12a1ce4-3199-42f4-b39b-b68c03458669 +:END: +#+title: Lorem + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eget viverra mi. +Duis eget dui id tellus fermentum vehicula. Duis tincidunt quam vel erat +bibendum commodo. Phasellus in justo vitae magna commodo rhoncus id quis justo. +Morbi id malesuada nisi. Praesent ipsum velit, commodo vel bibendum vitae, +dignissim in magna. Pellentesque vehicula enim ante, interdum laoreet dolor +venenatis eget. Proin laoreet nulla a enim bibendum finibus. Proin mattis +lobortis quam non eleifend. Pellentesque vitae imperdiet nisl. diff --git a/tests.el b/tests.el new file mode 100644 index 0000000..1c17415 --- /dev/null +++ b/tests.el @@ -0,0 +1,29 @@ +;;; tests.el --- Description -*- lexical-binding: t; -*- +;; +;; Copyright (C) 2022 Correl Roush +;; +;; Author: Correl Roush +;; Maintainer: Correl Roush +;; Created: June 11, 2022 +;; Modified: June 11, 2022 +;; Version: 0.0.1 +;; Keywords: abbrev bib c calendar comm convenience data docs emulations extensions faces files frames games hardware help hypermedia i18n internal languages lisp local maint mail matching mouse multimedia news outlines processes terminals tex tools unix vc wp +;; Homepage: https://github.com/correlr/tests +;; Package-Requires: ((emacs "24.3")) +;; +;; This file is not part of GNU Emacs. +;; +;;; Commentary: +;; +;; Description +;; +;;; Code: + +(require 'ert) +(require 'org-roam-export) + +(ert-deftest simple-test () + (should (= 1 1))) + +(provide 'tests) +;;; tests.el ends here