added internal package loading path
This commit is contained in:
parent
f81249970b
commit
c1ecc6d6c8
23
etc/conf.org
23
etc/conf.org
|
@ -7,6 +7,7 @@ This is my personal emacs config. It is quite massive. Please use the table of c
|
||||||
- [[#config-structure][config structure]]
|
- [[#config-structure][config structure]]
|
||||||
- [[#library][library]]
|
- [[#library][library]]
|
||||||
- [[#external][external]]
|
- [[#external][external]]
|
||||||
|
- [[#internal][internal]]
|
||||||
- [[#macros][macros]]
|
- [[#macros][macros]]
|
||||||
- [[#functions][functions]]
|
- [[#functions][functions]]
|
||||||
- [[#interactive][interactive]]
|
- [[#interactive][interactive]]
|
||||||
|
@ -101,6 +102,16 @@ This is code that is used generally throughout the emacs config
|
||||||
(use-package sound-wav
|
(use-package sound-wav
|
||||||
:straight t)
|
:straight t)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
** internal
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(defvar nd/local-pkg-directory
|
||||||
|
(expand-file-name (convert-standard-filename "local/share/")
|
||||||
|
user-emacs-directory))
|
||||||
|
|
||||||
|
(defun nd/expand-local-pkg-directory (path)
|
||||||
|
(expand-file-name (convert-standard-filename path)
|
||||||
|
nd/local-pkg-directory))
|
||||||
|
#+END_SRC
|
||||||
** macros
|
** macros
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
;; lovingly stolen from aaron harris
|
;; lovingly stolen from aaron harris
|
||||||
|
@ -993,7 +1004,7 @@ This adds support for csv files. Almost makes them editable like a spreadsheet.
|
||||||
*** Unix Shell
|
*** Unix Shell
|
||||||
No custom code here, but flycheck needs =shellcheck= (a Haskell program). On Arch (or any other distro that loves dynamic binding) easiest way to install is via =stack install ShellCheck=
|
No custom code here, but flycheck needs =shellcheck= (a Haskell program). On Arch (or any other distro that loves dynamic binding) easiest way to install is via =stack install ShellCheck=
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(add-to-list 'load-path "~/.emacs.d/dvl/essh/")
|
(add-to-list 'load-path (nd/expand-local-pkg-directory "essh"))
|
||||||
(require 'essh)
|
(require 'essh)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** SQL
|
*** SQL
|
||||||
|
@ -1034,7 +1045,7 @@ Save all org buffers 1 minute before the hour.
|
||||||
*** libraries
|
*** libraries
|
||||||
Org extras
|
Org extras
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(add-to-list 'load-path "~/.emacs.d/dvl/org-x/")
|
(add-to-list 'load-path (nd/expand-local-pkg-directory "org-x"))
|
||||||
(require 'org-x)
|
(require 'org-x)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** buffer interface
|
** buffer interface
|
||||||
|
@ -1251,7 +1262,7 @@ Taskjuggler is provided by an external package that provides the command line to
|
||||||
(require 'ox-taskjuggler)
|
(require 'ox-taskjuggler)
|
||||||
|
|
||||||
;; from here: https://www.skamphausen.de/cgi-bin/ska/taskjuggler-mode.el
|
;; from here: https://www.skamphausen.de/cgi-bin/ska/taskjuggler-mode.el
|
||||||
(add-to-list 'load-path "~/.emacs.d/dvl/taskjuggler")
|
(add-to-list 'load-path (nd/expand-local-pkg-directory "taskjuggler"))
|
||||||
(require 'taskjuggler-mode)
|
(require 'taskjuggler-mode)
|
||||||
|
|
||||||
(setq org-taskjuggler-target-version 3.6
|
(setq org-taskjuggler-target-version 3.6
|
||||||
|
@ -1260,7 +1271,7 @@ Taskjuggler is provided by an external package that provides the command line to
|
||||||
org-taskjuggler-project-tag "τprj"
|
org-taskjuggler-project-tag "τprj"
|
||||||
org-taskjuggler-resource-tag "τres")
|
org-taskjuggler-resource-tag "τres")
|
||||||
|
|
||||||
(add-to-list 'load-path "~/.emacs.d/dvl/org-tj3")
|
(add-to-list 'load-path (nd/expand-local-pkg-directory "org-tj3"))
|
||||||
(require 'org-tj3)
|
(require 'org-tj3)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** gtd implementation
|
** gtd implementation
|
||||||
|
@ -2669,7 +2680,7 @@ In these cases, it is nice to know what happened during each cycle, so force not
|
||||||
Org mode is great and all, but in many cases, text files just won't cut it. Hardcore data analysis is one of them, so make functions to shove org files (specifically archive files) into a sqlite database
|
Org mode is great and all, but in many cases, text files just won't cut it. Hardcore data analysis is one of them, so make functions to shove org files (specifically archive files) into a sqlite database
|
||||||
**** load path
|
**** load path
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(add-to-list 'load-path "~/.emacs.d/dvl/org-sql/")
|
(add-to-list 'load-path (nd/expand-local-pkg-directory "org-sql"))
|
||||||
(require 'org-sql)
|
(require 'org-sql)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
**** customized variables
|
**** customized variables
|
||||||
|
@ -2704,7 +2715,7 @@ These are variables that I set for my use but will not go into the eventual pack
|
||||||
** tomato mode
|
** tomato mode
|
||||||
This really means "super awesome pomodoro implementation." =Tomato-mode= sounds cooler and more emacs like.
|
This really means "super awesome pomodoro implementation." =Tomato-mode= sounds cooler and more emacs like.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(add-to-list 'load-path "~/.emacs.d/dvl/org-tomato/")
|
(add-to-list 'load-path (nd/expand-local-pkg-directory "org-tomato"))
|
||||||
(require 'org-tomato)
|
(require 'org-tomato)
|
||||||
|
|
||||||
(setq org-tomato-timer-sound (no-littering-expand-etc-file-name
|
(setq org-tomato-timer-sound (no-littering-expand-etc-file-name
|
||||||
|
|
Loading…
Reference in New Issue