summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore9
-rw-r--r--bookmarks20
-rw-r--r--configuration.el380
-rw-r--r--configuration.org752
-rw-r--r--custom-settings.el25
-rw-r--r--init.el189
-rw-r--r--savehist23
7 files changed, 1206 insertions, 192 deletions
diff --git a/.gitignore b/.gitignore
index 3cc46f8..5ccc601 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,12 @@ elpa
.\#*
auto-save-list/
recentf
+savehist
+.lsp-session-v1
+ac-comphist.dat
+ido.last
+network-security.data
+smex-items
+transient/
+elpy/
+eshell/
diff --git a/bookmarks b/bookmarks
index 18b6b38..decb83d 100644
--- a/bookmarks
+++ b/bookmarks
@@ -4,17 +4,17 @@
;;; -*- End Of Bookmark File Format Version Stamp -*-
(("org-capture-last-stored-marker"
(filename . "~/Nextcloud/org/todo.org")
- (front-context-string . "** TODO Carry on")
- (rear-context-string . "ily\n* Computing\n")
- (position . 118))
+ (front-context-string . "** TODO [#A] Boo")
+ (rear-context-string . "n>\n\n* DfT Tasks\n")
+ (position . 1580))
("org-refile-last-stored"
(filename . "~/Nextcloud/org/todo.org")
- (front-context-string . "** TODO Carry on")
- (rear-context-string . "ily\n* Computing\n")
- (position . 118))
+ (front-context-string . "** TODO [#A] Boo")
+ (rear-context-string . "n>\n\n* DfT Tasks\n")
+ (position . 1580))
("org-capture-last-stored"
- (filename . "~/Nextcloud/org/todo.org")
- (front-context-string . "* TODO Carry on ")
- (rear-context-string . " Jan from work \n")
- (position . 1302))
+ (filename . "~/Nextcloud/org/journal.org")
+ (front-context-string . "**** Alex Warren")
+ (rear-context-string . "12-10 Tuesday]]\n")
+ (position . 1626))
) \ No newline at end of file
diff --git a/configuration.el b/configuration.el
new file mode 100644
index 0000000..562a81a
--- /dev/null
+++ b/configuration.el
@@ -0,0 +1,380 @@
+(require 'package)
+
+(setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/")
+ ("marmalade" . "https://marmalade-repo.org/packages/")
+ ("melpa" . "https://melpa.org/packages/")
+ ("org" . "https://orgmode.org/elpa/")))
+
+(defvar my-packages '(ac-cider
+ ac-js2
+ ag
+ atomic-chrome
+ auto-complete
+ beacon
+ blacken
+ browse-kill-ring
+ cider
+ clj-refactor
+ clojure-mode
+ coffee-mode
+ counsel-jq
+ comment-tags
+ darktooth-theme
+ dired-narrow
+ diminish
+ dumb-jump
+ edit-indirect
+ editorconfig
+ elpy
+ elfeed
+ elfeed-goodies
+ enh-ruby-mode
+ erc-image
+ evil
+ evil-escape
+ evil-leader
+ evil-mc
+ evil-numbers
+ evil-surround
+ exec-path-from-shell
+ forge
+ flycheck
+ flycheck-flow
+ go-mode
+ hide-mode-line
+ ido-vertical-mode
+ impatient-mode
+ ini-mode
+ ivy counsel swiper
+ json-mode
+ js2-mode
+ js2-refactor
+ js-comint
+ ledger-mode
+ lsp-mode
+ lsp-ui
+ lsp-ivy
+ magit
+ markdown-mode
+ package-lint
+ parinfer
+ pdf-tools
+ projectile
+ py-autopep8
+ org
+ rainbow-mode
+ rjsx-mode
+ ob-restclient
+ restclient
+ robe
+ sass-mode
+ spacemacs-theme
+ spaceline
+ smex
+ synosaurus
+ tide
+ visual-fill-column
+ web-mode
+ which-key
+ writegood-mode
+ writeroom-mode
+ yaml-mode
+ zenburn-theme))
+
+(dolist (p my-packages)
+ (unless (package-installed-p p)
+ (package-refresh-contents)
+ (package-install p))
+ (add-to-list 'package-selected-packages p))
+
+(setq savehist-file "~/.emacs.d/savehist")
+(savehist-mode +1)
+(setq savehist-save-minibuffer-history +1)
+(setq savehist-additional-vriables
+ '(kill-ring
+ search-ring
+ regexp-search-ring))
+
+(scroll-bar-mode -1)
+(tool-bar-mode -1)
+(tooltip-mode -1)
+(menu-bar-mode -1)
+(add-to-list 'default-frame-alist '(font . "Hack-8"))
+
+(if (string< emacs-version
+ "26.3")
+ (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3"))
+
+(setq gc-cons-threshold 20000000)
+
+(setq make-backup-files nil)
+
+(setq backup-directory-alist
+ `((".*" . ,temporary-file-directory)))
+(setq auto-save-file-name-transforms
+ `((".*" ,temporary-file-directory t)))
+
+(setq vc-follow-symlinks t)
+
+(setq sentence-end-double-space nil)
+
+(setq confirm-kill-emacs 'y-or-n-p)
+
+(put 'dired-find-alternate-file 'disabled nil)
+
+(setq-default dired-listing-switches "-alh")
+
+(setq dired-recursive-copies 'always)
+
+(require 'dired)
+(define-key dired-mode-map (kbd "/") 'dired-narrow-fuzzy)
+
+(fset 'yes-or-no-p 'y-or-n-p)
+
+(global-auto-revert-mode t)
+
+(defun zoom-in ()
+ (interactive)
+ (let ((x (+ (face-attribute 'default :height)
+ 10)))
+ (set-face-attribute 'default nil :height x)))
+
+(defun zoom-out ()
+ (interactive)
+ (let ((x (- (face-attribute 'default :height)
+ 10)))
+ (set-face-attribute 'default nil :height x)))
+
+(define-key global-map (kbd "C-1") 'zoom-in)
+(define-key global-map (kbd "C-0") 'zoom-out)
+
+(setq inhibit-splash-screen t)
+(setq inhibit-startup-message t)
+
+(display-time-mode t)
+
+(tool-bar-mode 0)
+
+(add-hook 'org-mode-hook 'auto-fill-mode)
+
+(put 'narrow-to-region 'disabled nil)
+
+(scroll-bar-mode -1)
+
+(setq save-place-file "~/.emacs.d/saveplace")
+(setq-default save-place t)
+(require 'saveplace)
+
+(exec-path-from-shell-initialize)
+
+(when (fboundp 'windmove-default-keybindings)
+ (windmove-default-keybindings))
+
+(when (fboundp 'winner-mode)
+ (winner-mode 1))
+
+(setq visible-bell t)
+
+(setq ange-ftp-try-passive-mode t)
+
+(add-hook 'eww-mode-hook 'scroll-lock-mode)
+
+(setq custom-file "~/.emacs.d/custom-settings.el")
+(load custom-file t)
+
+(ac-config-default)
+
+(setq-default tab-width 2)
+
+(setq-default tab-width 2 indent-tabs-mode nil)
+
+(setq-default indent-tabs-mode nil)
+
+(setq js-indent-level 2)
+(setq coffee-tab-width 2)
+(setq python-indent 2)
+(setq css-indent-offset 2)
+(add-hook 'sh-mode-hook
+ (lambda ()
+ (setq sh-basic-offset 2
+ sh-indentation 2)))
+(setq web-mode-markup-indent-offset 2)
+
+(add-hook 'after-init-hook #'global-flycheck-mode)
+
+(setq comment-tags-keymap-prefix (kbd "C-c t"))
+(with-eval-after-load "comment-tags"
+ (setq comment-tags-keyword-faces
+ `(;; A concrete TODO with actionable steps
+ ("TODO" . ,(list :weight 'bold :foreground "#DF5427"))
+ ;; A non-concrete TODO. We only know something is broken/amiss.
+ ("FIXME" . ,(list :weight 'bold :foreground "#DF5427"))
+ ;; Works, but is a code smell (quick fix). Might break down the line.
+ ("HACK" . ,(list :weight 'bold :foreground "#DF5427"))
+ ;; Assumption that needs to be verified.
+ ("CHECK" . ,(list :weight 'bold :foreground "#CC6437"))
+ ;; Use to highlight a regular, but especially important, comment.
+ ("NOTE" . ,(list :weight 'bold :foreground "#1FDA9A"))
+ ;; Use to highlight a regular, but especially important, comment.
+ ("INFO" . ,(list :weight 'bold :foreground "#1FDA9A"))))
+ (setq comment-tags-comment-start-only t
+ comment-tags-require-colon t
+ comment-tags-case-sensitive t
+ comment-tags-show-faces t
+ comment-tags-lighter nil))
+(add-hook 'prog-mode-hook 'comment-tags-mode)
+
+(define-key global-map (kbd "RET") 'newline-and-indent)
+
+(show-paren-mode t)
+
+(add-hook 'before-save-hook '(lambda()
+ (when (not (or (derived-mode-p 'markdown-mode)))
+ (delete-trailing-whitespace))))
+
+(add-hook 'prog-mode-hook #'hs-minor-mode)
+
+(add-hook 'prog-mode-hook '(lambda ()
+ (if (version<= emacs-version "26.0.50")
+ (linum-mode)
+ (display-line-numbers-mode))))
+
+(elpy-enable)
+;;(setq elpy-rpc-python-command "~/.virtualenvs/elpy-rpc/bin/python3")
+
+(require 'py-autopep8)
+(add-hook 'elpy-mode-hook 'py-autopep8-enable-on-save)
+
+(setq python-shell-interpreter "ptipython"
+ python-shell-interpreter-args "console --simple-prompt"
+ python-shell-prompt-detect-failure-warning nil)
+(add-to-list 'python-shell-completion-native-disabled-interpreters
+ "ptipython")
+
+(when (require 'flycheck nil t)
+ (setq elpy-modules (delq 'elpy-module-flymake elpy-modules))
+ (add-hook 'elpy-mode-hook 'flycheck-mode))
+
+(require 'lsp-mode)
+(add-to-list 'auto-mode-alist '("\\.go\\'" . go-mode))
+(add-hook 'go-mode-hook 'lsp-deferred)
+(require 'go-autocomplete)
+(require 'auto-complete-config)
+(ac-config-default)
+
+(global-set-key "\C-cl" 'org-store-link)
+(global-set-key "\C-ca" 'org-agenda)
+(global-set-key "\C-cb" 'org-iswitchb)
+(global-set-key "\C-cc" 'org-capture)
+
+(setq calendar-date-style "european")
+
+;; use fast selection
+(setq org-use-fast-todo-selection t)
+
+;; switch state without normal processing
+(setq org-treat-S-cursor-todo-selection-as-state-change nil)
+
+;; basic agenda stuff
+(setq org-sort-agenda-notime-is-late nil)
+(setq org-directory "~/Nextcloud/org")
+(setq org-agenda-files '("~/Nextcloud/org"))
+(setq org-default-notes-file (concat org-directory "/refile.org"))
+(setq diary-file "~/Nextcloud/org/diary")
+(setq org-agenda-include-diary t)
+(setq org-agenda-skip-deadline-if-done t)
+(setq org-reverse-note-order t)
+(setq org-sort-agenda-notime-is-late nil)
+
+(setq org-archive-location "~/Nextcloud/org/archive.org::* From %s")
+
+(setq org-refile-targets (quote ((nil :maxlevel . 9)
+ (org-agenda-files :maxlevel . 9))))
+
+(setq org-agenda-custom-commands
+ (quote (("N" "Agenda and NEXT TODOs"
+ ((agenda "")
+ (todo "NEXT")))
+ ("y" "Agenda and All TODOS"
+ ((agenda "")
+ (alltodo ""))))))
+
+(define-key global-map "\C-cc" 'org-capture)
+(setq org-default-notes-file "~/Nextcloud/org/refile.org")
+(setq org-capture-templates
+ (quote (("t" "Todo" entry (file "~/Nextcloud/org/todo.org")
+ "* TODO %?")
+ ("j" "Journal" entry (file+datetree "~/Nextcloud/org/journal.org")
+ "* %?\nEntered on %U\n %i\n %a")
+ ("e" "Emacs Tip" entry (file+headline "~/Nextcloud/org/emacs-tips.org" "Emacs Tips")
+ "* %?\n %i\n %a"))))
+
+(setq org-todo-keywords
+ (quote ((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d)")
+ (sequence "WAITING(w@/!)" "HOLD(h@/!)" "|" "CANCELLED(c@/!)" "PHONE" "MEETING"))))
+
+(setq org-todo-keyword-faces
+ (quote (("TODO" :foreground "red" :weight bold)
+ ("NEXT" :foreground "blue" :weight bold)
+ ("DONE" :foreground "forest green" :weight bold)
+ ("WAITING" :foreground "orange" :weight bold)
+ ("HOLD" :foreground "magenta" :weight bold)
+ ("CANCELLED" :foreground "forest green" :weight bold)
+ ("MEETING" :foreground "forest green" :weight bold)
+ ("PHONE" :foreground "forest green" :weight bold))))
+
+;; tag stuff automatically dependent on a change of state
+(setq org-todo-state-tags-triggers
+ (quote (("CANCELLED" ("CANCELLED" . t))
+ ("WAITING" ("WAITING" . t))
+ ("HOLD" ("WAITING") ("HOLD" . t))
+ (done ("WAITING") ("HOLD"))
+ ("TODO" ("WAITING") ("CANCELLED") ("HOLD"))
+ ("NEXT" ("WAITING") ("CANCELLED") ("HOLD"))
+ ("DONE" ("WAITING") ("CANCELLED") ("HOLD")))))
+
+(setq org-priority-faces
+ '((?A . (:foreground "#CC0000" :background "#FFE3E3"))
+ (?B . (:foreground "#64992C" :background "#EBF4DD"))
+ (?C . (:foreground "#64992C" :background "#FFFFFF"))))
+
+(setq org-ellipsis "...")
+
+(ido-mode t)
+(ido-everywhere t)
+(setq ido-enable-flex-matching t)
+
+(ido-vertical-mode 1)
+(setq ido-vertical-define-keys 'C-n-and-C-p-only)
+(setq ido-vertical-show-count t)
+
+(setq enable-recursive-minibuffers t)
+(global-set-key (kbd "<f6>") 'ivy-resume)
+
+(setq ivy-count-format "(%d/%d) ")
+
+(setq ivy-wrap t)
+
+(global-set-key "\C-s" 'swiper)
+
+(global-set-key (kbd "C-x b") 'counsel-ibuffer)
+;; Run `counsel-ag` against the current directory and not against the
+;; whole project
+(global-set-key (kbd "C-c k") '(lambda()
+ (interactive)
+ (counsel-ag "" default-directory nil nil)))
+(global-set-key (kbd "C-x l") 'counsel-locate)
+(define-key minibuffer-local-map (kbd "C-r") 'counsel-minibuffer-history)
+
+(global-set-key (kbd "M-x") (lambda ()
+ (interactive)
+ (counsel-M-x "")))
+
+(add-hook 'pdf-view-mode-hook '(lambda()
+ (define-key pdf-view-mode-map "\C-s" 'isearch-forward)))
+
+(setq projectile-completion-system 'ivy)
+
+(setq mu4e-completing-read-function 'ivy-completing-read)
+
+(setq synosaurus-choose-method 'ivy-read)
diff --git a/configuration.org b/configuration.org
new file mode 100644
index 0000000..32b000a
--- /dev/null
+++ b/configuration.org
@@ -0,0 +1,752 @@
+;; Configuration for Emacs
+
+* Installation
+
+*Initial*
+
+Emacs configuration is usually done in the home directory in the
+=.emacs.d= folder. This holds true for Unix and Linux systems. For
+Windows, look it up [[https://www.gnu.org/software/emacs/manual/html_node/efaq-w32/Location-of-init-file.html][here]].
+
+=git clone git@github.com:munen/emacs.d.git ~/.emacs.d=
+
+*Dependencies*
+
+Emacs dependencies/libraries are managed via the internal [[https://www.gnu.org/software/emacs/manual/html_node/emacs/Packages.html#Packages][package
+management system]]. To initially install packages, open
+=~/.emacs.d/init.el=, refresh your package list with =M-x
+package-refresh-contents= and install everything using =M-x
+eval-buffer=.
+* Dependency management
+** Define package repositories(archives)
+
+#+BEGIN_SRC emacs-lisp
+ (require 'package)
+
+ (setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/")
+ ("marmalade" . "https://marmalade-repo.org/packages/")
+ ("melpa" . "https://melpa.org/packages/")
+ ("org" . "https://orgmode.org/elpa/")))
+#+END_SRC
+
+** Define packages that are to be installed
+
+List all used third-party packages. Most will be configured further
+down in this file, some are used with the default configuration.
+
+#+BEGIN_SRC emacs-lisp
+
+ (defvar my-packages '(ac-cider
+ ac-js2
+ ag
+ atomic-chrome
+ auto-complete
+ beacon
+ blacken
+ browse-kill-ring
+ cider
+ clj-refactor
+ clojure-mode
+ coffee-mode
+ counsel-jq
+ comment-tags
+ darktooth-theme
+ dired-narrow
+ diminish
+ dumb-jump
+ edit-indirect
+ editorconfig
+ elpy
+ elfeed
+ elfeed-goodies
+ enh-ruby-mode
+ erc-image
+ evil
+ evil-escape
+ evil-leader
+ evil-mc
+ evil-numbers
+ evil-surround
+ exec-path-from-shell
+ forge
+ flycheck
+ flycheck-flow
+ go-mode
+ hide-mode-line
+ ido-vertical-mode
+ impatient-mode
+ ini-mode
+ ivy counsel swiper
+ json-mode
+ js2-mode
+ js2-refactor
+ js-comint
+ ledger-mode
+ lsp-mode
+ lsp-ui
+ lsp-ivy
+ magit
+ markdown-mode
+ package-lint
+ parinfer
+ pdf-tools
+ projectile
+ py-autopep8
+ org
+ rainbow-mode
+ rjsx-mode
+ ob-restclient
+ restclient
+ robe
+ sass-mode
+ spacemacs-theme
+ spaceline
+ smex
+ synosaurus
+ tide
+ visual-fill-column
+ web-mode
+ which-key
+ writegood-mode
+ writeroom-mode
+ yaml-mode
+ zenburn-theme))
+#+END_SRC
+
+** Install packages
+#+BEGIN_SRC emacs-lisp
+ (dolist (p my-packages)
+ (unless (package-installed-p p)
+ (package-refresh-contents)
+ (package-install p))
+ (add-to-list 'package-selected-packages p))
+#+END_SRC
+* Basics
+** History
+#+BEGIN_SRC emacs-lisp
+(setq savehist-file "~/.emacs.d/savehist")
+(savehist-mode +1)
+(setq savehist-save-minibuffer-history +1)
+(setq savehist-additional-vriables
+ '(kill-ring
+ search-ring
+ regexp-search-ring))
+#+END_SRC
+** GUI
+#+BEGIN_SRC emacs-lisp
+ (scroll-bar-mode -1)
+ (tool-bar-mode -1)
+ (tooltip-mode -1)
+ (menu-bar-mode -1)
+ (add-to-list 'default-frame-alist '(font . "Hack-8"))
+#+END_SRC
+** Gnu Elpa TLS Fix
+Emacs 26.1 (for example in Debian Buster) requests the GNU Elpa repo
+with the wrong TLS version - which makes the request fail. This is a
+manual patch for older versions of Emacs. It's fixed from 26.3 and
+above upstream.
+#+BEGIN_SRC emacs-lisp
+ (if (string< emacs-version
+ "26.3")
+ (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3"))
+#+END_SRC
+** Gargabe Collection
+
+Allow 20MB of memory (instead of 0.76MB) before calling garbage
+collection. This means GC runs less often, which speeds up some
+operations.
+
+#+BEGIN_SRC emacs-lisp
+ (setq gc-cons-threshold 20000000)
+#+END_SRC
+** Do not create backup files
+#+BEGIN_SRC emacs-lisp
+ (setq make-backup-files nil)
+#+END_SRC
+** Auto-Save in =/tmp=
+Store backups and auto-saved files in =TEMPORARY-FILE-DIRECTORY= (which
+defaults to /tmp on Unix), instead of in the same directory as the
+file.
+#+BEGIN_SRC emacs-lisp
+ (setq backup-directory-alist
+ `((".*" . ,temporary-file-directory)))
+ (setq auto-save-file-name-transforms
+ `((".*" ,temporary-file-directory t)))
+#+END_SRC
+** Always follow symlinks
+ When opening a file, always follow symlinks.
+#+BEGIN_SRC emacs-lisp
+ (setq vc-follow-symlinks t)
+#+END_SRC
+** Sentences have one space after a period
+Don't assume that sentences should have two spaces after
+periods.
+#+BEGIN_SRC emacs-lisp
+ (setq sentence-end-double-space nil)
+#+END_SRC
+** Confirm before closing Emacs
+#+BEGIN_SRC emacs-lisp
+ (setq confirm-kill-emacs 'y-or-n-p)
+#+END_SRC
+** =dired-mode=
+Ability to use =a= to visit a new directory or file in =dired= instead
+of using =RET=. =RET= works just fine, but it will create a new buffer
+for /every/ interaction whereas =a= reuses the current buffer.
+#+BEGIN_SRC emacs-lisp
+ (put 'dired-find-alternate-file 'disabled nil)
+#+END_SRC
+
+Human readable units
+#+BEGIN_SRC emacs-lisp
+ (setq-default dired-listing-switches "-alh")
+#+END_SRC
+
+On =C=, recursively copy by default
+
+#+BEGIN_SRC emacs-lisp
+(setq dired-recursive-copies 'always)
+#+END_SRC
+
+*** =dired-narrow=
+
+=dired-narrow= of the [[https://github.com/Fuco1/dired-hacks][dired-hacks]] repository allows to dynamically
+narrow a dired buffer down to contents of interest. A demo can be seen
+[[http://pragmaticemacs.com/emacs/dynamically-filter-directory-listing-with-dired-narrow/][on this blog post]].
+
+#+BEGIN_SRC emacs-lisp
+ (require 'dired)
+ (define-key dired-mode-map (kbd "/") 'dired-narrow-fuzzy)
+#+END_SRC
+
+Commands:
+
+ - =/= starts fuzzy matching
+ - Use the dired buffer as usual
+ - =g= to go back to the complete file listing
+** Ask =y/n= instead of =yes/no=
+ This is a favorable shorthand.
+#+BEGIN_SRC emacs-lisp
+ (fset 'yes-or-no-p 'y-or-n-p)
+#+END_SRC
+** Auto revert files on change
+When something changes a file, automatically refresh the
+buffer containing that file so they can't get out of sync.
+
+#+BEGIN_SRC emacs-lisp
+(global-auto-revert-mode t)
+#+END_SRC
+** Shortcut for changing font-size
+#+BEGIN_SRC emacs-lisp
+ (defun zoom-in ()
+ (interactive)
+ (let ((x (+ (face-attribute 'default :height)
+ 10)))
+ (set-face-attribute 'default nil :height x)))
+
+ (defun zoom-out ()
+ (interactive)
+ (let ((x (- (face-attribute 'default :height)
+ 10)))
+ (set-face-attribute 'default nil :height x)))
+
+ (define-key global-map (kbd "C-1") 'zoom-in)
+ (define-key global-map (kbd "C-0") 'zoom-out)
+#+END_SRC
+** Disable startup message
+
+#+BEGIN_SRC emacs-lisp
+ (setq inhibit-splash-screen t)
+ (setq inhibit-startup-message t)
+#+END_SRC
+** Display the current time
+#+BEGIN_SRC emacs-lisp
+ (display-time-mode t)
+#+END_SRC
+** Do not display GUI Toolbar
+
+#+BEGIN_SRC emacs-lisp
+ (tool-bar-mode 0)
+#+END_SRC
+** Automatic Line Breaks
+
+Do not enable automatic line breaks for all text-mode based hooks,
+because several text-modes (markdown, mails) enjoy the pain of long
+lines. So here, I only add whitelisted modes sparingly. The other
+modes have a =visual-clean= configuration which makes the text look
+nice locally, at least.
+
+#+BEGIN_SRC emacs-lisp
+ (add-hook 'org-mode-hook 'auto-fill-mode)
+#+END_SRC
+** Enable Narrow To Region
+
+Enable narrow-to-region (C-x n n / C-x n w). This is disabled by
+default to not confuse beginners.
+
+#+BEGIN_SRC emacs-lisp
+ (put 'narrow-to-region 'disabled nil)
+#+END_SRC
+** Disable scroll bars
+#+BEGIN_SRC emacs-lisp
+(scroll-bar-mode -1)
+#+END_SRC
+** Remember the cursor position of files when reopening them
+#+BEGIN_SRC emacs-lisp
+ (setq save-place-file "~/.emacs.d/saveplace")
+ (setq-default save-place t)
+ (require 'saveplace)
+#+END_SRC
+** Set $MANPATH, $PATH and exec-path from shell even when started from GUI helpers like =dmenu= or =Spotlight=
+
+#+BEGIN_SRC emacs-lisp
+
+ (exec-path-from-shell-initialize)
+
+#+END_SRC
+** =windmove=
+
+Windmove is built into Emacs. It lets you move point from window to
+window using Shift and the arrow keys. This is easier to type than
+‘C-x o’ when there are multiple windows open.
+
+#+BEGIN_SRC emacs-lisp
+
+(when (fboundp 'windmove-default-keybindings)
+ (windmove-default-keybindings))
+
+#+END_SRC
+** =winner-mode=
+
+Allows to 'undo' (and 'redo') changes in the window configuration with
+the key commands ‘C-c left’ and ‘C-c right’.
+
+#+BEGIN_SRC emacs-lisp
+ (when (fboundp 'winner-mode)
+ (winner-mode 1))
+#+END_SRC
+
+Getting from many windows to one window is easy: 'C-x 1' will do it.
+But getting back to a delicate WindowConfiguration is difficult. This
+is where Winner Mode comes in: With it, going back to a previous
+session is easy.
+** Bell
+ Do not ring the system bell, but show a visible feedback.
+#+BEGIN_SRC emacs-lisp
+(setq visible-bell t)
+#+END_SRC
+** AngeFtp
+Try to use passive mode for FTP.
+
+Note: Some firewalls might not allow standard active mode. However:
+Some FTP Servers might not allow passive mode. So if there's problems
+when connecting to an FTP, try to revert to active mode.
+#+BEGIN_SRC emacs-lisp
+(setq ange-ftp-try-passive-mode t)
+#+END_SRC
+** eww
+ When entering eww, use cursors to scroll without changing point.
+#+BEGIN_SRC emacs-lisp
+ (add-hook 'eww-mode-hook 'scroll-lock-mode)
+#+END_SRC
+** Custom-File
+#+BEGIN_SRC emacs-lisp
+(setq custom-file "~/.emacs.d/custom-settings.el")
+(load custom-file t)
+#+END_SRC
+** Add guix packages to load-path
+* Programming
+** General
+*** Auto Complete
+https://github.com/auto-complete/auto-complete
+
+Basic Configuration
+#+BEGIN_SRC emacs-lisp
+ (ac-config-default)
+#+END_SRC
+*** Tabs
+Set tab width to 2 for all buffers
+
+#+BEGIN_SRC emacs-lisp
+ (setq-default tab-width 2)
+#+END_SRC
+
+Use 2 spaces instead of a tab.
+
+#+BEGIN_SRC emacs-lisp
+ (setq-default tab-width 2 indent-tabs-mode nil)
+#+END_SRC
+
+Indentation cannot insert tabs.
+
+#+BEGIN_SRC emacs-lisp
+ (setq-default indent-tabs-mode nil)
+#+END_SRC
+
+Use 2 spaces instead of tabs for programming languages.
+
+#+BEGIN_SRC emacs-lisp
+ (setq js-indent-level 2)
+ (setq coffee-tab-width 2)
+ (setq python-indent 2)
+ (setq css-indent-offset 2)
+ (add-hook 'sh-mode-hook
+ (lambda ()
+ (setq sh-basic-offset 2
+ sh-indentation 2)))
+ (setq web-mode-markup-indent-offset 2)
+#+END_SRC
+*** Syntax Checking
+
+http://www.flycheck.org/
+
+Enable global on the fly syntax checking through =flycheck=.
+
+#+BEGIN_SRC emacs-lisp
+ (add-hook 'after-init-hook #'global-flycheck-mode)
+#+END_SRC
+*** Manage TODO/FIXME/XXX comments
+
+https://github.com/vincekd/comment-tags
+
+=comment-tags= highlights and lists comment tags such as 'TODO', 'FIXME', 'XXX'.
+
+Commands (prefixed by =C-c t=):
+
+ - =b= to list tags in current buffer (comment-tags-list-tags-buffer).
+ - =a= to list tags in all buffers (comment-tags-list-tags-buffers).
+ - =s= to jump to tag in current buffer by a word or phrase using reading-completion (comment-tags-find-tags-buffer).
+ - =n= to jump to next tag from point (comment-tags-next-tag).
+ - =p= to jump to previous tag from point (comment-tags-previous-tag).
+
+#+BEGIN_SRC emacs-lisp
+ (setq comment-tags-keymap-prefix (kbd "C-c t"))
+ (with-eval-after-load "comment-tags"
+ (setq comment-tags-keyword-faces
+ `(;; A concrete TODO with actionable steps
+ ("TODO" . ,(list :weight 'bold :foreground "#DF5427"))
+ ;; A non-concrete TODO. We only know something is broken/amiss.
+ ("FIXME" . ,(list :weight 'bold :foreground "#DF5427"))
+ ;; Works, but is a code smell (quick fix). Might break down the line.
+ ("HACK" . ,(list :weight 'bold :foreground "#DF5427"))
+ ;; Assumption that needs to be verified.
+ ("CHECK" . ,(list :weight 'bold :foreground "#CC6437"))
+ ;; Use to highlight a regular, but especially important, comment.
+ ("NOTE" . ,(list :weight 'bold :foreground "#1FDA9A"))
+ ;; Use to highlight a regular, but especially important, comment.
+ ("INFO" . ,(list :weight 'bold :foreground "#1FDA9A"))))
+ (setq comment-tags-comment-start-only t
+ comment-tags-require-colon t
+ comment-tags-case-sensitive t
+ comment-tags-show-faces t
+ comment-tags-lighter nil))
+ (add-hook 'prog-mode-hook 'comment-tags-mode)
+#+END_SRC
+*** Auto-indent with the Return key
+#+BEGIN_SRC emacs-lisp
+ (define-key global-map (kbd "RET") 'newline-and-indent)
+#+END_SRC
+*** Highlight matching parenthesis
+#+BEGIN_SRC emacs-lisp
+ (show-paren-mode t)
+#+END_SRC
+*** Delete trailing whitespace
+Delete trailing whitespace in all modes. _Except_ when editing
+Markdown, because it uses [[http://daringfireball.net/projects/markdown/syntax#p][two trailing blanks]] as a signal to create a
+line break.
+#+BEGIN_SRC emacs-lisp
+ (add-hook 'before-save-hook '(lambda()
+ (when (not (or (derived-mode-p 'markdown-mode)))
+ (delete-trailing-whitespace))))
+#+END_SRC
+*** Code Folding
+Enable code folding for programming modes.
+- =zc=: Fold
+- =za=: Unfold
+- =zR=: Unfold everything
+#+BEGIN_SRC emacs-lisp
+(add-hook 'prog-mode-hook #'hs-minor-mode)
+#+END_SRC
+*** Line numbers
+Enable =linum-mode= for programming modes. For newer versions of
+Emacs, use =display-line-numbers-mode=, because it's _much_ faster.
+
+#+BEGIN_SRC emacs-lisp
+ (add-hook 'prog-mode-hook '(lambda ()
+ (if (version<= emacs-version "26.0.50")
+ (linum-mode)
+ (display-line-numbers-mode))))
+#+END_SRC
+** Python
+*** Basics
+#+BEGIN_SRC emacs-lisp
+
+(elpy-enable)
+;;(setq elpy-rpc-python-command "~/.virtualenvs/elpy-rpc/bin/python3")
+
+(require 'py-autopep8)
+(add-hook 'elpy-mode-hook 'py-autopep8-enable-on-save)
+
+(setq python-shell-interpreter "ptipython"
+ python-shell-interpreter-args "console --simple-prompt"
+ python-shell-prompt-detect-failure-warning nil)
+(add-to-list 'python-shell-completion-native-disabled-interpreters
+ "ptipython")
+
+(when (require 'flycheck nil t)
+ (setq elpy-modules (delq 'elpy-module-flymake elpy-modules))
+ (add-hook 'elpy-mode-hook 'flycheck-mode))
+#+END_SRC
+** Go
+*** Basics
+#+BEGIN_SRC emacs-lisp
+(require 'lsp-mode)
+(add-to-list 'auto-mode-alist '("\\.go\\'" . go-mode))
+(add-hook 'go-mode-hook 'lsp-deferred)
+(require 'go-autocomplete)
+(require 'auto-complete-config)
+(ac-config-default)
+#+END_SRC
+* org
+** General Config
+#+BEGIN_SRC emacs-lisp
+(global-set-key "\C-cl" 'org-store-link)
+(global-set-key "\C-ca" 'org-agenda)
+(global-set-key "\C-cb" 'org-iswitchb)
+(global-set-key "\C-cc" 'org-capture)
+
+(setq calendar-date-style "european")
+
+;; use fast selection
+(setq org-use-fast-todo-selection t)
+
+;; switch state without normal processing
+(setq org-treat-S-cursor-todo-selection-as-state-change nil)
+#+END_SRC
+** Agenda
+#+BEGIN_SRC emacs-lisp
+;; basic agenda stuff
+(setq org-sort-agenda-notime-is-late nil)
+(setq org-directory "~/Nextcloud/org")
+(setq org-agenda-files '("~/Nextcloud/org"))
+(setq org-default-notes-file (concat org-directory "/refile.org"))
+(setq diary-file "~/Nextcloud/org/diary")
+(setq org-agenda-include-diary t)
+(setq org-agenda-skip-deadline-if-done t)
+(setq org-reverse-note-order t)
+(setq org-sort-agenda-notime-is-late nil)
+
+(setq org-archive-location "~/Nextcloud/org/archive.org::* From %s")
+
+(setq org-refile-targets (quote ((nil :maxlevel . 9)
+ (org-agenda-files :maxlevel . 9))))
+
+(setq org-agenda-custom-commands
+ (quote (("N" "Agenda and NEXT TODOs"
+ ((agenda "")
+ (todo "NEXT")))
+ ("y" "Agenda and All TODOS"
+ ((agenda "")
+ (alltodo ""))))))
+#+END_SRC
+** Capture
+#+BEGIN_SRC emacs-lisp
+(define-key global-map "\C-cc" 'org-capture)
+(setq org-default-notes-file "~/Nextcloud/org/refile.org")
+(setq org-capture-templates
+ (quote (("t" "Todo" entry (file "~/Nextcloud/org/todo.org")
+ "* TODO %?")
+ ("j" "Journal" entry (file+datetree "~/Nextcloud/org/journal.org")
+ "* %?\nEntered on %U\n %i\n %a")
+ ("e" "Emacs Tip" entry (file+headline "~/Nextcloud/org/emacs-tips.org" "Emacs Tips")
+ "* %?\n %i\n %a"))))
+#+END_SRC
+** Tags and faces
+#+BEGIN_SRC emacs-lisp
+(setq org-todo-keywords
+ (quote ((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d)")
+ (sequence "WAITING(w@/!)" "HOLD(h@/!)" "|" "CANCELLED(c@/!)" "PHONE" "MEETING"))))
+
+(setq org-todo-keyword-faces
+ (quote (("TODO" :foreground "red" :weight bold)
+ ("NEXT" :foreground "blue" :weight bold)
+ ("DONE" :foreground "forest green" :weight bold)
+ ("WAITING" :foreground "orange" :weight bold)
+ ("HOLD" :foreground "magenta" :weight bold)
+ ("CANCELLED" :foreground "forest green" :weight bold)
+ ("MEETING" :foreground "forest green" :weight bold)
+ ("PHONE" :foreground "forest green" :weight bold))))
+
+;; tag stuff automatically dependent on a change of state
+(setq org-todo-state-tags-triggers
+ (quote (("CANCELLED" ("CANCELLED" . t))
+ ("WAITING" ("WAITING" . t))
+ ("HOLD" ("WAITING") ("HOLD" . t))
+ (done ("WAITING") ("HOLD"))
+ ("TODO" ("WAITING") ("CANCELLED") ("HOLD"))
+ ("NEXT" ("WAITING") ("CANCELLED") ("HOLD"))
+ ("DONE" ("WAITING") ("CANCELLED") ("HOLD")))))
+
+(setq org-priority-faces
+ '((?A . (:foreground "#CC0000" :background "#FFE3E3"))
+ (?B . (:foreground "#64992C" :background "#EBF4DD"))
+ (?C . (:foreground "#64992C" :background "#FFFFFF"))))
+
+(setq org-ellipsis "...")
+#+END_SRC
+
+
+
+;; custom commands on agenda buffer
+#+END_SRC
+* Search / Completion
+** =ido=
+
+=ido= means "Interactively Do Things". =ido= has a completion engine
+that's sensible to use everywhere. It is built-in and nice and could
+change a lot of defaults like =find-file= and switching buffers.
+
+It works well while not breaking Emacs defaults.
+
+#+BEGIN_SRC emacs-lisp
+ (ido-mode t)
+ (ido-everywhere t)
+ (setq ido-enable-flex-matching t)
+#+END_SRC
+
+** =ido-vertical-mode=
+
+https://github.com/creichert/ido-vertical-mode.el
+
+=ido-vertical-mode= makes =ido-mode= display vertically.
+
+#+BEGIN_SRC emacs-lisp
+(ido-vertical-mode 1)
+(setq ido-vertical-define-keys 'C-n-and-C-p-only)
+(setq ido-vertical-show-count t)
+#+END_SRC
+
+** Ivy/Counsel/Swiper
+
+https://github.com/abo-abo/swiper
+
+*Ivy*, a generic completion mechanism for Emacs.
+
+*Counsel*, a collection of Ivy-enhanced versions of common Emacs commands.
+
+*Swiper*, an Ivy-enhanced alternative to isearch.
+
+=Ivy= is an interactive interface for completion in Emacs. Therefore
+it overlaps in functionality with =ido=. While =Ivy= is more powerful,
+it breaks certain standard functionality. So =ido= is enabled globally
+by default and for certain tasks, =Ivy= overrides =ido=.
+
+Emacs uses completion mechanism in a variety of contexts: code, menus,
+commands, variables, functions, etc. Completion entails listing,
+sorting, filtering, previewing, and applying actions on selected
+items. When active, =ivy-mode= completes the selection process by
+narrowing available choices while previewing in the minibuffer.
+Selecting the final candidate is either through simple keyboard
+character inputs or through powerful regular expressions.
+
+*** Configuration
+
+#+BEGIN_SRC emacs-lisp
+ (setq enable-recursive-minibuffers t)
+ (global-set-key (kbd "<f6>") 'ivy-resume)
+#+END_SRC
+
+Show total amount of matches and the index of the current match
+
+#+BEGIN_SRC emacs-lisp
+(setq ivy-count-format "(%d/%d) ")
+#+END_SRC
+
+Wrap to the first result when on the last result and vice versa.
+
+#+BEGIN_SRC emacs-lisp
+(setq ivy-wrap t)
+#+END_SRC
+
+Enable =Swiper=
+
+#+BEGIN_SRC emacs-lisp
+ (global-set-key "\C-s" 'swiper)
+#+END_SRC
+
+Configure =Counsel=
+
+#+BEGIN_SRC emacs-lisp
+ (global-set-key (kbd "C-x b") 'counsel-ibuffer)
+ ;; Run `counsel-ag` against the current directory and not against the
+ ;; whole project
+ (global-set-key (kbd "C-c k") '(lambda()
+ (interactive)
+ (counsel-ag "" default-directory nil nil)))
+ (global-set-key (kbd "C-x l") 'counsel-locate)
+ (define-key minibuffer-local-map (kbd "C-r") 'counsel-minibuffer-history)
+#+END_SRC
+
+Next to counsel, there's also =smex= which is =M-x= combined with
+=ido=. =smex= has a better sorting algorithm than =Counsel= and having
+both installed means that we get the =Counsel= interface with =smex=
+sorting. Best of both worlds.
+
+By default, =counsel-M-x= starts with a =^=. More often than not, this
+will be in the way of me fuzzy matching a function. Therefore I'll
+start it with an empty string as argument.
+
+#+BEGIN_SRC emacs-lisp
+ (global-set-key (kbd "M-x") (lambda ()
+ (interactive)
+ (counsel-M-x "")))
+#+END_SRC
+
+*** Where =Ivy= doesn't work well
+
+**** Overwriting standard Emacs functionality
+
+Some basic features are overwritten when "everything" becomes an =Ivy=
+search buffer. For example:
+
+- When two =dired= buffers are open and files should be copied from
+ one to the other, one can use the =up= and =down= keys to toggle the
+ destination. When this is a search buffer, it will auto complete for
+ all local folders, instead. Since copying files is something I do
+ often, this already means I have to disable =Ivy= globally.
+
+- =Tramp= auto-completion doesn't work for me. I'm using =sudo:=, =ssh:=
+ and the likes a lot in =dired= mode. Auto completion when within
+ =Tramp= is broken for me, so I always have to type out the whole
+ connection string when =Ivy= is enabled for =dired=. Since this
+ includes missing auto-completion on remote systems and such, it's
+ another valid reason to disable =Ivy= globally.
+
+**** Disable Swiper where it is broken
+
+Ivy/Swiper cannot search in PDFs. It tries to search in the PDF source
+code. Therefore I fall back to using isearch within PDFs.
+
+#+BEGIN_SRC emacs-lisp
+ (add-hook 'pdf-view-mode-hook '(lambda()
+ (define-key pdf-view-mode-map "\C-s" 'isearch-forward)))
+#+END_SRC
+
+*** Improve other packages with ivy
+
+ Projectile completion (Default is =ido=)
+
+#+BEGIN_SRC emacs-lisp
+ (setq projectile-completion-system 'ivy)
+#+END_SRC
+
+ Mu4e "folder" and "from" completion (Default is =ido=)
+
+#+BEGIN_SRC emacs-lisp
+ (setq mu4e-completing-read-function 'ivy-completing-read)
+#+END_SRC
+
+ Synosaurus completion (Default is =ido=)
+
+#+BEGIN_SRC emacs-lisp
+ (setq synosaurus-choose-method 'ivy-read)
+#+END_SRC
diff --git a/custom-settings.el b/custom-settings.el
new file mode 100644
index 0000000..3bf1b0b
--- /dev/null
+++ b/custom-settings.el
@@ -0,0 +1,25 @@
+(custom-set-variables
+ ;; custom-set-variables was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ '(ansi-color-faces-vector
+ [default default default italic underline success warning error])
+ '(ansi-color-names-vector
+ ["black" "red3" "ForestGreen" "yellow3" "blue" "magenta3" "DeepSkyBlue" "gray50"])
+ '(custom-enabled-themes (quote (whiteboard)))
+ '(custom-safe-themes
+ (quote
+ ("8f97d5ec8a774485296e366fdde6ff5589cf9e319a584b845b6f7fa788c9fa9a" default)))
+ '(helm-completion-style (quote emacs))
+ '(org-sort-agenda-notime-is-late nil t)
+ '(package-selected-packages
+ (quote
+ (ac-cider magit blacken py-autopep8 flycheck elpy yasnippet company-lsp company lsp-ui go-autocomplete lsp-mode go-mode markdown-mode gruvbox-theme helm org cider slime evil)))
+ '(pdf-view-midnight-colors (quote ("#fdf4c1" . "#282828"))))
+(custom-set-faces
+ ;; custom-set-faces was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ )
diff --git a/init.el b/init.el
index 0f82d96..00655ca 100644
--- a/init.el
+++ b/init.el
@@ -1,72 +1,19 @@
-;; Minimise!
-(scroll-bar-mode -1)
-(tool-bar-mode -1)
-(tooltip-mode -1)
-(menu-bar-mode -1)
+;; Some combination of GNU TLS and Emacs fail to retrieve archive
+;; contents over https.
+;; https://www.reddit.com/r/emacs/comments/cdei4p/failed_to_download_gnu_archive_bad_request/etw48ux
+;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34341
+;; this is also included in the configuration.org file
+(if (and (version< emacs-version "26.3") (>= libgnutls-version 30604))
+ (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3"))
-
-;; Stop backup files
-(setq make-backup-files nil)
-
-;; Font
-(add-to-list 'default-frame-alist '(font . "Fira Code-13"))
-
-;; Packages
-(package-initialize)
-(require 'package)
-(add-to-list
- 'package-archives
- '("melpa" . "http://melpa.org/packages/") t)
-(add-to-list
- 'package-archives
- '("org" . "https://orgmode.org/elpa/") t)
(package-initialize)
-(add-to-list 'load-path "~/code/elisp/packages/")
-
-;;Helm
-(require 'helm-config)
-(helm-mode 1)
-
-;; Let's use helm-mini which gives us extras
-(global-set-key (kbd "C-x b") 'helm-mini)
-(global-set-key (kbd "M-x") 'helm-M-x)
-(global-set-key (kbd "M-y") 'helm-show-kill-ring)
-(setq helm-M-x-fuzzy-match t) ;; optional fuzzy matching for helm-M-x
-
-(setq helm-buffers-fuzzy-matching t
- helm-recentf-fuzzy-match t)
-
-;; The default "C-x c" is quite close to "C-x C-c", which quits Emacs.
-;; Changed to "C-c h". Note: We must set "C-c h" globally, because we
-;; cannot change `helm-command-prefix-key' once `helm-config' is loaded.
-(global-set-key (kbd "C-c h") 'helm-command-prefix)
-(global-unset-key (kbd "C-x c"))
-;; (define-key helm-map (kbd "<tab>") 'helm-execute-persistent-action) ; rebind tab to run persistent action
-;; (define-key helm-map (kbd "C-i") 'helm-execute-persistent-action) ; make TAB works in terminal
-;; (define-key helm-map (kbd "C-z") 'helm-select-action) ; list actions using C-z
-(when (executable-find "curl")
- (setq helm-google-suggest-use-curl-p t))
+(defun load-config()
+ "Load the actual configuration in literate 'org-mode' elisp."
+ (interactive)
+ (org-babel-load-file "~/.emacs.d/configuration.org"))
-(setq helm-split-window-in-side-p t ; open helm buffer inside current window, not occupy whole other window
- helm-buffers-fuzzy-matching t ; fuzzy matching buffer names when non--nil
- helm-move-to-line-cycle-in-source t ; move to end or beginning of source when reaching top or bottom of source.
- helm-ff-search-library-in-sexp t ; search for library in `require' and `declare-function' sexp.
- helm-scroll-amount 8 ; scroll 8 lines other window using M-<next>/M-<prior>
- helm-ff-file-name-history-use-recentf t)
-
-
-;; Set switch-buffer key
-(global-set-key (kbd "C-,") 'switch-to-buffer)
-
-;; save tonnes of history
-(setq savehist-file "~/.emacs.d/savehist")
-(savehist-mode +1)
-(setq savehist-save-minibuffer-history +1)
-(setq savehist-additional-vriables
- '(kill-ring
- search-ring
- regexp-search-ring))
+(load-config)
(custom-set-variables
@@ -78,123 +25,19 @@
[default default default italic underline success warning error])
'(ansi-color-names-vector
["black" "red3" "ForestGreen" "yellow3" "blue" "magenta3" "DeepSkyBlue" "gray50"])
- '(custom-enabled-themes (quote (gruvbox-dark-medium)))
+ '(custom-enabled-themes (quote (whiteboard)))
'(custom-safe-themes
(quote
("8f97d5ec8a774485296e366fdde6ff5589cf9e319a584b845b6f7fa788c9fa9a" default)))
'(helm-completion-style (quote emacs))
- '(org-sort-agenda-notime-is-late nil t)
+ '(org-sort-agenda-notime-is-late nil)
'(package-selected-packages
(quote
- (yasnippet company-lsp company lsp-ui go-autocomplete lsp-mode go-mode markdown-mode gruvbox-theme helm org cider slime evil))))
+ (ac-cider magit blacken py-autopep8 flycheck elpy yasnippet company-lsp company lsp-ui go-autocomplete lsp-mode go-mode markdown-mode gruvbox-theme helm org cider slime evil)))
+ '(pdf-view-midnight-colors (quote ("#fdf4c1" . "#282828"))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
-
-;; load org settings
-;;(load "/home/lemon/.emacs.d/orgsettings.el")
-
-(setq inferior-lisp-program "/usr/bin/sbcl")
-(setq slime-contribs '(slime-fancy))
-
-;; Org mode set up
-(global-set-key "\C-cl" 'org-store-link)
-(global-set-key "\C-ca" 'org-agenda)
-(global-set-key "\C-cb" 'org-iswitchb)
-(global-set-key "\C-cc" 'org-capture)
-
-;;date style
-(setq calendar-date-style "european")
-
-;; basic agenda stuff
-(setq org-directory "~/Nextcloud/org")
-(setq org-agenda-files '("~/Nextcloud/org"))
-(setq org-default-notes-file (concat org-directory "/refile.org"))
-(setq diary-file "~/Nextcloud/org/diary")
-(setq org-agenda-include-diary t)
-(setq org-agenda-skip-deadline-if-done t)
-(setq org-reverse-note-order t)
-(setq org-sort-agenda-notime-is-late nil)
-
-;; use fast selection
-(setq org-use-fast-todo-selection t)
-
-;; switch state without normal processing
-(setq org-treat-S-cursor-todo-selection-as-state-change nil)
-
-;; Capture shit
-(define-key global-map "\C-cc" 'org-capture)
-(setq org-default-notes-file "~/Nextcloud/org/refile.org")
-(setq org-capture-templates
- (quote (("t" "Todo" entry (file "~/Nextcloud/org/todo.org")
- "* TODO %?")
- ("j" "Journal" entry (file+datetree "~/Nextcloud/org/journal.org")
- "* %?\nEntered on %U\n %i\n %a")
- ("e" "Emacs Tip" entry (file+headline "~/Nextcloud/org/emacs-tips.org" "Emacs Tips")
- "* %?\n %i\n %a"))))
-
-(setq org-todo-keywords
- (quote ((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d)")
- (sequence "WAITING(w@/!)" "HOLD(h@/!)" "|" "CANCELLED(c@/!)" "PHONE" "MEETING"))))
-
-(setq org-todo-keyword-faces
- (quote (("TODO" :foreground "red" :weight bold)
- ("NEXT" :foreground "blue" :weight bold)
- ("DONE" :foreground "forest green" :weight bold)
- ("WAITING" :foreground "orange" :weight bold)
- ("HOLD" :foreground "magenta" :weight bold)
- ("CANCELLED" :foreground "forest green" :weight bold)
- ("MEETING" :foreground "forest green" :weight bold)
- ("PHONE" :foreground "forest green" :weight bold))))
-
-;; tag stuff automatically dependent on a change of state
-(setq org-todo-state-tags-triggers
- (quote (("CANCELLED" ("CANCELLED" . t))
- ("WAITING" ("WAITING" . t))
- ("HOLD" ("WAITING") ("HOLD" . t))
- (done ("WAITING") ("HOLD"))
- ("TODO" ("WAITING") ("CANCELLED") ("HOLD"))
- ("NEXT" ("WAITING") ("CANCELLED") ("HOLD"))
- ("DONE" ("WAITING") ("CANCELLED") ("HOLD")))))
-
-;; Format string for displaying dates in the daily/weekly agenda
-;; and in the timeline.
-;;(setq org-agenda-format-date
-;; (concat ; "\n"
-;;
-;; ;; (make-string (1- (window-width)) (string-to-char "_"))))
-;; (make-string 65 (string-to-char " "))
-;; "_"
-;; ;; (make-string 1 ?\u25AE)
-;; ))
-
- ;; Faces for specific Priorities (#A, #B and #C).
- (setq org-priority-faces
- '((?A . (:foreground "#CC0000" :background "#FFE3E3"))
- (?B . (:foreground "#64992C" :background "#EBF4DD"))
- (?C . (:foreground "#64992C" :background "#FFFFFF"))))
-
-;; use a single archive file for org
-(setq org-archive-location "~/Nextcloud/org/archive.org::* From %s")
-
-;; refiling properly (or generally because everything is included)
-(setq org-refile-targets (quote ((nil :maxlevel . 9)
- (org-agenda-files :maxlevel . 9))))
-
-(setq org-ellipsis "...")
-;; END OF ORG MODE STUFF
-
-;; custom commands on agenda buffer
-(setq org-agenda-custom-commands
- (quote (("N" "Agenda and NEXT TODOs"
- ((agenda "")
- (todo "NEXT")))
- ("y" "Agenda and All TODOS"
- ((agenda "")
- (alltodo ""))))))
-
-(require 'evil)
-(evil-mode 0)
diff --git a/savehist b/savehist
index ef47697..30b4780 100644
--- a/savehist
+++ b/savehist
@@ -1,15 +1,20 @@
;; -*- mode: emacs-lisp; coding: utf-8-unix -*-
;; Minibuffer history file, automatically generated by ‘savehist’.
-(setq savehist-minibuffer-history-variables '(helm-M-x-input-history search-ring regexp-history helm-occur-history org-read-date-history evil-ex-history extended-command-history yes-or-no-p-history file-name-history read-expression-history minibuffer-history))
-(setq helm-M-x-input-history '("org-time-st" "global-auto" "revert" "toggle" "eval" "dired" "toggle-tru" "eval" "expand-reg" "org-export" "eval"))
-(setq search-ring '("nex" "archive" "diary" "helm" "f" "#" "Go" "lsp-mode"))
+(setq savehist-minibuffer-history-variables '(ido-buffer-history swiper-history counsel-ibuffer-history counsel-M-x-history ido-file-history buffer-name-history Info-search-history helm-M-x-input-history search-ring regexp-history helm-occur-history org-read-date-history evil-ex-history extended-command-history yes-or-no-p-history file-name-history read-expression-history minibuffer-history))
+(setq ido-buffer-history '("reader.go" "ioutil.go" "reader_test.go"))
+(setq swiper-history '("auto-complete" #("auto-compl" 0 10 (ivy-index 2))))
+(setq counsel-M-x-history '(#("eval-buffer" 0 11 (ivy-index 0)) #("eshell" 0 6 (ivy-index 0)) #("comple" 0 6 (ivy-index 1)) #("gofm" 0 4 (ivy-index 0)) #("lsp" 0 3 (ivy-index 0)) #("elf" 0 3 (ivy-index 0))))
+(setq ido-file-history '("configuration.org" "reader_test.go" nil "reader_test.go" "reader.go" nil "reader.go" "." "configuration.org" "configuration.el" "init.el"))
+(setq buffer-name-history '("reader.go" "ioutil.go" "reader_test.go" "init.el" "npp"))
+(setq Info-search-history '("indent"))
+(setq helm-M-x-input-history '("eval-buffer" "evil-mode" "cal" "revert" "cal" "revert" "magit-st" "package-install" "p" "customize-theme" "kill-some" "auto" "auto-fill" "eval" "comment-box" "eval-b" "package-install" "package-delete" "el" "p" #("def" 0 3 (fontified t face font-lock-keyword-face)) "el" "package-install" #("from" 0 4 (face font-lock-keyword-face fontified t)) "el" #("Elpy" 0 4 (face header-line)) "pyv" #("Elpy" 0 4 (face header-line)) "pyvenv-" #("Elpy" 0 4 (face header-line)) "elp" "pyv" "py" "pyvenv" "el" "py" #("from" 0 4 (face font-lock-keyword-face fontified t)) #("Elpy" 0 4 (face header-line)) "el" "work" #("from" 0 4 (face font-lock-keyword-face fontified t)) "pyv" "pyven" "elp" "eval" #("from" 0 4 (face font-lock-keyword-face fontified t)) "py" "pyv" "elpy" "package-delete" "package-del" "package-install" "elpy-conf" "pyv" "elpy-con" "pyvenv-" "elpy-con" "eval-buffer" "package-install" "pyvenv-work" "list-" "doc-view" "find-file" "find-fi" "org-time-st" "global-auto" "revert" "toggle" "eval" "dired" "toggle-tru" "eval" "expand-reg" "org-export" "eval"))
+(setq search-ring '("smex" "history" "stars" "indent" "hide" "che" "TODO" "indent" "font" "elpy" "nex" "archive" "diary" "helm" "f" "#"))
(setq regexp-history '("org" "delete"))
(setq helm-occur-history '("org" "agenda" "delete"))
-(setq org-read-date-history '("15:00 " " " "15:00 " "10:00+1 " " " "14:00-15:00 " " " "2020-02-10 " "2020-02-28 " "2020-02-07 "))
+(setq org-read-date-history '(" " "15:00 " " " "15:00 " "10:00+1 " " " "14:00-15:00 " " " "2020-02-10 " "2020-02-28 " "2020-02-07 "))
(setq evil-ex-history '(#("w" 0 1 (ex-index 1)) #("eval-buffer" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11)) #("w" 0 1 (ex-index 1)) #("eval-buffer" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11)) #("w" 0 1 (ex-index 1)) #("eval-buffer" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11)) #("list-packages" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11) 11 12 (ex-index 12) 12 13 (ex-index 13)) #("eval-buffer" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11)) #("w" 0 1 (ex-index 1)) #("eval-buffer" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11)) #("w" 0 1 (ex-index 1)) #("eval-buffer" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11)) #("package-install" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11) 11 12 (ex-index 12) 12 13 (ex-index 13) 13 14 (ex-index 14) 14 15 (ex-index 15)) #("package-install lsp-ui" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11) 11 12 (ex-index 12) 12 13 (ex-index 13) 13 14 (ex-index 14) 14 15 (ex-index 15) 15 16 (ex-index 16) 16 17 (ex-index 17) 17 18 (ex-index 18) 18 19 (ex-index 19) 19 20 (ex-index 20) 20 21 (ex-index 21) 21 22 (ex-index 22)) #("eval-buffer" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11)) #("w" 0 1 (ex-index 1)) #("eval-buffer" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11)) #("w" 0 1 (ex-index 1)) #("list-packages" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11) 11 12 (ex-index 12) 12 13 (ex-index 13)) #("package-install" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11) 11 12 (ex-index 12) 12 13 (ex-index 13) 13 14 (ex-index 14) 14 15 (ex-index 15)) #("package-install go-mode" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11) 11 12 (ex-index 12) 12 13 (ex-index 13) 13 14 (ex-index 14) 14 15 (ex-index 15) 15 16 (ex-index 16) 16 17 (ex-index 17) 17 18 (ex-index 18) 18 19 (ex-index 19) 19 20 (ex-index 20) 20 21 (ex-index 21) 21 22 (ex-index 22) 22 23 (ex-index 23)) #("w" 0 1 (ex-index 1)) #("customize-themes" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11) 11 12 (ex-index 12) 12 13 (ex-index 13) 13 14 (ex-index 14) 14 15 (ex-index 15) 15 16 (ex-index 16)) #("package-install gruvbox" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11) 11 12 (ex-index 12) 12 13 (ex-index 13) 13 14 (ex-index 14) 14 15 (ex-index 15) 15 16 (ex-index 16) 16 17 (ex-index 17) 17 18 (ex-index 18) 18 19 (ex-index 19) 19 20 (ex-index 20) 20 21 (ex-index 21) 21 22 (ex-index 22) 22 23 (ex-index 23)) #("w" 0 1 (ex-index 1)) #("org-insert-link" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11) 11 12 (ex-index 12) 12 13 (ex-index 13) 13 14 (ex-index 14) 14 15 (ex-index 15)) #("w" 0 1 (ex-index 1)) #("customize-themes" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11) 11 12 (ex-index 12) 12 13 (ex-index 13) 13 14 (ex-index 14) 14 15 (ex-index 15) 15 16 (ex-index 16)) #("helm-occur" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10)) #("occur" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5)) #("w" 0 1 (ex-index 1)) #("e ~/Nextcloud/org/archive/emacs-tips.org" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11) 11 12 (ex-index 12) 12 13 (ex-index 13) 13 14 (ex-index 14) 14 15 (ex-index 15) 15 16 (ex-index 16) 16 17 (ex-index 17) 17 18 (ex-index 18) 18 19 (ex-index 19) 19 20 (ex-index 20) 20 21 (ex-index 21) 21 22 (ex-index 22) 22 23 (ex-index 23) 23 24 (ex-index 24) 24 25 (ex-index 25) 25 26 (ex-index 26) 26 27 (ex-index 27) 27 28 (ex-index 28) 28 29 (ex-index 29) 29 30 (ex-index 30) 30 31 (ex-index 31) 31 32 (ex-index 32) 32 33 (ex-index 33) 33 34 (ex-index 34) 34 35 (ex-index 35) 35 36 (ex-index 36) 36 37 (ex-index 37) 37 38 (ex-index 38) 38 39 (ex-index 39) 39 40 (ex-index 40)) #("eval-buffer" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11)) #("w" 0 1 (ex-index 1)) #("sp" 0 1 (ex-index 1) 1 2 (ex-index 2)) #("diary-mode" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10)) #("helm-mini" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9)) #("helm-find-files-history" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11) 11 12 (ex-index 12) 12 13 (ex-index 13) 13 14 (ex-index 14) 14 15 (ex-index 15) 15 16 (ex-index 16) 16 17 (ex-index 17) 17 18 (ex-index 18) 18 19 (ex-index 19) 19 20 (ex-index 20) 20 21 (ex-index 21) 21 22 (ex-index 22) 22 23 (ex-index 23)) #("w" 0 1 (ex-index 1)) #("eval-buffer" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11)) #("w" 0 1 (ex-index 1)) #("eval-buffer" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11)) #("w" 0 1 (ex-index 1)) #("eval-buffer" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11)) #("w" 0 1 (ex-index 1)) #("sp" 0 1 (ex-index 1) 1 2 (ex-index 2)) #("w" 0 1 (ex-index 1)) #("eval-buffer" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11)) #("w" 0 1 (ex-index 1)) #("eval-buffer" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11)) #("w" 0 1 (ex-index 1)) #("eval-buffer" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11)) #("w" 0 1 (ex-index 1)) #("vs" 0 1 (ex-index 1) 1 2 (ex-index 2)) #("w" 0 1 (ex-index 1)) #("W" 0 1 (ex-index 1)) #("w" 0 1 (ex-index 1)) #("diary-mode" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10)) #("customize" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9)) #("q" 0 1 (ex-index 1)) #("w" 0 1 (ex-index 1)) #("calendar-set-date-style" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11) 11 12 (ex-index 12) 12 13 (ex-index 13) 13 14 (ex-index 14) 14 15 (ex-index 15) 15 16 (ex-index 16) 16 17 (ex-index 17) 17 18 (ex-index 18) 18 19 (ex-index 19) 19 20 (ex-index 20) 20 21 (ex-index 21) 21 22 (ex-index 22) 22 23 (ex-index 23)) #("w" 0 1 (ex-index 1)) #("diary-mode" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10)) #("eval-buffer" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11)) #("w" 0 1 (ex-index 1)) #("q" 0 1 (ex-index 1)) #("w" 0 1 (ex-index 1)) #("q" 0 1 (ex-index 1)) #("helm-find-files-history" 0 1 (ex-index 1) 1 2 (ex-index 2) 2 3 (ex-index 3) 3 4 (ex-index 4) 4 5 (ex-index 5) 5 6 (ex-index 6) 6 7 (ex-index 7) 7 8 (ex-index 8) 8 9 (ex-index 9) 9 10 (ex-index 10) 10 11 (ex-index 11) 11 12 (ex-index 12) 12 13 (ex-index 13) 13 14 (ex-index 14) 14 15 (ex-index 15) 15 16 (ex-index 16) 16 17 (ex-index 17) 17 18 (ex-index 18) 18 19 (ex-index 19) 19 20 (ex-index 20) 20 21 (ex-index 21) 21 22 (ex-index 22) 22 23 (ex-index 23))))
-(setq extended-command-history '("org-time-stamp" "global-auto-revert-mode" "revert-buffer" "toggle-truncate-lines" "eval-buffer" "dired-undo" "expand-region-abbrevs" "org-export-dispatch" "package-install" "list-packages" "package-install" "markdown-mode" "list-packages" "org-toggle-sticky-agenda" "calendar" "recover-file"))
-(setq yes-or-no-p-history '("yes" "no" "yes" "no" "yes"))
-(setq file-name-history '("~/Nextcloud/org/archive.org" #("~/.emacs.d/init.el" 1 2 (match-part "/home/lemon/.emacs.d/init.el") 2 18 (match-part "/home/lemon/.emacs.d/init.el")) "~/Nextcloud/org/projects.org" #("~/go/src/github.com/hammerheadlemon/datamaps-go/reader/reader.go" 1 2 (match-part "/home/lemon/go/src/github.com/hammerheadlemon/datamaps-go/reader/reader.go") 2 64 (match-part "/home/lemon/go/src/github.com/hammerheadlemon/datamaps-go/reader/reader.go")) "~/Nextcloud/Journal/presents.md" "~/Nextcloud/org/archive/journal.org" "~/.emacs.d/orgsettings.el" "~/.emacs.d/init.el-old" "~/Nextcloud/org/emacs-diary" "~/Nextcloud/org/refile.org" "~/.emacs.d/#init.el#"))
-(setq minibuffer-history '("agen" "stamp" "all" "/home/lemon/.emac" "ag" "todo" "global-auto" "ini" "global-auto" "todo" #("*" 0 1 (fontified t org-category "archive" face org-level-1)) "pers" #("archive" 0 3 (fontified t face font-lock-comment-face) 3 7 (fontified t face font-lock-comment-face)) "ini" "arc" "/home/lemon/Nextcloud/org" "ini" "This one!" "https://www.amazon.co.uk/dp/B015OR7T66/ref=twister_B01K7N9XKW?_encoding=UTF8&psc=1" "ini" "agen" "this link" "https://www.linuxbabe.com/cloud-storage/access-nextcloud-files-webdav-ubuntu" "todo.org" #("journal" 0 7 (dired-filename t mouse-face highlight help-echo "mouse-2: visit this file in other window" fontified t)) #("*" 0 1 (fontified t org-category "todo" face org-level-1)) "todo" "Comp" "/home/lemon/Nextcloud/org" "ini" "/home/lemon/Nextcloud/org/" "projects.org" "pro" "/home/lemon/Nextc" "dired" "ini" "Per" "age" "person" "agen" "pro" "truncate-par" "wrap" "ini" "init.el" "sc" "switch" "tips" "ini" "scr" "proj" "/home/lemon/.emacs.d/" "export" "age" "reader.go" "go-mode" "reader" #("t" 0 1 (fontified t)) "*Packages*" "Comp" #("lsp-mode" 0 8 (tabulated-list-entry [("lsp-mode" face package-name font-lock-face package-name follow-link t package-desc #s(package-desc lsp-mode (20191208 140) "LSP mode" ((emacs (25 1)) (dash (2 14 1)) (dash-functional (2 14 1)) (f (0 20 0)) (ht (2 0)) (spinner (1 7 3)) (markdown-mode (2 3)) (lv (0))) tar "melpa" nil ((:commit . "bf089d24754684b558d67bc5f8f5e37b05ae5ca9") (:keywords "languages") (:authors ("Vibhav Pant, Fangrui Song, Ivan Yonchovski")) (:maintainer "Vibhav Pant, Fangrui Song, Ivan Yonchovski") (:url . "https://github.com/emacs-lsp/lsp-mode")) nil) action package-menu-describe-package) #("20191208.140" 0 12 (font-lock-face package-status-available)) #("available" 0 9 (font-lock-face package-status-available)) #("melpa" 0 5 (font-lock-face package-status-available)) #("LSP mode" 0 8 (font-lock-face package-description))] tabulated-list-id #s(package-desc lsp-mode (20191208 140) "LSP mode" ((emacs (25 1)) (dash (2 14 1)) (dash-functional (2 14 1)) (f (0 20 0)) (ht (2 0)) (spinner (1 7 3)) (markdown-mode (2 3)) (lv (0))) tar "melpa" nil ((:commit . "bf089d24754684b558d67bc5f8f5e37b05ae5ca9") (:keywords "languages") (:authors ("Vibhav Pant, Fangrui Song, Ivan Yonchovski")) (:maintainer "Vibhav Pant, Fangrui Song, Ivan Yonchovski") (:url . "https://github.com/emacs-lsp/lsp-mode")) nil) tabulated-list-column-name "Package" action package-menu-describe-package package-desc #s(package-desc lsp-mode (20191208 140) "LSP mode" ((emacs (25 1)) (dash (2 14 1)) (dash-functional (2 14 1)) (f (0 20 0)) (ht (2 0)) (spinner (1 7 3)) (markdown-mode (2 3)) (lv (0))) tar "melpa" nil ((:commit . "bf089d24754684b558d67bc5f8f5e37b05ae5ca9") (:keywords "languages") (:authors ("Vibhav Pant, Fangrui Song, Ivan Yonchovski")) (:maintainer "Vibhav Pant, Fangrui Song, Ivan Yonchovski") (:url . "https://github.com/emacs-lsp/lsp-mode")) nil) follow-link t font-lock-face package-name face package-name category default-button button (t))) #("t" 0 1 (fontified t)) "tips" "org-capture" "Comp" "Link which is also in Pocket" "https://arenzana.org/2019/12/emacs-go-mode-revisited/" "Insert" "ini" "dash-fun" "ini" "in" #("lsp-mode" 0 8 (button (t) category default-button face package-name font-lock-face package-name follow-link t package-desc #s(package-desc lsp-mode (20191208 140) "LSP mode" ((emacs (25 1)) (dash (2 14 1)) (dash-functional (2 14 1)) (f (0 20 0)) (ht (2 0)) (spinner (1 7 3)) (markdown-mode (2 3)) (lv (0))) tar "melpa" nil ((:commit . "bf089d24754684b558d67bc5f8f5e37b05ae5ca9") (:keywords "languages") (:authors ("Vibhav Pant, Fangrui Song, Ivan Yonchovski")) (:maintainer "Vibhav Pant, Fangrui Song, Ivan Yonchovski") (:url . "https://github.com/emacs-lsp/lsp-mode")) nil) action package-menu-describe-package tabulated-list-column-name "Package" tabulated-list-id #s(package-desc lsp-mode (20191208 140) "LSP mode" ((emacs (25 1)) (dash (2 14 1)) (dash-functional (2 14 1)) (f (0 20 0)) (ht (2 0)) (spinner (1 7 3)) (markdown-mode (2 3)) (lv (0))) tar "melpa" nil ((:commit . "bf089d24754684b558d67bc5f8f5e37b05ae5ca9") (:keywords "languages") (:authors ("Vibhav Pant, Fangrui Song, Ivan Yonchovski")) (:maintainer "Vibhav Pant, Fangrui Song, Ivan Yonchovski") (:url . "https://github.com/emacs-lsp/lsp-mode")) nil) tabulated-list-entry [("lsp-mode" face package-name font-lock-face package-name follow-link t package-desc #s(package-desc lsp-mode (20191208 140) "LSP mode" ((emacs (25 1)) (dash (2 14 1)) (dash-functional (2 14 1)) (f (0 20 0)) (ht (2 0)) (spinner (1 7 3)) (markdown-mode (2 3)) (lv (0))) tar "melpa" nil ((:commit . "bf089d24754684b558d67bc5f8f5e37b05ae5ca9") (:keywords "languages") (:authors ("Vibhav Pant, Fangrui Song, Ivan Yonchovski")) (:maintainer "Vibhav Pant, Fangrui Song, Ivan Yonchovski") (:url . "https://github.com/emacs-lsp/lsp-mode")) nil) action package-menu-describe-package) #("20191208.140" 0 12 (font-lock-face package-status-available)) #("available" 0 9 (font-lock-face package-status-available)) #("melpa" 0 5 (font-lock-face package-status-available)) #("LSP mode" 0 8 (font-lock-face package-description))])) "list-pac" "yasnipp" "company-ls" "company" "lsp-ui" "ini" "scra" "autocomplete" "Emacs" "reader" "read" #("auto-complete" 0 13 (tabulated-list-entry [("auto-complete" face package-name font-lock-face package-name follow-link t package-desc #s(package-desc auto-complete (20170125 245) "Auto Completion for GNU Emacs" ((popup (0 5 0)) (cl-lib (0 5))) nil nil "/home/lemon/.emacs.d/elpa/auto-complete-20170125.245" nil nil) action package-menu-describe-package) #("20170125.245" 0 12 (font-lock-face package-status-dependency)) #("dependency" 0 10 (font-lock-face package-status-dependency)) "" #("Auto Completion for GNU Emacs" 0 29 (font-lock-face package-description))] tabulated-list-id #s(package-desc auto-complete (20170125 245) "Auto Completion for GNU Emacs" ((popup (0 5 0)) (cl-lib (0 5))) nil nil "/home/lemon/.emacs.d/elpa/auto-complete-20170125.245" nil nil) tabulated-list-column-name "Package" action package-menu-describe-package package-desc #s(package-desc auto-complete (20170125 245) "Auto Completion for GNU Emacs" ((popup (0 5 0)) (cl-lib (0 5))) nil nil "/home/lemon/.emacs.d/elpa/auto-complete-20170125.245" nil nil) follow-link t font-lock-face package-name face package-name category default-button button (t))) #("go-autocomplete" 0 15 (face font-lock-constant-face fontified t)) "ini" "/home/lemon/go/src/github.com/hammerheadlemon/datamaps-go/reader/" "lsp-mode" "go-mode" "jou" "archi" "pres" "prese" "customize-the" "ini" "gruv" "scr" #("****" 0 3 (face org-level-4 fontified t) 3 4 (face org-level-4 fontified t)) "/home/lemon/Nextcloud/org/archive/jour"))
-(setq evil-jumps-history 'nil)
+(setq extended-command-history '("eval-buffer" "evil-mode" "calendar" "revert-buffer" "magit-status" "package-install" "pyvenv-workon" "customize-themes" "auto-fill-mode" "eval-buffer" "comment-box" "elpy-config" "pyvenv-deactivate" "pyvenv-activate" "package-delete" "list-packages" "doc-view-mode" "org-time-stamp" "global-auto-revert-mode" "toggle-truncate-lines" "dired-undo" "expand-region-abbrevs" "org-export-dispatch" "markdown-mode" "org-toggle-sticky-agenda" "recover-file"))
+(setq yes-or-no-p-history '("yes" "no" "yes" "no" "yes" "no" "yes" "no" "yes" "no" "yes" "no" "yes"))
+(setq file-name-history '("/home/lemon/.emacs.d/configuration.org" "/home/lemon/go/src/github.com/hammerheadlemon/datamaps-go/reader/reader_test.go" "~/.emacs.d/configuration.org" "/home/lemon/go/src/github.com/hammerheadlemon/datamaps-go/reader/reader_test.go" "/home/lemon/go/src/github.com/hammerheadlemon/datamaps-go/reader/reader.go" "~/.emacs.d/configuration.org" "/home/lemon/go/src/github.com/hammerheadlemon/datamaps-go/reader/reader.go" "/home/lemon/.emacs.d/configuration.org" "/home/lemon/.emacs.d/configuration.el" "/home/lemon/.emacs.d/init.el" "~/Desktop/copy_config.org" "~/.emacs.d/configuration.org" "~/.emacs.d/init.el" "~/.emacs.d/configuration.org" #("~/.emacs.d/init.el" 1 2 (match-part "/home/lemon/.emacs.d/init.el") 2 18 (match-part "/home/lemon/.emacs.d/init.el")) "~/Desktop/copy_config.org" "~/.emacs.d/configuration.org" #("~/Nextcloud/org/journal.org" 1 2 (match-part "/home/lemon/Nextcloud/org/journal.org") 2 27 (match-part "/home/lemon/Nextcloud/org/journal.org")) #("~/Nextcloud/org/todo.org" 1 2 (match-part "/home/lemon/Nextcloud/org/todo.org") 2 24 (match-part "/home/lemon/Nextcloud/org/todo.org")) "~/code/python/bcompiler-engine/engine/tests" "~/.gitignore_global" "~/code/python/bcompiler-engine" "~/.newsboat/urls" #("~/Nextcloud/org/projects.org" 1 2 (match-part "/home/lemon/Nextcloud/org/projects.org") 2 28 (match-part "/home/lemon/Nextcloud/org/projects.org")) "~/code/python/bcompiler-engine/" "~/code/python/bcompiler-engine/" "~/code/python/bcompiler-engine/engine/use_cases/output.py" "~/code/python/bcompiler-engine/engine/use_cases/output.py" "~/code/python/bcompiler-engine/engine/config.py" "~/code/python/bcompiler-engine/engine/config.py" "~/code/python/bcompiler-engine/engine/config.py" "~/Nextcloud/org/archive.org" #("~/go/src/github.com/hammerheadlemon/datamaps-go/reader/reader.go" 1 2 (match-part "/home/lemon/go/src/github.com/hammerheadlemon/datamaps-go/reader/reader.go") 2 64 (match-part "/home/lemon/go/src/github.com/hammerheadlemon/datamaps-go/reader/reader.go")) "~/Nextcloud/Journal/presents.md" "~/Nextcloud/org/archive/journal.org" "~/.emacs.d/orgsettings.el" "~/.emacs.d/init.el-old" "~/Nextcloud/org/emacs-diary" "~/Nextcloud/org/refile.org" "~/.emacs.d/#init.el#"))
+(setq minibuffer-history '("di" #("**" 0 1 (fontified t org-category "todo" face org-level-2) 1 2 (fontified t org-category "todo" face org-level-2)) #("*" 0 1 (fontified t face org-level-1 org-category "todo")) "agen" "age" "agen" "agenda" "agen" #("**" 0 1 (fontified t org-category "todo" face org-level-2) 1 2 (fontified t org-category "todo" face org-level-2)) ":WAITING:" #("**" 0 1 (fontified t face org-level-2 org-category "todo") 1 2 (fontified t face org-level-2 org-category "todo")) "TRAVEL" #("Book" 0 4 (fontified t face org-level-2 org-category "todo")) "tag" "agen" #("Jan" 0 3 (fontified t org-category "todo" org-todo-head #("TODO" 0 4 (face (:foreground "red" :weight bold))) face org-level-2)) #("TiME" 0 4 (fontified t)) "dft" "Type" #("**" 0 1 (fontified t org-category "todo" face org-level-2) 1 2 (fontified t org-category "todo" face org-level-2)) "priority" "todo" "ini" "copy_config.org" "todo" "Play Emacs like an instrument" "https://www.youtube.com/watch?v=gfZDwYeBlO4&list=LLYE9stlysY8RXHhVtzRZJoA&index=2&t=0s" "joun" "todo" "leading" "org-hide-lead" "ini" "org-hide" "todo" "org-hide" "sr" "todo" "Df" "ini" "org-hide-leading" "org-hide-lead" "todo" "org-hide-leading-stars" "org-hide" #("**" 0 1 (face org-hide fontified t) 1 2 (face org-level-2 fontified t)) "todo" "ini" "leading" "todo" "org-indent-mode" "org-indent" "pro" "sc" "ini" #("**" 0 1 (fontified t org-category "emacs-tips" face org-level-2) 1 2 (fontified t org-category "emacs-tips" face org-level-2)) "tips" "reload" "todo" "Documentation" "hel" #("test_master_from_org_templates" 0 30 (dired-filename t mouse-face highlight help-echo "mouse-2: visit this file in other window" fontified t)) #("**" 0 1 (fontified t org-category "todo" face org-hide) 1 2 (fontified t org-category "todo" face org-level-2)) "todo" #("import" 0 6 (fontified t face font-lock-keyword-face)) " *undo-tree*" "magit: bcompiler-engine" "*" "magit" #("space" 0 5 (fontified t)) "agen" #("file+datetree" 0 13 (fontified t)) "xml" "comp" "Organice" "https://github.com/200ok-ch/organice" "in" "info" "emacs" "indent-to" "indent" #("Dec" 0 3 (fontified t face diary)) "proj" "magit" "ini" #("Elpy" 0 4 (face header-line)) #("import" 0 6 (face font-lock-keyword-face fontified t)) "ini" #("def" 0 3 (fontified t face font-lock-keyword-face)) "scr" "elpy-test-runner" "elpy-test" "elpy-test-disc" "elpy-test" "Revert" "/home/lemon/code/python/bcompiler-engine/" #("Elpy" 0 4 (face header-line)) "py-auto" "ini" #("questions" 0 9 (fontified t line-prefix #(" " 0 6 (face org-indent)) wrap-prefix #(" " 0 6 (face org-indent) 6 8 (face org-indent)))) "proj"))