|
@@ -4,59 +4,45 @@
|
|
|
|
|
|
(setq debug-on-error t) ;; uncomment when there are problems
|
|
|
|
|
|
-; https://stackoverflow.com/questions/10092322/how-to-automatically-install-emacs-packages-by-specifying-a-list-of-package-name
|
|
|
-
|
|
|
-
|
|
|
(require 'package)
|
|
|
|
|
|
-; Where do we get packages?
|
|
|
+; Add MELPA (in addditon to ELPA and non-GNU ELPA)
|
|
|
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)
|
|
|
-(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t)
|
|
|
|
|
|
-; which packages do we want
|
|
|
-(setq package-list '(better-shell cyberpunk-theme guide-key helm helm-core magit notmuch ob-ipython org-plus-contrib htmlize password-store popup popwin twittering-mode which-key with-editor xah-fly-keys))
|
|
|
|
|
|
-; Old (pre 2019-10-26) list
|
|
|
-;(setq package-list '(annotate better-shell cyberpunk-theme guide-key helm helm-core magit git-commit ql magit-popup notmuch ob-ipython dash-functional org-plus-contrib org2blog htmlize metaweblog ox-hugo org password-store f dash popup popwin s treepy twittering-mode which-key with-editor async xah-fly-keys xah-lookup xml-rpc))
|
|
|
+;; Packages installed as of 2022-01-15
|
|
|
+;;
|
|
|
+ ;; cyberpunk-theme 1.22 installed Cyberpunk Color Theme
|
|
|
+ ;; guide-key 20150108.635 installed Guide the following key bindings automatically and dynamically
|
|
|
+ ;; helm 20220114.1641 installed Helm is an Emacs incremental and narrowing framework
|
|
|
+ ;; htmlize 1.57 installed Convert buffer text and decorations to HTML.
|
|
|
+ ;; magit 3.3.0 installed A Git porcelain inside Emacs
|
|
|
+ ;; notmuch 20220114.2112 installed run notmuch within emacs
|
|
|
+ ;; org-contrib 0.3 installed Unmaintained add-ons for Org-mode
|
|
|
+ ;; ox-hugo 20220114.1941 installed Hugo Markdown Back-End for Org Export Engine
|
|
|
+ ;; pass 20210203.810 installed Major mode for password-store.el
|
|
|
+ ;; password-store 20200328.1214 installed Password store (pass) support
|
|
|
+ ;; popwin 20210215.1849 installed Popup Window Manager
|
|
|
+ ;; which-key 3.5.1 installed Display available keybindings in popup
|
|
|
|
|
|
|
|
|
; activate all the packages (in particular autoloads)
|
|
|
(package-initialize)
|
|
|
|
|
|
-; fetch the list of packages available
|
|
|
-(unless package-archive-contents
|
|
|
- (package-refresh-contents))
|
|
|
-
|
|
|
-(setq load-prefer-newer t)
|
|
|
-
|
|
|
-; install the missing packages
|
|
|
-(dolist (package package-list)
|
|
|
- (unless (package-installed-p package)
|
|
|
- (package-install package)))
|
|
|
-
|
|
|
-
|
|
|
; Load xah-fly-keys early 'case its my fingers default now
|
|
|
+(add-to-list 'load-path "~/public/github/xah-fly-keys")
|
|
|
(require 'xah-fly-keys)
|
|
|
(xah-fly-keys-set-layout "qwerty")
|
|
|
(xah-fly-keys 1)
|
|
|
(global-set-key (kbd "<home>") 'xah-fly-insert-mode-activate)
|
|
|
|
|
|
-
|
|
|
-; Make sure we use the right version of org-mode:
|
|
|
+; The fun starts here !!!
|
|
|
+; pull in my main .org init file.
|
|
|
;
|
|
|
-; This has to happen here (not in george.org loaded later in this file)
|
|
|
-; to make sure we load the latest verson of org, not the system/default
|
|
|
-; version.
|
|
|
-
|
|
|
-
|
|
|
-;(add-to-list 'load-path "/home/gmj/public/ob-ipython")
|
|
|
-
|
|
|
-; pull in my main .org init file. This is where most of the fun is.
|
|
|
(org-babel-load-file "~/.emacs.d/george.org")
|
|
|
|
|
|
; because junk I don't want to share in git keeps showing up here
|
|
|
(setq custom-file "~/elisp-secret/emacs-custom.el")
|
|
|
-
|
|
|
; Create empty custom file if it does not exist
|
|
|
(when (not (file-exists-p custom-file))
|
|
|
(with-temp-buffer (write-file custom-file)))
|
|
@@ -65,4 +51,3 @@
|
|
|
(put 'downcase-region 'disabled nil)
|
|
|
|
|
|
(message "init.el finished.")
|
|
|
-
|