summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-01-06 02:25:09 -0500
committerKyle Meyer <kyle@kyleam.com>2016-01-06 02:25:09 -0500
commit317bb14ad119e5a66ccb094c730f98318c3caa2f (patch)
tree5ee4c1dd61f88c1c353e5739220807041d27cfd5 /lisp
parent5c2f3f585fc0ef2647fe4e98c8311ee90ee917bd (diff)
downloademacs.d-317bb14ad119e5a66ccb094c730f98318c3caa2f.tar.gz
Add file headers
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-abbrev.el22
-rw-r--r--lisp/init-ace.el23
-rw-r--r--lisp/init-appearance.el23
-rw-r--r--lisp/init-bib.el23
-rw-r--r--lisp/init-bog.el23
-rw-r--r--lisp/init-buffers.el22
-rw-r--r--lisp/init-diminish.el23
-rw-r--r--lisp/init-dired.el23
-rw-r--r--lisp/init-editing.el22
-rw-r--r--lisp/init-elisp.el22
-rw-r--r--lisp/init-elpa.el23
-rw-r--r--lisp/init-ess.el22
-rw-r--r--lisp/init-external.el22
-rw-r--r--lisp/init-files.el22
-rw-r--r--lisp/init-framewin.el23
-rw-r--r--lisp/init-general.el22
-rw-r--r--lisp/init-git.el23
-rw-r--r--lisp/init-god.el23
-rw-r--r--lisp/init-haskell.el22
-rw-r--r--lisp/init-helm.el22
-rw-r--r--lisp/init-mail.el23
-rw-r--r--lisp/init-org.el23
-rw-r--r--lisp/init-outline.el22
-rw-r--r--lisp/init-projectile.el23
-rw-r--r--lisp/init-python.el23
-rw-r--r--lisp/init-server.el22
-rw-r--r--lisp/init-snakemake.el23
-rw-r--r--lisp/init-tex.el22
-rw-r--r--lisp/init-view.el21
-rw-r--r--lisp/init-yas.el21
30 files changed, 672 insertions, 1 deletions
diff --git a/lisp/init-abbrev.el b/lisp/init-abbrev.el
index c96eb10..f1030e3 100644
--- a/lisp/init-abbrev.el
+++ b/lisp/init-abbrev.el
@@ -1,3 +1,24 @@
+;;; init-abbrev.el --- Abbrev mode configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
(add-hook 'text-mode-hook 'abbrev-mode)
(add-hook 'prog-mode-hook 'abbrev-mode)
@@ -47,3 +68,4 @@ upper case version as the expansion."
(define-key abbrev-map "iu" 'km/abbrev-inverse-add-uppercase-global)
(provide 'init-abbrev)
+;;; init-abbrev.el ends here
diff --git a/lisp/init-ace.el b/lisp/init-ace.el
index c06cec1..5cc588b 100644
--- a/lisp/init-ace.el
+++ b/lisp/init-ace.el
@@ -1,3 +1,25 @@
+;;; init-ace.el --- Configuration for AceJump-inspired friends
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
+
;;; Avy
(require 'avy)
@@ -88,3 +110,4 @@ property."
(key-chord-define-global "jw" 'km/ace-window)
(provide 'init-ace)
+;;; init-ace.el ends here
diff --git a/lisp/init-appearance.el b/lisp/init-appearance.el
index 9c01b61..72c575d 100644
--- a/lisp/init-appearance.el
+++ b/lisp/init-appearance.el
@@ -1,3 +1,25 @@
+;;; init-appearance.el --- Appearance-related configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
+
(setq inhibit-splash-screen t
initial-scratch-message nil)
@@ -74,3 +96,4 @@
'(whitespace-indentation ((t (:background "gray90")))))
(provide 'init-appearance)
+;;; init-appearance.el ends here
diff --git a/lisp/init-bib.el b/lisp/init-bib.el
index d81edee..67148eb 100644
--- a/lisp/init-bib.el
+++ b/lisp/init-bib.el
@@ -1,3 +1,25 @@
+;;; init-bib.el --- Bibliography configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
+
;; Make cite key have form <last author last name><year><first word>.
(setq bibtex-autokey-titlewords 1
bibtex-autokey-titleword-ignore '("A" "An" "On" "The" "[0-9].*")
@@ -181,3 +203,4 @@ point. The link is opened using the settings of
(match-string-no-properties 2))))
(provide 'init-bib)
+;;; init-bib.el ends here
diff --git a/lisp/init-bog.el b/lisp/init-bog.el
index e6e8280..b0a845d 100644
--- a/lisp/init-bog.el
+++ b/lisp/init-bog.el
@@ -1,3 +1,25 @@
+;;; init-bog.el --- Bog mode configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
+
(add-to-list 'load-path "~/src/emacs/bog/")
(require 'bog-autoloads)
@@ -12,3 +34,4 @@
(global-set-key bog-keymap-prefix bog-command-map)
(provide 'init-bog)
+;;; init-bog.el ends here
diff --git a/lisp/init-buffers.el b/lisp/init-buffers.el
index 0632985..e16d6e6 100644
--- a/lisp/init-buffers.el
+++ b/lisp/init-buffers.el
@@ -1,3 +1,24 @@
+;;; init-buffers.el --- Buffer-related configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
(require 'uniquify)
@@ -48,3 +69,4 @@ kill this buffer and the window."
(global-set-key (kbd "C-x C-b") 'ibuffer)
(provide 'init-buffers)
+;;; init-buffers.el ends here
diff --git a/lisp/init-diminish.el b/lisp/init-diminish.el
index b642fe1..48baf5a 100644
--- a/lisp/init-diminish.el
+++ b/lisp/init-diminish.el
@@ -1,3 +1,25 @@
+;;; init-diminish.el --- Diminish mode configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
+
(require 'diminish)
(diminish 'abbrev-mode "Ab")
@@ -14,3 +36,4 @@
(after 'yasnippet (diminish 'yas-minor-mode))
(provide 'init-diminish)
+;;; init-diminish.el ends here
diff --git a/lisp/init-dired.el b/lisp/init-dired.el
index 2c2577d..8cb215e 100644
--- a/lisp/init-dired.el
+++ b/lisp/init-dired.el
@@ -1,3 +1,25 @@
+;;; init-dired.el --- Dired configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
+
(require 'dired-x)
(put 'dired-find-alternate-file 'disabled nil)
@@ -182,3 +204,4 @@ relative to DIRECTORY."
(define-key km/dired-copy-filename-map "w" 'dired-copy-filename-as-kill)
(provide 'init-dired)
+;;; init-dired.el ends here
diff --git a/lisp/init-editing.el b/lisp/init-editing.el
index c7be657..6f181e5 100644
--- a/lisp/init-editing.el
+++ b/lisp/init-editing.el
@@ -1,3 +1,24 @@
+;;; init-editing.el --- Editing-related configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
;; http://irreal.org/blog/?p=1536
(autoload 'zap-up-to-char "misc"
@@ -314,3 +335,4 @@ touches."
(define-key km/editing-map "p" 'mc/mark-previous-like-this)
(provide 'init-editing)
+;;; init-editing.el ends here
diff --git a/lisp/init-elisp.el b/lisp/init-elisp.el
index 0807235..987dab8 100644
--- a/lisp/init-elisp.el
+++ b/lisp/init-elisp.el
@@ -1,3 +1,24 @@
+;;; init-elisp.el --- Elisp-related configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
(setq lispy-no-permanent-semantic t)
@@ -22,3 +43,4 @@
(setq outline-level 'km/elisp-outline-level))
(provide 'init-elisp)
+;;; init-elisp.el ends here
diff --git a/lisp/init-elpa.el b/lisp/init-elpa.el
index ed79286..d5eeeda 100644
--- a/lisp/init-elpa.el
+++ b/lisp/init-elpa.el
@@ -1,3 +1,25 @@
+;;; init-elpa.el --- Elpa configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
+
;; Modified from
;; https://github.com/purcell/emacs.d/blob/master/lisp/init-elpa.el.
@@ -8,3 +30,4 @@
(package-initialize)
(provide 'init-elpa)
+;;; init-elpa.el ends here
diff --git a/lisp/init-ess.el b/lisp/init-ess.el
index 1739d6c..d951ede 100644
--- a/lisp/init-ess.el
+++ b/lisp/init-ess.el
@@ -1,3 +1,24 @@
+;;; init-ess.el --- ESS configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
(autoload 'R-mode "ess-site")
@@ -41,3 +62,4 @@ this would work, but it seems to so far."
(define-key inferior-ess-mode-map "|" 'km/ess-insert-dplyr-pipe))
(provide 'init-ess)
+;;; init-ess.el ends here
diff --git a/lisp/init-external.el b/lisp/init-external.el
index 24725da..2d1f11c 100644
--- a/lisp/init-external.el
+++ b/lisp/init-external.el
@@ -1,3 +1,24 @@
+;;; init-external.el --- Configuration for shells and external programs
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
(setq x-select-enable-clipboard t ; Share clipboard with system.
x-select-enable-primary t)
@@ -326,3 +347,4 @@ If a columnified buffer already exists, just switch to it."
(switch-to-buffer output-buffer)))
(provide 'init-external)
+;;; init-external.el ends here
diff --git a/lisp/init-files.el b/lisp/init-files.el
index 332026c..8b53a38 100644
--- a/lisp/init-files.el
+++ b/lisp/init-files.el
@@ -1,3 +1,24 @@
+;;; init-files.el --- File-related configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
(require 'uniquify)
@@ -221,3 +242,4 @@ With prefix argument PWD, find the scratch file in
(define-key ctl-x-4-map "s" 'km/scratch-find-file-other-window)
(provide 'init-files)
+;;; init-files.el ends here
diff --git a/lisp/init-framewin.el b/lisp/init-framewin.el
index 43316fe..8821610 100644
--- a/lisp/init-framewin.el
+++ b/lisp/init-framewin.el
@@ -1,4 +1,24 @@
-;;; Frames and windows
+;;; init-framewin.el --- Frame and window configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
(defun km/clone-indirect-buffer-other-window-and-widen ()
"Clone as indirect buffer and then widen."
@@ -64,3 +84,4 @@ _s_: Swap _u_: Winner undo _i_: Scroll other down
(winner-mode 1)
(provide 'init-framewin)
+;;; init-framewin.el ends here
diff --git a/lisp/init-general.el b/lisp/init-general.el
index cc4efdf..cbd970e 100644
--- a/lisp/init-general.el
+++ b/lisp/init-general.el
@@ -1,3 +1,24 @@
+;;; init-general.el --- Things without a more specific home
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
(setq echo-keystrokes 0.1
use-dialog-box nil
@@ -94,3 +115,4 @@ call."
(global-set-key (kbd "C-c v") 'km/setkey-call)
(provide 'init-general)
+;;; init-general.el ends here
diff --git a/lisp/init-git.el b/lisp/init-git.el
index 5f4b773..52a03c6 100644
--- a/lisp/init-git.el
+++ b/lisp/init-git.el
@@ -1,3 +1,25 @@
+;;; init-git.el --- (Ma)git configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
+
(require 'git-annex)
(setq vc-follow-symlinks t)
@@ -735,3 +757,4 @@ _a_ keep all
("q" nil "quit")))
(provide 'init-git)
+;;; init-git.el ends here
diff --git a/lisp/init-god.el b/lisp/init-god.el
index 4dc5864..306f476 100644
--- a/lisp/init-god.el
+++ b/lisp/init-god.el
@@ -1,3 +1,25 @@
+;;; init-god.el --- God mode configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
+
(require 'god-mode)
(add-to-list 'god-exempt-predicates #'km/god-gnus-p)
@@ -43,3 +65,4 @@
(global-set-key (kbd "C-x C-0") 'delete-window)
(provide 'init-god)
+;;; init-god.el ends here
diff --git a/lisp/init-haskell.el b/lisp/init-haskell.el
index 063d9be..f5a4064 100644
--- a/lisp/init-haskell.el
+++ b/lisp/init-haskell.el
@@ -1,3 +1,24 @@
+;;; init-haskell.el --- Haskell configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
(setq haskell-process-show-debug-tips nil)
@@ -16,3 +37,4 @@
(define-key haskell-mode-map (kbd "C-c C-d") nil))
(provide 'init-haskell)
+;;; init-haskell.el ends here
diff --git a/lisp/init-helm.el b/lisp/init-helm.el
index e0d80a4..cacdbb6 100644
--- a/lisp/init-helm.el
+++ b/lisp/init-helm.el
@@ -1,3 +1,24 @@
+;;; init-helm.el --- Helm configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
(require 'helm)
(require 'helm-config)
@@ -48,3 +69,4 @@
(helm-mode 1)
(provide 'init-helm)
+;;; init-helm.el ends here
diff --git a/lisp/init-mail.el b/lisp/init-mail.el
index 3e53508..c840eee 100644
--- a/lisp/init-mail.el
+++ b/lisp/init-mail.el
@@ -1,3 +1,25 @@
+;;; init-mail.el --- Mail configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
+
(require 'gnus)
(require 'org-gnus)
@@ -249,3 +271,4 @@ to group buffer instead of moving to next group."
'km/notmuch-show-copy-message-id-as-kill)
(provide 'init-mail)
+;;; init-mail.el ends here
diff --git a/lisp/init-org.el b/lisp/init-org.el
index 0af6195..6e168c7 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -1,3 +1,25 @@
+;;; init-org.el --- Org mode configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
+
(add-to-list 'load-path "~/src/emacs/org-mode/lisp/")
(add-to-list 'load-path "~/src/emacs/org-mode/contrib/lisp/" t)
(add-to-list 'Info-directory-list "~/src/emacs/org-mode/doc/")
@@ -748,3 +770,4 @@ to be easily overriden.")
(define-key km/file-map "r" 'km/org-open-recent-file))
(provide 'init-org)
+;;; init-org.el ends here
diff --git a/lisp/init-outline.el b/lisp/init-outline.el
index 440db21..1d21531 100644
--- a/lisp/init-outline.el
+++ b/lisp/init-outline.el
@@ -1,3 +1,24 @@
+;;; init-outline.el --- Outline mode configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
(defun km/outline--parent-levels (n)
"Return list of parent levels.
@@ -92,3 +113,4 @@ _d_ subtree
(global-set-key (kbd "C-c n") 'km/hydra-outline-mode)
(provide 'init-outline)
+;;; init-outline.el ends here
diff --git a/lisp/init-projectile.el b/lisp/init-projectile.el
index 2ed383b..4c63a9e 100644
--- a/lisp/init-projectile.el
+++ b/lisp/init-projectile.el
@@ -1,3 +1,25 @@
+;;; init-projectile.el --- Projectile configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
+
(require 'projectile)
(require 'helm-projectile)
@@ -297,3 +319,4 @@ Like `projectile-kill-buffers', but
(projectile-global-mode)
(provide 'init-projectile)
+;;; init-projectile.el ends here
diff --git a/lisp/init-python.el b/lisp/init-python.el
index 51576be..74f79c5 100644
--- a/lisp/init-python.el
+++ b/lisp/init-python.el
@@ -1,3 +1,25 @@
+;;; init-python.el --- Python configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
+
(setq python-fill-docstring-style 'pep-257-nn
python-indent-guess-indent-offset nil)
@@ -237,3 +259,4 @@ FILE is `km/pydoc-names-file' by default."
(global-set-key (kbd "C-h y") #'km/pydoc)
(provide 'init-python)
+;;; init-python.el ends here
diff --git a/lisp/init-server.el b/lisp/init-server.el
index bd11a48..04be8b2 100644
--- a/lisp/init-server.el
+++ b/lisp/init-server.el
@@ -1,3 +1,24 @@
+;;; init-server.el --- Emacs server configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
(setq server-use-tcp t)
(require 'server)
@@ -22,3 +43,4 @@
(setq save-abbrevs nil))))
(provide 'init-server)
+;;; init-server.el ends here
diff --git a/lisp/init-snakemake.el b/lisp/init-snakemake.el
index eaa86e1..09b2065 100644
--- a/lisp/init-snakemake.el
+++ b/lisp/init-snakemake.el
@@ -1,3 +1,25 @@
+;;; init-snakemake.el --- Snakemake mode configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
+
(add-to-list 'load-path "~/src/emacs/snakemake-mode/")
(require 'snakemake-mode-autoloads)
@@ -50,3 +72,4 @@ run. If JOBS is negative, just touch the output files."
(define-key dired-mode-map "b" 'km/snakemake-compile-project-file))
(provide 'init-snakemake)
+;;; init-snakemake.el ends here
diff --git a/lisp/init-tex.el b/lisp/init-tex.el
index bbf658d..87f949e 100644
--- a/lisp/init-tex.el
+++ b/lisp/init-tex.el
@@ -1,3 +1,24 @@
+;;; init-tex.el --- TeX configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
(setq reftex-default-bibliography '("refs.bib"))
@@ -37,3 +58,4 @@
(nreverse entries)))
(provide 'init-tex)
+;;; init-tex.el ends here
diff --git a/lisp/init-view.el b/lisp/init-view.el
index aa6263d..7128a6b 100644
--- a/lisp/init-view.el
+++ b/lisp/init-view.el
@@ -1,3 +1,24 @@
+;;; init-view.el --- View mode configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
(after 'view
(define-key view-mode-map "l" 'recenter-top-bottom)
diff --git a/lisp/init-yas.el b/lisp/init-yas.el
index 52fb54b..0d8c31b 100644
--- a/lisp/init-yas.el
+++ b/lisp/init-yas.el
@@ -1,3 +1,24 @@
+;;; init-yas.el --- Yasnippet configuration
+
+;; Copyright (C) 2012-2016 Kyle Meyer <kyle@kyleam.com>
+
+;; Author: Kyle Meyer <kyle@kyleam.com>
+;; URL: https://github.com/kyleam/emacs.d
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
(require 'yasnippet)