Commit dabeed7d authored by Duncan Bayne's avatar Duncan Bayne

Upgrade ALL THE THINGS

parent a730b5aa

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

(setq inhibit-splash-screen t)
(setq custom-file "~/emacs.d/22-custom.el")
(setq custom-file "~/.emacs.d/22-custom.el")
(require 'package)
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
......
......@@ -23,7 +23,7 @@
(defun utils:create-or-switch-to-term (terminal-name)
"Creates or switches to a named terminal, earmuffing the name if it isn't already."
(interactive (list (ido-completing-read "Term buffer: " (utils:term-buffer-names))))
(interactive (list (ido-completing-read "Switch to term buffer: " (utils:term-buffer-names))))
(if (string= "" terminal-name)
(message "Refusing to create buffer with empty name")
(let ((new-buffer-name (utils:earmuffenate terminal-name)))
......@@ -133,5 +133,14 @@
(term-send-raw-string "syncthing\n"))))
(defun utils:safe-shell-command (command)
"Runs a shell command, and raises an error if it fails."
(if (not (= 0 (shell-command command)))
(error (concat "shell-command failed: " command))))
(defun utils:cd (directory-name)
"Prompt user to enter a string, with input history support."
(interactive
(list
(read-directory-name "Change into directory:")))
(cd directory-name)
(term-send-raw-string (concat "cd " directory-name "\n")))
......@@ -7,7 +7,6 @@
;; + https://www.masteringemacs.org/article/disabling-prompts-emacs
;; + http://www.emacswiki.org/emacs/EmacsNiftyTricks
;; + http://xahlee.org/emacs/emacs_make_modern.html
;;
(utils:add-to-load-path '("~/.emacs.d/ws-trim"))
......@@ -83,18 +82,15 @@
(windmove-default-keybindings)
(global-set-key (kbd "C-<return>") 'execute-extended-command)
(global-set-key (kbd "C--") 'text-scale-decrease)
(global-set-key (kbd "C-+") 'text-scale-increase)
(global-set-key (kbd "C-x C-r") 'sudo-edit)
(global-set-key (kbd "C-x M-a") 'utils:display-ansi-colors)
(global-set-key (kbd "C-x w") 'elfeed)
(global-set-key (kbd "M-s") 'avy-goto-word-1)
(global-set-key (kbd "s-b") 'browse-url-at-point)
(global-set-key (kbd "s-f") 'utils:visit-buffer-named-in-region)
(google-this-mode 1)
(setq mouse-drag-copy-region t)
(global-set-key (kbd "C--") 'text-scale-decrease)
(global-set-key (kbd "C-+") 'text-scale-increase)
(global-set-key (kbd "C-x C-r") 'sudo-edit)
(global-set-key (kbd "C-x M-a") 'utils:display-ansi-colors)
(global-set-key (kbd "C-x w") 'elfeed)
(global-set-key (kbd "M-s") 'avy-goto-word-1)
(global-set-key (kbd "s-b") 'browse-url-at-point)
(global-set-key (kbd "s-f") 'utils:visit-buffer-named-in-region)
(global-set-key (kbd "C-c RET") 'utils:cd)
(smartparens-global-mode)
(show-smartparens-global-mode t)
......
......@@ -6,7 +6,7 @@
(mapc '(lambda (ext) (add-to-list 'ffip-patterns ext))
'("*"))
(setq ffip-limit 102400)
(setq ffip-find-options "-not -wholename '*.a' -not -regex '.*\/\.git\/.*' -not -regex '.*\/\.db\/.*' -not -regex '.*\/node_modules\/.*' -not -regex '.*\/tmp/.*'")
(setq ffip-find-options "-not -wholename '*.a' -not -regex '.*\/\.git\/.*' -not -regex '.*\/\.db\/.*' -not -regex '.*\/node_modules\/.*' -not -regex '.*\/tmp\/.*'")
(setq ffip-prefer-ido-mode t)
(setq find-grep-options "-q -i")
......
......@@ -16,5 +16,6 @@
(add-hook 'org-mode-hook (lambda () (toggle-truncate-lines)))
(setq org-startup-indented t)
(setq org-hide-leading-stars nil)
(setq org-startup-indented t)
(setq org-time-clocksum-format (quote (:hours "%d" :require-hours t :minutes ":%02d" :require-minutes t)))
......@@ -80,7 +80,7 @@
((:keywords "async")
(:url . "http://elpa.gnu.org/packages/async.html"))])
(auctex .
[(11 89 7)
[(11 89 8)
nil "Integrated environment for *TeX*" tar
((:url . "http://www.gnu.org/software/auctex/"))])
(aumix-mode .
......@@ -136,8 +136,10 @@
((:url . "http://elpa.gnu.org/packages/cl-generic.html")
(:keywords))])
(cl-lib .
[(0 5)
nil "Properly prefixed CL functions and macros" single
[(0 6)
((emacs
(21)))
"Properly prefixed CL functions and macros" single
((:url . "http://elpa.gnu.org/packages/cl-lib.html")
(:keywords))])
(coffee-mode .
......@@ -151,7 +153,7 @@
((:url . "https://github.com/cpitclaudel/compact-docstrings")
(:keywords "convenience" "faces" "lisp" "maint" "c"))])
(company .
[(0 9 1)
[(0 9 2)
((emacs
(24 1))
(cl-lib
......@@ -178,7 +180,7 @@
((:keywords "abbrev" "convenience" "matching")
(:url . "https://github.com/company-mode/company-statistics"))])
(context-coloring .
[(8 0 1)
[(8 1 0)
((emacs
(24 3)))
"Highlight by scope" tar
......@@ -291,7 +293,7 @@
((:url . "http://elpa.gnu.org/packages/ediprolog.html")
(:keywords "languages" "processes"))])
(el-search .
[(1 1 1)
[(1 2 3)
((emacs
(25))
(stream
......@@ -342,9 +344,9 @@
((:keywords "calendar")
(:url . "http://elpa.gnu.org/packages/excorporate.html"))])
(exwm .
[(0 11)
[(0 12)
((xelb
(0 11)))
(0 12)))
"Emacs X Window Manager" tar
((:keywords "unix")
(:url . "https://github.com/ch11ng/exwm"))])
......@@ -472,6 +474,13 @@
"Improved JavaScript editing mode" tar
((:keywords "languages" "javascript")
(:url . "https://github.com/mooz/js2-mode/"))])
(json-mode .
[(0 1)
((emacs
(25 1)))
"Major mode for editing JSON files" single
((:url . "http://elpa.gnu.org/packages/json-mode.html")
(:keywords "data"))])
(jumpc .
[(3 0)
nil "jump to previous insertion points" single
......@@ -514,7 +523,7 @@
((:url . "http://github.com/rocky/emacs-loc-changes")
(:keywords))])
(loccur .
[(1 2 2)
[(1 2 3)
((cl-lib
(0)))
"Perform an occur-like folding in current buffer" single
......@@ -638,7 +647,7 @@
((:url . "https://github.com/michael-heerdegen/on-screen.el")
(:keywords "convenience"))])
(org .
[(20161102)
[(20161224)
nil "Outline-based notes management and organizer" tar nil])
(osc .
[(0 1)
......@@ -803,7 +812,7 @@
((:url . "https://github.com/Malabarba/speed-of-thought-lisp")
(:keywords "convenience" "lisp"))])
(spinner .
[(1 7 1)
[(1 7 3)
nil "Add spinners and progress-bars to the mode-line for ongoing operations" single
((:url . "https://github.com/Malabarba/spinner.el")
(:keywords "processes" "mode-line"))])
......@@ -903,11 +912,13 @@
((:url . "http://elpa.gnu.org/packages/url-http-ntlm.html")
(:keywords "comm" "data" "processes" "hypermedia"))])
(validate .
[(1 0 0)
[(1 0 2)
((emacs
(24 1))
(cl-lib
(0 5)))
(0 5))
(seq
(2 16)))
"Schema validation for Emacs-lisp" single
((:url . "http://elpa.gnu.org/packages/validate.html")
(:keywords "lisp"))])
......@@ -970,7 +981,7 @@
((:url . "http://elpa.gnu.org/packages/xclip.html")
(:keywords "convenience" "tools"))])
(xelb .
[(0 11)
[(0 12)
((emacs
(24 4))
(cl-generic
......
Good signature from 474F05837FBDEF9B GNU ELPA Signing Agent <elpasign@elpa.gnu.org> (trust undefined) created at 2016-11-14T09:05:01+1100 using DSA
\ No newline at end of file
Good signature from 474F05837FBDEF9B GNU ELPA Signing Agent <elpasign@elpa.gnu.org> (trust undefined) created at 2017-01-05T09:05:02+1100 using DSA
\ No newline at end of file
(1
(emacs-profiles .
[(20170101 1530)
((emacs
(24))
(cl-lib
(0 5))
(prompt-you
(20160925 1115)))
"Configuration profiles for Emacs" single])
(zone-nyan .
[(0 2 2)
((esxml
......@@ -1875,7 +1884,7 @@
[(0 8 8)
nil "Managing multiple terminal buffers in Emacs." single])
(multi-project .
[(0 0 17)
[(0 0 18)
nil "Easily work with multiple projects." single])
(multi-eshell .
[(0 0 1)
......@@ -3303,7 +3312,7 @@
[(0)
nil "Resize a frame. In particular, fit a frame to its buffers." single])
(firestarter .
[(0 2 4)