~codygman/emacs-config

7703d9c080af1fb540186c93fcb9339bcd42ce26 — codygman 1 year, 8 months ago 6cdd04f
ensure everything is correctly installed by straight
3 files changed, 40 insertions(+), 32 deletions(-)

M emacs-config.org
M init.el
M straight-versions.el
M emacs-config.org => emacs-config.org +20 -16
@@ 821,7 821,9 @@
#+begin_src emacs-lisp
  (use-package org
    :straight org-plus-contrib
    :after 'ob-restclient
    :init
    (error "success error!")
    (setq org-modules '(org-habit org-id org-protocol org-timer)
          org-id-link-to-org-use-id 'create-if-interactive)
    ;; org font setup


@@ 1843,19 1845,19 @@
***** use: org links to magit buffers
***** install
#+begin_src emacs-lisp
(straight-use-package 'orgit)
  (use-package orgit
    ;; Automatically copy orgit link to last commit after commit
    :hook (git-commit-post-finish . orgit-store-after-commit)
    :config
    (defun orgit-store-after-commit ()
      "Store orgit-link for latest commit after commit message editor is finished."
      (let* ((repo (abbreviate-file-name default-directory))
             (rev (magit-git-string "rev-parse" "HEAD"))
             (link (format "orgit-rev:%s::%s" repo rev))
             (summary (substring-no-properties (magit-format-rev-summary rev)))
             (desc (format "%s (%s)" summary repo)))
        (push (list link desc) org-stored-links))))
  (straight-use-package 'orgit)
    (use-package orgit
      ;; Automatically copy orgit link to last commit after commit
      :hook (git-commit-post-finish . orgit-store-after-commit)
      :config
      (defun orgit-store-after-commit ()
        "Store orgit-link for latest commit after commit message editor is finished."
        (let* ((repo (abbreviate-file-name default-directory))
               (rev (magit-git-string "rev-parse" "HEAD"))
               (link (format "orgit-rev:%s::%s" repo rev))
               (summary (substring-no-properties (magit-format-rev-summary rev)))
               (desc (format "%s (%s)" summary repo)))
          (push (list link desc) org-stored-links))))
#+end_src
**** org wild notifier
***** why?


@@ 2232,11 2234,13 @@ Automatically save your all your files at regular intervals.
#+end_src
** restclient
#+begin_src emacs-lisp
  (use-package restclient :defer t)
  (straight-use-package 'restclient)
  (use-package restclient)
#+end_src
** ob-restclient
#+begin_src emacs-lisp
  (use-package ob-restclient)
  (straight-use-package 'ob-restclient)
  (use-package ob-restclient :after 'restclient)
#+end_src
** ob-async
#+begin_src emacs-lisp


@@ 2505,7 2509,6 @@ Automatically save your all your files at regular intervals.
    (add-hook 'haskell-mode-hook 'haskell-indentation-mode)
    (add-hook 'haskell-mode-hook (lambda () (direnv-update-environment) (dante-mode)))
    (use-package dante
      :ensure t
      :after (haskell-mode)
      :commands 'dante-mode
      :if (string-equal (getenv "EMACSFOR") "PERSONAL")


@@ 2692,6 2695,7 @@ Automatically save your all your files at regular intervals.
             (org-agenda-finalize . ap/org-super-agenda-origami-fold-default)))

  (use-package org-super-agenda
    :after '(org)
    :init
    (require 'org-habit)
    (setq org-super-agenda-groups

M init.el => init.el +12 -10
@@ 1,14 1,10 @@
;; add MELPA package server
(require 'package)
(add-to-list 'package-archives 
  '("melpa" . "http://melpa.milkbox.net/packages/"))
(package-initialize)

(when (file-exists-p "/data/data/com.termux/files/usr/bin/termux-info")
  (setq straight-use-symlinks nil))

(setq straight-profiles '((nil . "~/.emacs.d/straight-versions.el")))
;; ;; add MELPA package server
;; (require 'package)
;; (add-to-list 'package-archives 
;;   '("melpa" . "http://melpa.milkbox.net/packages/"))
;; ;; (package-initialize)
;; straight.el setup
(setq straight-profiles '((nil . "~/.emacs.d/straight-versions.el")))
(setq straight-repository-branch "develop")
(defvar bootstrap-version)
(let ((bootstrap-file


@@ 24,7 20,13 @@
  (load bootstrap-file nil 'nomessage))

(setq straight-use-package-by-default t)

(straight-use-package 'org-plus-contrib)
(straight-use-package '(org :local-repo nil))

(when (file-exists-p "/data/data/com.termux/files/usr/bin/termux-info")
  (setq straight-use-symlinks nil))


(org-babel-load-file "~/.emacs.d/emacs-config.org") 


M straight-versions.el => straight-versions.el +8 -6
@@ 4,6 4,8 @@
 ("annalist.el" . "134fa3f0fb91a636a1c005c483516d4b64905a6d")
 ("avy" . "87394c9a880104a08d0f0e2d4149ac2d70cc192f")
 ("cl-lib" . "e79686c4a26959c0ecba0951a7e335ed28035386")
 ("company-mode" . "d943198e26baccbbae7fa1cdebcd9fcb89c525d0")
 ("dante" . "38b589417294c7ea44bf65b73b8046d950f9531b")
 ("dash.el" . "a743ae3da1d5869434c6f262bbe45ef30d87cb9c")
 ("docker-tramp.el" . "8e2b671eff7a81af43b76d9dfcf94ddaa8333a23")
 ("eacl" . "8b54294af9c0ad8d6e40932b2b384fe760e56209")


@@ 12,6 14,7 @@
 ("elm-mode" . "834fb5037424c47155518ed27537ef7ad6addcc5")
 ("emacs-async" . "bd68cc1ab1ac6af890e250bdaa12ffb1cb9649be")
 ("emacs-dashboard" . "224fb2cb067d0f1f95fbbe8aa4073154cd255410")
 ("emacs-direnv" . "fd0b6bbd5e3eaf6aa48bccd4a1ff3048bfb2c69b")
 ("emacs-helm-ag" . "2fc02c4ead29bf0db06fd70740cc7c364cb650ac")
 ("emacs-memoize" . "8c1e5569550e783dd7814735e22c935416c4462d")
 ("emacs-request" . "ef1587a02139c587c80ae4ca61ed71798bfd07dc")


@@ 28,11 31,10 @@
 ("fast-scroll" . "70a4d21638bf95646bd12ae9512dffbe1c4970d2")
 ("flx" . "46040d0b096a0340d91235561f27a959a61d0fef")
 ("flycheck" . "844fbb9c1442e704d19bd398f8db7c311009cb5e")
 ("flycheck-haskell" . "4b585264826a9f0f35d121dd52aa0e381f336d69")
 ("general.el" . "f38fb2294bd29261374b772f765730f2fa168b3e")
 ("gntp.el" . "767571135e2c0985944017dc59b0be79af222ef5")
 ("gnu-elpa-mirror" . "01001b660cd3677228e25a6f544d579b56845c37")
 ("gnuplot-mode" . "21f9046e3f5caad41b750b5c9cee02fa4fd20fb9")
 ("gnuplot" . "21f9046e3f5caad41b750b5c9cee02fa4fd20fb9")
 ("golden-ratio.el" . "72b028808b41d23fa3f7e8c0d23d2c475e7b46ae")
 ("goto-chg" . "1829a13026c597e358f716d2c7793202458120b5")
 ("haskell-mode" . "1bee161d3cea973d4ee3ff7acf980bf2cdeb83e2")


@@ 47,11 49,11 @@
 ("helm-swoop" . "ee725284199f7be4171d460ae3c0f766e914e84b")
 ("helpful" . "e2609e4ae9e058bd8be6239681b2f22195628f28")
 ("ht.el" . "66c5f9131242697fabaede5566d87ecda4c14b1f")
 ("lcr" . "c14f40692292d59156c7632dbdd2867c086aa75f")
 ("ledger-mode" . "1b384d509798691a6afe6434ab2c1d799c75cde0")
 ("let-alist" . "57561d7d9267da48e8b7ab1f3bd45c9d05951289")
 ("log4e" . "c69424e407be0d9d0e54b427d8b18b1ac5a607e2")
 ("loop.el" . "e22807f83a0890dc8a904c51ee0742c34efccc6c")
 ("lsp-haskell" . "64106be79350f9ce6903d22c66b29761dadb5001")
 ("lsp-mode" . "ed5332c403ac9fb550d0dd83cd93410e7464f6bc")
 ("lsp-ui" . "c8fa40c0f9c65877d1cabe1739e5f787adb24898")
 ("magit" . "1b9995238fe3136217c40b8836311bc98b12897c")


@@ 62,16 64,16 @@
 ("ob-async" . "80a30b96a007d419ece12c976a81804ede340311")
 ("ob-mongo" . "371bf19c7c10eab2f86424f8db8ab685997eb5aa")
 ("ob-restclient.el" . "53376667eeddb1388fd6c6976f3222e7c8adcd46")
 ("org" . "a01a8f55d8bf259ebecc050c162c48e29da13bee")
 ("org" . "044e9718c18be7c1faab6dcf0c8b1cea1761530e")
 ("org-bullets" . "c19b13be00df8d8dc596e4f1aef4a094b08ac801")
 ("org-download" . "10c9d7c8eed928c88a896310c882e3af4d8d0f61")
 ("org-edna" . "85ab346e433d8b58f6a8c89b19a49e40cb31625a")
 ("org-evil" . "3b4620edc606412ef75c0b5aa637af22486eb126")
 ("org-mru-clock" . "50bf0ec93b3c60eaed7272149bd317bba69a5b6f")
 ("org-ql" . "0d6523f85b48080582a84b1dc1213f80de40d3c6")
 ("org-super-agenda" . "a87ca11fbbe72ab6c1c4c3b55ae9e1e93ebfb8ba")
 ("org-web-tools" . "993dca7f8afe7afffa0d62983fb7018481d886fc")
 ("org-wild-notifier.el" . "5d2ae4cea4f242b029abe1aa65c44b243087ca0c")
 ("orgit" . "1e578f8cf97b07835f02858f05a094ae9a5e99bb")
 ("origami.el" . "1f38085c8f9af7842765ed63f7d6dfe4dab59366")
 ("ov" . "fae7215b3dedba2a9ced145284332e4609bfdc38")
 ("page-break-lines" . "2e1d274e11071bb8daea4d6f4c0369c84466de7a")


@@ 86,7 88,7 @@
 ("seq" . "095fb15a3baa082079799dd36b6caccdb062cb90")
 ("solarized-emacs" . "55cd77b61b6968048c61e13358ba487d217f24c0")
 ("spinner" . "2daa167bec1c7566d662d48613a94453536b524a")
 ("straight.el" . "b0d455f4364c6d3a91f3ae7bde6b31c1212c04e7")
 ("straight.el" . "cb7935dcfc636b5606e92a5fbd1022b39195a92a")
 ("swiper" . "30adc93d5a7745463bb1f3c6905aead59e5f6be9")
 ("sx.el" . "49358eae36dd4bb5b9207313b30df085e7f25cef")
 ("transient" . "450d0f869fed3997e19b048b0207cd8d1cdbea8c")