From a7d555fcefa86b8a50678369180773aad66d1a63 Mon Sep 17 00:00:00 2001
From: Ivan Malison Table of Contents
-
-
-
org-agenda-files
shell-command-on-region
org-agenda-files
shell-command-on-region
-
vc
vc
-
-
-
-
-
-
-
-
-
-
-
ansi-term
Colorsload-theme
hookansi-term
Colorsload-theme
hook
This is my emacs configuration in literate form. It aspires to be @@ -728,19 +729,19 @@ proud, and that others may find to be useful.
These sections are the ones that have the most potential to be interesting to others:
I wrote a githook and an installer script that automatically update index.html @@ -751,16 +752,16 @@ should be relatively easy to change.
I use fniessen's ReadTheOrg theme which can be found at https://github.com/fniessen/org-html-themes.
To make it so that internal heading links have names that correspond to the
@@ -769,7 +770,7 @@ wrote a custom version of org-export-get-reference
.
-See how this link (which is just a normal internal link in the original +See how this link (which is just a normal internal link in the original document) takes you to http://ivanmalison.github.io/dotfiles/#usemyowndefaultnamingschemefororgheadings.
@@ -784,76 +785,76 @@ that is something you are interested in.…has a bunch of generally useful functions:
The configurations in this section need to occur early in emacs startup for some reason or another.
This makes it so that the file that is produced from tangling this @@ -866,8 +867,8 @@ file uses lexical scoping.
(defvar imalison:secure t) @@ -907,8 +908,8 @@ file uses lexical scoping.
The org archive does not support https, so we set http as the protocol explicitly. @@ -939,8 +940,8 @@ The org archive does not support https, so we set http as the protocol explicitl
Its a shame that everyone has to have some version of this function in @@ -985,8 +986,8 @@ Ensure by default since most of the package for which I use use-package need to
(use-package auto-compile @@ -1000,8 +1001,8 @@ Ensure by default since most of the package for which I use use-package need to
To reduce the risk of loading outdated byte code files, we set @@ -1014,8 +1015,8 @@ possible.
The default value of custom-file
is just the current user's .emacs.d/init.el
@@ -1041,11 +1042,11 @@ in the dotfiles repo but they are shared across machines elsewhere.
(when (file-exists-p "~/.emacs.d/load.d/emit.el") @@ -1055,8 +1056,8 @@ in the dotfiles repo but they are shared across machines elsewhere.
This appears here so that it can accurately benchmark as much of @@ -1071,8 +1072,8 @@ startup as possible.
Death to any gui elements in emacs! Do this EARLY so that emacs @@ -1094,8 +1095,8 @@ Tooltips are annoying:
These definitions silence the byte-compiler. @@ -1124,8 +1125,8 @@ These definitions silence the byte-compiler.
Sets environment variables by starting a shell. @@ -1150,8 +1151,8 @@ Sets environment variables by starting a shell.
(use-package noflet @@ -1160,8 +1161,8 @@ Sets environment variables by starting a shell.
Emacs' built in shell-command-to-string
function has the downside that it
@@ -1233,8 +1234,8 @@ This solution only applies it to projectile-find-file
Emacs cask seems to depend on the EMACS environment variable being set to the @@ -1255,11 +1256,11 @@ to cause issues. Oh well…
Works in the same way as os.path.join in python @@ -1274,8 +1275,8 @@ Works in the same way as os.path.join in python
(defvar imalison:projects-directory @@ -1286,8 +1287,8 @@ Works in the same way as os.path.join in python
(put 'imalison:use-package 'lisp-indent-function 'defun) @@ -1314,16 +1315,16 @@ Works in the same way as os.path.join in python
The packages in this section provide no functionality on their own, but provide support for writing custom elisp.
(use-package s :demand t) @@ -1331,8 +1332,8 @@ but provide support for writing custom elisp.
(use-package dash @@ -1343,8 +1344,8 @@ but provide support for writing custom elisp.
(imalison:use-package* gh "gh.el" @@ -1353,8 +1354,8 @@ but provide support for writing custom elisp.
(use-package shut-up @@ -1365,8 +1366,8 @@ but provide support for writing custom elisp.
(use-package pcache @@ -1375,8 +1376,8 @@ but provide support for writing custom elisp.
(use-package parse-csv @@ -1385,8 +1386,8 @@ but provide support for writing custom elisp.
This is disabled for now until I figure out what to do with emit. @@ -1400,8 +1401,8 @@ This is disabled for now until I figure out what to do with emit.
(use-package request) @@ -1410,11 +1411,11 @@ This is disabled for now until I figure out what to do with emit.
(defmacro imalison:emacs-version-predicate-fn (major-version minor-version) @@ -1473,14 +1474,14 @@ new macro name and the -fn suffix.
(defun imalison:make-list (thing) @@ -1550,8 +1551,8 @@ new macro name and the -fn suffix.
(defmacro imalison:compose-unary (&rest funcs) @@ -1569,8 +1570,8 @@ new macro name and the -fn suffix.
Taken from here.
@@ -1590,8 +1591,8 @@ Taken from
-
For composing functions with an apply so that they can be used with
@@ -1620,8 +1621,8 @@ the
-For composing functions with an apply so that they can be used with the
This was taken from here but it has diverged significantly from the original.
This macro is useful when writing emacs-lisp. It creates a new interactive command that shows you the result of evaluating a function, with optionally provided arguments.
A macro for composing functions together to build an interactive command to copy a string to the kill ring.
- Note that you'll need to make sure that emacs properly inherits
-the path variable for this work. Check out my exec-path-from-shell config for
+ Note that you'll need to make sure that emacs properly inherits
+the path variable for this work. Check out my exec-path-from-shell config for
details.
This was stolen from https://github.com/jwiegley/dot-emacs
The stuff in this section is pretty crusty. I don't think its used anywhere, but
I keep it around just in case I need it.
@@ -2200,15 +2216,15 @@ I keep it around just in case I need it.
This keyboard macro extracts the current sexp to an emacs-lisp source block of its own
Get rid of nags about requiring setences to end with two spaces.
@@ -2476,8 +2505,8 @@ Set the default fill-column
Trailing whitespace is really messy and annoying, which makes this a must-have
@@ -2489,8 +2518,8 @@ with random whitespace ALL over the place.
Unfortunately, this setting can get annoying in a lot of modes, which is why I
@@ -2504,8 +2533,8 @@ use this hook to disable it in those modes
UTF-8 everywhere
@@ -2532,8 +2561,8 @@ Disable CJK coding/encoding (Chinese/Japanese/Korean characters)
This is set to true to disable the annoying audible bell that plays
@@ -2545,8 +2574,8 @@ whenever there is an error.
This makes
proced is an top like utility that runs inside of emacs. The following sets auto updating automatically and makes the update interval faster.
@@ -2621,8 +2650,8 @@ proced is an top like utility that runs inside of emacs. The following sets auto
This interferes with too many other packages. See
@@ -2980,11 +3009,11 @@ This interferes with too many other packages. See
This ensures that C-x C-c will always kill emacs, even if we are running in server mode.
@@ -3110,8 +3139,8 @@ This ensures that C-x C-c will always kill emacs, even if we are running in serv
imenu is the best. This should be a default binding.
@@ -3122,8 +3151,8 @@ imenu is the best. This should be a default binding.
I can't shake the habit of using this keybinding for undo. I should really use the default of C-/.
@@ -3134,8 +3163,8 @@ I can't shake the habit of using this keybinding for undo. I should really use t
Go the other way when you use capital O.
@@ -3146,8 +3175,8 @@ Go the other way when you use capital O.
This might be useless, but I believe that it is a macro that converts between
@@ -3192,8 +3221,8 @@ bind-key and global-set-key forms.
I use helm for almost all emacs completion
@@ -3276,8 +3305,8 @@ I use helm for almost all emacs completion
I don't use auto-complete at all, so I have set up a hook to automatically disable it whenever it is enabled to avoid creating conflicting popups when company is activated.
@@ -3549,11 +3578,11 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
This is disabled because it was causing too many issues with my
@@ -3909,8 +3934,8 @@ modeline and with excessive http requests to github.
Pyimport is disabled because it may be causing a performance problem.
@@ -4011,8 +4036,8 @@ Pyimport is disabled because it may be causing a performance problem.
The accepted way to use jedi if you prefer company to auto-complete is
@@ -4035,8 +4060,8 @@ reference to the jedi-core package.
Macrostep is an indespensible tool for writing emacs lisp macros. It lets you see pretty printed versions of the result of macro evaluation as the macro is evaluated
@@ -4236,8 +4261,8 @@ Macrostep is an indespensible tool for writing emacs lisp macros. It lets you se
Reduce indentation for some functions
@@ -4261,8 +4286,8 @@ Reduce indentation for some functions
Taken from http://endlessparentheses.com/eval-result-overlays-in-emacs-lisp.html
@@ -4355,8 +4380,8 @@ Taken from
-
We noflet elisp–preceding-sexp to munge defvars into sexps only for
@@ -4376,8 +4401,8 @@ eval-last-sexp.
The following is taken from spacemacs. It adds fancification to a clojure mode.
@@ -4470,8 +4495,8 @@ The following is taken from
-5.9 Make Interactive
+5.9 Make Interactive
(defmacro imalison:make-interactive-fn (function)
@@ -1604,8 +1605,8 @@ Taken from
-
5.10 Advice Add Around Builder
+5.10 Advice Add Around Builder
:around
keyword of advice-add.
5.10.1 Kill New
+5.10.1 Kill New
(imalison:advice-add-around-builder imalison:kill-new-around kill-new)
@@ -1630,8 +1631,8 @@ the
:around
keyword of advice-add.
5.11 Let Around
+5.11 Let Around
(defmacro imalison:let-around-fn (orig-func &rest forms)
@@ -1650,8 +1651,8 @@ the
:around
keyword of advice-add.
5.12 Let Around Advice
+5.12 Let Around Advice
(defmacro imalison:let-advise-around-fn (&rest forms)
@@ -1664,11 +1665,26 @@ the
:around
keyword of advice-add.
5.13 Compose Around Builder
+5.13 Let Advise
(defmacro imalison:let-advise (advised-function &rest forms)
+ (let ((advice-fn-name (imalison:concat-symbols
+ "around-advice-" advised-function)))
+ `(progn
+ (imalison:let-advise-around ,advice-fn-name ,@forms)
+ (advice-add (quote ,advised-function) :around (quote ,advice-fn-name)))))
+(put 'imalison:let-advise 'lisp-indent-function 1)
+
+5.14 Compose Around Builder
+:around
keyword of advice-add.
+For composing functions with an apply so that they can be used with the :around
keyword of advice-add.
;; TODO/XXX: Isn't this just apply? why doesn't apply work here
@@ -1683,9 +1699,9 @@ For composing functions with an apply so that they can be used with the
:a
5.14 Measure Time
-5.15 Measure Time
+(defmacro imalison:measure-time (&rest body)
"Measure and return the running time of the code block."
@@ -1698,9 +1714,9 @@ For composing functions with an apply so that they can be used with the
:a
5.15 Add Files to
-org-agenda-files
5.16 Add Files to
+org-agenda-files
(defun imalison:add-to-org-agenda-files (incoming-files)
(setq org-agenda-files
@@ -1712,9 +1728,9 @@ For composing functions with an apply so that they can be used with the
:a
5.16 Get String From File
-5.17 Get String From File
+(defun imalison:get-string-from-file (file-path)
"Return file-path's file content."
@@ -1725,9 +1741,9 @@ For composing functions with an apply so that they can be used with the
:a
5.17 Get Current Location
-5.18 Get Current Location
+(defun imalison:get-lat-long ()
(condition-case _ex
@@ -1738,9 +1754,9 @@ For composing functions with an apply so that they can be used with the
:a
5.18 Haversine distance
-5.19 Haversine distance
+(defun imalison:sin2 (p)
(let ((sin-p (sin p)))
@@ -1766,9 +1782,9 @@ For composing functions with an apply so that they can be used with the
:a
5.19 Font Size
-5.20 Font Size
+5.20 Message Result Builder
-5.21 Message Result Builder
+5.21 Custom
-shell-command-on-region
5.22 Custom
+shell-command-on-region
(defun imalison:copy-shell-command-on-region (start end command)
(interactive (list (region-beginning) (region-end)
@@ -1867,9 +1883,9 @@ This interactive functions allows the user the select a function to invoke using
5.22 Copy String Functions
-5.23 Copy String Functions
+5.22.1 Copy portions of the buffer file name
-5.23.1 Copy portions of the buffer file name
+(defmacro imalison:copy-buffer-file-path-builder (&rest args)
`(imalison:compose-copy-builder ,@args buffer-file-name))
@@ -1900,9 +1916,9 @@ A macro for composing functions together to build an interactive command to copy
5.22.2 Copy the current branch using magit
-5.23.2 Copy the current branch using magit
+(imalison:compose-copy-builder imalison:copy-current-git-branch
magit-get-current-branch)
@@ -1911,9 +1927,9 @@ A macro for composing functions together to build an interactive command to copy
5.23 Named Compile
-5.24 Named Compile
+(defun imalison:named-compile (command)
(interactive
@@ -1928,9 +1944,9 @@ A macro for composing functions together to build an interactive command to copy
5.24 Replace Escape Sequences
-5.25 Replace Escape Sequences
+(defun imalison:replace-escape-sequences ()
(interactive)
@@ -1946,11 +1962,11 @@ A macro for composing functions together to build an interactive command to copy
5.25 Download a File Into a Buffer
-5.26 Download a File Into a Buffer
+
5.26 Concat With Symbols
-5.27 Concat With Symbols
+(defun imalison:maybe-symbol-name (arg)
(if (symbolp arg)
@@ -1982,12 +1998,12 @@ A macro for composing functions together to build an interactive command to copy
5.27 Edit a script on PATH
-5.28 Edit a script on PATH
+5.28 Toggle lexical binding in the current buffer
-5.29 Toggle lexical binding in the current buffer
+(defun imalison:toggle-lexical-binding ()
(interactive)
@@ -2023,9 +2039,9 @@ details.
5.29 Sync kill ring with copyq
-5.30 Sync kill ring with copyq
+(defun imalison:copyq-get (i)
(imalison:shell-command-to-string (format "copyq eval read(%s)" i)))
@@ -2045,9 +2061,9 @@ details.
5.30 helm-zsh-history
-5.31 helm-zsh-history
+5.30.1 Use projectile as default directory
-5.31.1 Use projectile as default directory
+(imalison:let-around imalison:projectile-helm-command-from-zsh helm-command-from-zsh
(default-directory (projectile-project-root)))
@@ -2098,9 +2114,9 @@ This was stolen from https://git
5.31 Other
-5.32 Other
+5.32 Keyboard Macros
-5.32.1 For editing literate config
-5.32.1.1 extract-current-sexp-to-src-block
-5.33 Keyboard Macros
+5.33.1 For editing literate config
+5.33.1.1 extract-current-sexp-to-src-block
+5.32.1.2 name-source-block-for-use-package-name
-5.33.1.2 name-source-block-for-use-package-name
+(fset 'name-source-block-for-use-package-name
[?\C-c ?\' ?\M-< ?\C-s ?u ?s ?e ?- ?p ?a ?c ?k return ?\C-\M-f ?\C-f ?\C- ?\C-\M-f ?\M-w ?\C-c ?\' ?\C-r ?B ?E ?G ?I ?N return ?\C-a ?\C-p ?\C-e return ?* ? ?\C-y])
@@ -2229,9 +2245,9 @@ This keyboard macro extracts the current sexp to an emacs-lisp source block of i
5.32.1.3 extract-and-name-use-package-block
-5.33.1.3 extract-and-name-use-package-block
+(fset 'extract-and-name-use-package-block
[?\C-a return ?\C-p ?# ?+ ?E ?N ?D ?_ ?S ?R ?C return ?# ?+ ?B ?E ?G ?I ?N ?_ ?S ?R ?C ? ?e ?m ?a ?c ?s ?- ?l ?i ?s ?p ?\C-a ?\C-p ?\C- ?\C-n ?\C-e ?\M-w ?\C-n ?\C-a ?\C-\M-f return ?\C-y ?\C-p ?\C-p ?\C-c ?\' ?\M-< ?\C-s ?u ?s ?e ?- ?p ?a ?c ?k return ?\C-\M-f ?\C-f ?\C- ?\C-\M-f ?\M-w ?\C-c ?\' ?\C-r ?B ?E ?G ?I ?N return ?\C-a ?\C-p ?\C-e return ?* ? ?\C-y])
@@ -2242,11 +2258,11 @@ This keyboard macro extracts the current sexp to an emacs-lisp source block of i
6 General
+6 General
6.1 User Info
+6.1 User Info
(setq user-full-name
@@ -2259,8 +2275,8 @@ This keyboard macro extracts the current sexp to an emacs-lisp source block of i
6.2 Sane Defaults
+6.2 Sane Defaults
1: (global-auto-revert-mode)
@@ -2278,8 +2294,8 @@ This keyboard macro extracts the current sexp to an emacs-lisp source block of i
6.3 Line Numbers
+6.3 Line Numbers
(line-number-mode t)
@@ -2298,11 +2314,11 @@ programming mode.
6.4 Backups
+6.4 Backups
6.4.1 Put them all in one directory
+6.4.1 Put them all in one directory
(defconst emacs-tmp-dir
@@ -2314,8 +2330,8 @@ programming mode.
6.4.2 Completely disable backups
+6.4.2 Completely disable backups
(setq backup-inhibited t)
@@ -2326,11 +2342,11 @@ programming mode.
6.5 Prompts
+6.5 Prompts
6.5.1 No popup frames
+6.5.1 No popup frames
(setq ns-pop-up-frames nil)
@@ -2339,8 +2355,8 @@ programming mode.
6.5.2 boolean (yes-or-no)
+6.5.2 boolean (yes-or-no)
1: (defadvice yes-or-no-p (around prevent-dialog activate)
@@ -2358,8 +2374,8 @@ programming mode.
6.5.3 No dialog boxes
+6.5.3 No dialog boxes
(setq use-dialog-box nil)
@@ -2368,8 +2384,8 @@ programming mode.
6.6 Splitting
+6.6 Splitting
(defun split-horizontally-for-temp-buffers () (split-window-horizontally))
@@ -2380,11 +2396,11 @@ programming mode.
6.7 Buffer Display
+6.7 Buffer Display
6.7.1 ewmctrl
+6.7.1 ewmctrl
(use-package ewmctrl
@@ -2393,11 +2409,12 @@ programming mode.
6.7.2 display-buffer-alist
+6.7.2 display-buffer-alist
(defvar imalison:use-frames-only nil)
+
(setq pop-up-frames 'graphic-only)
+(defvar imalison:use-frames-only nil)
(defun imalison:use-frames-only ()
(or imalison:use-frames-only
@@ -2443,11 +2460,23 @@ programming mode.
(bind-key "C-x o" 'imalison:other-window)
(bind-key "C-x 3" 'imalison:split-window-right)
+(bind-key "C-x O" (lambda () (interactive) (imalison:other-window -1)))
+
+(defun imalison:pop-up-frame (&rest args)
+ (apply 'display-buffer-pop-up-frame args))
(setq display-buffer-alist
'((".*popup\*" . (display-buffer-pop-up-window))
- (".*magit-diff.*" (display-buffer-pop-up-frame . ((reusable-frames . t))))
- (".*COMMIT_EDITMSG" . ((display-buffer-pop-up-window) ((reusable-frames . t) (inhibit-same-window . t))))
+ ;; XXX: This was a failed attempt to get magit-commit to properly use
+ ;; frames.
+
+ ;; (".*magit-diff.*" . ((display-buffer-pop-up-frame)
+ ;; ((reusable-frames . 0)
+ ;; (inhibit-switch-frame . t)
+ ;; (inhibit-same-window . t))))
+ ;; (".*COMMIT_.*MSG.*" . ((imalison:pop-up-frame)
+ ;; ((reusable-frames . 0)
+ ;; (inhibit-same-window . t))))
(".*" . ((imalison:display-buffer display-buffer-reuse-window display-buffer-pop-up-frame)
(reusable-frames . t)))))
@@ -2457,8 +2486,8 @@ programming mode.
6.8 Fill Setup
+6.8 Fill Setup
6.9 Show Trailing Whitespace
+6.9 Show Trailing Whitespace
6.9.1 Disable
+6.9.1 Disable
6.10 Encoding
+6.10 Encoding
6.11 Visible Bell
+6.11 Visible Bell
6.12 Configure
+vc
6.12 Configure
vc
(setq vc-follow-symlinks t)
@@ -2554,8 +2583,8 @@ whenever there is an error.
6.13 Time in Mode Line
+6.13 Time in Mode Line
(setq display-time-default-load-average nil)
@@ -2566,8 +2595,8 @@ whenever there is an error.
6.14 Kill Ring
+6.14 Kill Ring
(setq kill-ring-max 1000)
@@ -2575,8 +2604,8 @@ whenever there is an error.
6.15 Subword
+6.15 Subword
forward-word
and backward-word
understand snake and camel case.
@@ -2588,8 +2617,8 @@ This makes forward-word
and backward-word
understand s
6.16 Scratch Buffer
+6.16 Scratch Buffer
(setq initial-scratch-message "")
@@ -2597,8 +2626,8 @@ This makes
forward-word
and backward-word
understand s
6.17 Don't prompt about local variables
+6.17 Don't prompt about local variables
(defun risky-local-variable-p (&rest args)
@@ -2607,8 +2636,8 @@ This makes
forward-word
and backward-word
understand s
6.18 proced
+6.18 proced
6.19 Set default browser
+6.19 Set default browser
(when (equal system-type 'gnu/linux)
@@ -2632,8 +2661,8 @@ proced is an top like utility that runs inside of emacs. The following sets auto
6.20 Set epa program
+6.20 Set epa program
(setq epg-gpg-program "gpg")
@@ -2641,8 +2670,8 @@ proced is an top like utility that runs inside of emacs. The following sets auto
6.21 Make files executable
+6.21 Make files executable
(add-hook 'after-save-hook 'executable-make-buffer-file-executable-if-script-p)
@@ -2650,8 +2679,8 @@ proced is an top like utility that runs inside of emacs. The following sets auto
6.22 Misc
+6.22 Misc
(defvar iedit-toggle-key-default nil)
@@ -2729,8 +2758,8 @@ proced is an top like utility that runs inside of emacs. The following sets auto
6.23 paradox
+6.23 paradox
(use-package paradox
@@ -2745,8 +2774,8 @@ proced is an top like utility that runs inside of emacs. The following sets auto
6.24 diminish
+6.24 diminish
(use-package diminish
@@ -2763,8 +2792,8 @@ proced is an top like utility that runs inside of emacs. The following sets auto
6.25 edit-server
+6.25 edit-server
(use-package edit-server
@@ -2778,8 +2807,8 @@ proced is an top like utility that runs inside of emacs. The following sets auto
6.26 load-dir
+6.26 load-dir
(use-package load-dir
@@ -2793,8 +2822,8 @@ proced is an top like utility that runs inside of emacs. The following sets auto
6.27 server
+6.27 server
(use-package server
@@ -2805,8 +2834,8 @@ proced is an top like utility that runs inside of emacs. The following sets auto
6.28 list-environment
+6.28 list-environment
(use-package list-environment)
@@ -2814,8 +2843,8 @@ proced is an top like utility that runs inside of emacs. The following sets auto
6.29 bug-hunter
+6.29 bug-hunter
(use-package bug-hunter)
@@ -2823,8 +2852,8 @@ proced is an top like utility that runs inside of emacs. The following sets auto
6.30 shackle
+6.30 shackle
(use-package shackle
@@ -2841,8 +2870,8 @@ proced is an top like utility that runs inside of emacs. The following sets auto
6.31 beacon
+6.31 beacon
(use-package beacon
@@ -2853,8 +2882,8 @@ proced is an top like utility that runs inside of emacs. The following sets auto
6.32 iregister
+6.32 iregister
(use-package iregister)
@@ -2862,8 +2891,8 @@ proced is an top like utility that runs inside of emacs. The following sets auto
6.33 discover-my-major
+6.33 discover-my-major
(use-package discover-my-major)
@@ -2871,8 +2900,8 @@ proced is an top like utility that runs inside of emacs. The following sets auto
6.34 refine
+6.34 refine
(use-package refine
@@ -2881,8 +2910,8 @@ proced is an top like utility that runs inside of emacs. The following sets auto
6.35 winner
+6.35 winner
(use-package winner
@@ -2902,8 +2931,8 @@ proced is an top like utility that runs inside of emacs. The following sets auto
6.36 eyebrowse
+6.36 eyebrowse
(use-package eyebrowse
@@ -2914,8 +2943,8 @@ proced is an top like utility that runs inside of emacs. The following sets auto
6.37 stream
+6.37 stream
(use-package stream)
@@ -2923,8 +2952,8 @@ proced is an top like utility that runs inside of emacs. The following sets auto
6.38 tile
+6.38 tile
(imalison:use-package tile
@@ -2956,8 +2985,8 @@ proced is an top like utility that runs inside of emacs. The following sets auto
6.39 fill-column-indicator
+6.39 fill-column-indicator
7 Keybindings
+7 Keybindings
7.1 god-mode
+7.1 god-mode
(use-package god-mode
@@ -2996,8 +3025,8 @@ This interferes with too many other packages. See
7.2 bind-key
+7.2 bind-key
(use-package bind-key)
@@ -3005,8 +3034,8 @@ This interferes with too many other packages. See
7.3 which-key
+7.3 which-key
(use-package which-key
@@ -3019,8 +3048,8 @@ This interferes with too many other packages. See
7.4 hydra
+7.4 hydra
(use-package hydra
@@ -3033,11 +3062,11 @@ This interferes with too many other packages. See
7.4.1 Font Settings
+7.4.1 Font Settings
7.4.2 Yanking
+7.4.2 Yanking
(defhydra imalison:hydra-yank
@@ -3072,8 +3101,8 @@ This interferes with too many other packages. See
7.4.3 Compile
+7.4.3 Compile
(defun imalison:make-test ()
@@ -3098,8 +3127,8 @@ This interferes with too many other packages. See
7.5 kill-emacs
+7.5 kill-emacs
7.6 imenu
+7.6 imenu
7.7 undo
+7.7 undo
7.8 other-window
+7.8 other-window
7.9 Mark ring
+7.9 Mark ring
(bind-key "C-c SPC" 'imalison:mark-ring)
@@ -3155,8 +3184,8 @@ Go the other way when you use capital O.
7.10 Other bindings
+7.10 Other bindings
(bind-key "C-x p" 'pop-to-mark-command)
@@ -3175,8 +3204,8 @@ Go the other way when you use capital O.
7.11 global-set-key-to-use-package
+7.11 global-set-key-to-use-package
7.12 OSX
+7.12 OSX
(when (equal system-type 'darwin)
@@ -3204,11 +3233,11 @@ bind-key and global-set-key forms.
8 Navigation
+8 Navigation
8.1 zop-to-char
+8.1 zop-to-char
(use-package zop-to-char
@@ -3221,8 +3250,8 @@ bind-key and global-set-key forms.
8.2 helm
+8.2 helm
8.3 helm-projectile
+8.3 helm-projectile
(use-package helm-projectile
@@ -3321,8 +3350,8 @@ I use helm for almost all emacs completion
8.4 projectile
+8.4 projectile
(use-package projectile
@@ -3374,8 +3403,8 @@ I use helm for almost all emacs completion
8.5 ido
+8.5 ido
(use-package ido
@@ -3413,8 +3442,8 @@ I use helm for almost all emacs completion
8.6 avy
+8.6 avy
(use-package avy
@@ -3430,8 +3459,8 @@ I use helm for almost all emacs completion
8.7 ace-window
+8.7 ace-window
(use-package ace-window
@@ -3445,8 +3474,8 @@ I use helm for almost all emacs completion
8.8 neotree
+8.8 neotree
(use-package neotree)
@@ -3454,8 +3483,8 @@ I use helm for almost all emacs completion
8.9 jump-char
+8.9 jump-char
(use-package jump-char
@@ -3464,8 +3493,8 @@ I use helm for almost all emacs completion
8.10 flimenu
+8.10 flimenu
(imalison:use-package flimenu
@@ -3476,8 +3505,8 @@ I use helm for almost all emacs completion
8.11 swiper
+8.11 swiper
(use-package swiper
@@ -3488,11 +3517,11 @@ I use helm for almost all emacs completion
9 Completion
+9 Completion
9.1 company
+9.1 company
(use-package company
@@ -3512,8 +3541,8 @@ I use helm for almost all emacs completion
9.1.1 company-flx
+9.1.1 company-flx
(use-package company-flx
@@ -3526,8 +3555,8 @@ I use helm for almost all emacs completion
9.2 auto-complete
+9.2 auto-complete
10 Text Manipulation
+10 Text Manipulation
10.1 smartparens
+10.1 smartparens
(use-package smartparens
@@ -3577,8 +3606,8 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
10.2 multiple-cursors
+10.2 multiple-cursors
(use-package multiple-cursors
@@ -3604,8 +3633,8 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
10.3 expand-region
+10.3 expand-region
(use-package expand-region
@@ -3616,8 +3645,8 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
10.4 multi-line
+10.4 multi-line
(imalison:use-package multi-line
@@ -3626,8 +3655,8 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
10.5 comment-dwim-2
+10.5 comment-dwim-2
(use-package comment-dwim-2
@@ -3636,8 +3665,8 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
10.6 unfill
+10.6 unfill
(use-package unfill
@@ -3646,8 +3675,8 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
10.7 cliphist
+10.7 cliphist
(use-package cliphist
@@ -3656,8 +3685,8 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
10.8 electric-operator-mode
+10.8 electric-operator-mode
(use-package electric-operator
@@ -3667,8 +3696,8 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
10.9 string-inflection
+10.9 string-inflection
(use-package string-inflection
@@ -3679,8 +3708,8 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
10.10 yasnippet
+10.10 yasnippet
(use-package yasnippet
@@ -3699,11 +3728,11 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
11 Source Control
+11 Source Control
11.1 magit
+11.1 magit
(use-package magit
@@ -3723,6 +3752,8 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
(org-show-context 'magit-goto))))
:config
(progn
+ (when (imalison:use-frames-only)
+ (setq magit-commit-show-diff nil))
(unbind-key "C-j" magit-status-mode-map)
(unbind-key "C-j" magit-hunk-section-map)
(unbind-key "C-j" magit-file-section-map)
@@ -3737,18 +3768,12 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
(add-to-list 'org-show-context-detail '(magit-goto . lineage))
(advice-add 'magit-diff-visit-file :after 'imalison:after-magit-visit-file)
- (add-hook 'magit-popup-mode-hook 'imalison:disable-show-trailing-whitespace)
- (use-package magit-filenotify
- ;; Seems like OSX does not support filenotify.
- :disabled t
- :if (funcall (emacs-version-predicate 24 4))
- :config
- :init (add-hook 'magit-status-mode-hook 'magit-filenotify-mode))))
+ (add-hook 'magit-popup-mode-hook 'imalison:disable-show-trailing-whitespace)))
11.1.1 magithub
+11.1.1 magithub
(use-package magithub
@@ -3759,8 +3784,8 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
11.2 git-link
+11.2 git-link
(use-package git-link
@@ -3771,8 +3796,8 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
11.3 magit-gitflow
+11.3 magit-gitflow
(use-package magit-gitflow
@@ -3788,8 +3813,8 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
11.4 git-timemachine
+11.4 git-timemachine
(use-package git-timemachine
@@ -3798,8 +3823,8 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
11.5 git-gutter
+11.5 git-gutter
(use-package git-gutter
@@ -3810,8 +3835,8 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
11.6 gitolite-clone
+11.6 gitolite-clone
(use-package gitolite-clone
@@ -3825,8 +3850,8 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
11.7 gitconfig-mode
+11.7 gitconfig-mode
(use-package gitconfig-mode
@@ -3835,8 +3860,8 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
11.8 gitignore-mode
+11.8 gitignore-mode
(use-package gitignore-mode
@@ -3845,11 +3870,11 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
11.9 github
+11.9 github
11.9.1 github-search
+11.9.1 github-search
(imalison:use-package github-search
@@ -3877,8 +3902,8 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
11.9.2 github-clone
+11.9.2 github-clone
(imalison:use-package* github-clone "~/Projects/github-clone.el"
@@ -3891,8 +3916,8 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
11.9.3 github-notifier
+11.9.3 github-notifier
11.9.4 github-browse-file
+11.9.4 github-browse-file
(use-package github-browse-file
@@ -3919,8 +3944,8 @@ modeline and with excessive http requests to github.
11.9.5 magit-gh-pulls
+11.9.5 magit-gh-pulls
(use-package magit-gh-pulls
@@ -3934,8 +3959,8 @@ modeline and with excessive http requests to github.
11.9.6 gist
+11.9.6 gist
(use-package gist
@@ -3949,18 +3974,18 @@ modeline and with excessive http requests to github.
12 Major Modes
+12 Major Modes
12.1 Programming
+12.1 Programming
-12.1.1 python
+12.1.1 python
(use-package python
@@ -3995,8 +4020,8 @@ modeline and with excessive http requests to github.
12.1.1.1 pyimport
+12.1.1.1 pyimport
12.1.1.2 jedi
+12.1.1.2 jedi
12.1.2 go
+12.1.2 go
(use-package go-mode
@@ -4159,8 +4184,8 @@ reference to the jedi-core package.
12.1.2.1 Show diffs of testify output
+12.1.2.1 Show diffs of testify output
(defvar imalison:testify-ediff-buffers nil)
@@ -4201,11 +4226,11 @@ reference to the jedi-core package.
12.1.3 emacs-lisp
+12.1.3 emacs-lisp
12.1.3.1 elisp-slime-nav
+12.1.3.1 elisp-slime-nav
(use-package elisp-slime-nav
@@ -4222,8 +4247,8 @@ reference to the jedi-core package.
12.1.3.2 macrostep
+12.1.3.2 macrostep
12.1.3.3 emr
+12.1.3.3 emr
(use-package emr
@@ -4249,8 +4274,8 @@ Macrostep is an indespensible tool for writing emacs lisp macros. It lets you se
12.1.3.4 Editing configuration
+12.1.3.4 Editing configuration
12.1.3.5 Checkdoc
+12.1.3.5 Checkdoc
(setq checkdoc-force-docstrings-flag nil
@@ -4271,8 +4296,8 @@ Reduce indentation for some functions
12.1.3.6 edebug
+12.1.3.6 edebug
(use-package edebug
@@ -4282,8 +4307,8 @@ Reduce indentation for some functions
12.1.3.7 overseer
+12.1.3.7 overseer
(use-package overseer)
@@ -4291,8 +4316,8 @@ Reduce indentation for some functions
12.1.3.8 Misc
+12.1.3.8 Misc
(defun imenu-elisp-sections ()
@@ -4319,8 +4344,8 @@ Reduce indentation for some functions
12.1.3.9 Show result of eval-last-sexp inline
+12.1.3.9 Show result of eval-last-sexp inline
12.1.3.10 Reevalute defvars when running eval-last-sexp
+12.1.3.10 Reevalute defvars when running eval-last-sexp
12.1.3.11 Init hook
+12.1.3.11 Init hook
(defvar imalison:check-parens nil)
@@ -4395,8 +4420,8 @@ eval-last-sexp.
12.1.3.12 Keybinds
+12.1.3.12 Keybinds
(emit-compose imalison:copy-eval-last-sexp
@@ -4416,8 +4441,8 @@ eval-last-sexp.
12.1.4 clojure
+12.1.4 clojure
12.1.4.1 cider
+12.1.4.1 cider
(use-package cider
@@ -4489,8 +4514,8 @@ The following is taken from
-
12.1.4.2 clj-refactor
+12.1.4.2 clj-refactor
(use-package clj-refactor
@@ -4500,8 +4525,8 @@ The following is taken from
-
12.1.5 scala
+12.1.5 scala
(use-package scala-mode
@@ -4523,8 +4548,8 @@ The following is taken from
-
12.1.6 js
+