dotfiles

config files and scripts at HOME.
git clone git://git.ricketyspace.net/dotfiles.git
Log | Files | Refs

commit c1e59dfae45e10e2c43ea16c99f19ba4d2de74c4
parent 528ea240288970f60fc63a4e519291bbf4687e64
Author: rsiddharth <s@ricketyspace.net>
Date:   Tue, 20 Sep 2016 23:44:41 +0000

.emacs.d/lisp -> .emacs.d/elisp

Diffstat:
.emacs.d/elisp/custom.el | 22++++++++++++++++++++++
.emacs.d/elisp/rsd-config.el | 28++++++++++++++++++++++++++++
.emacs.d/elisp/rsd-disable.el | 31+++++++++++++++++++++++++++++++
.emacs.d/elisp/rsd-enable.el | 34++++++++++++++++++++++++++++++++++
.emacs.d/elisp/rsd-pkgs.el | 149+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.emacs.d/elisp/rsd-startup.el | 22++++++++++++++++++++++
.emacs.d/elisp/rsd-text.el | 38++++++++++++++++++++++++++++++++++++++
.emacs.d/init.el | 2+-
.emacs.d/lisp/custom.el | 22----------------------
.emacs.d/lisp/rsd-config.el | 28----------------------------
.emacs.d/lisp/rsd-disable.el | 31-------------------------------
.emacs.d/lisp/rsd-enable.el | 34----------------------------------
.emacs.d/lisp/rsd-pkgs.el | 139-------------------------------------------------------------------------------
.emacs.d/lisp/rsd-startup.el | 22----------------------
.emacs.d/lisp/rsd-text.el | 38--------------------------------------
15 files changed, 325 insertions(+), 315 deletions(-)

diff --git a/.emacs.d/elisp/custom.el b/.emacs.d/elisp/custom.el @@ -0,0 +1,22 @@ +;; may all the ugliness exist here. + +(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. + '(package-selected-packages + (quote + (web-mode w3m use-package refheap rainbow-delimiters php-mode paredit nhexl-mode markdown-mode magit lua-mode libmpdee keychain-environment json-mode jinja2-mode helm git-annex csv-mode color-theme-solarized auto-complete auctex ample-theme))) + '(safe-local-variable-values + (quote + ((eval modify-syntax-entry 43 "'") + (eval modify-syntax-entry 36 "'") + (eval modify-syntax-entry 126 "'") + (bug-reference-bug-regexp . "<https?://\\(debbugs\\|bugs\\)\\.gnu\\.org/\\([0-9]+\\)>"))))) +(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/.emacs.d/elisp/rsd-config.el b/.emacs.d/elisp/rsd-config.el @@ -0,0 +1,28 @@ +;; rsd-config.el -- loads all of rsd's customizations. +;; +;; Copyright © 2015-2016 rsiddharth <s@ricketyspace.net> +;; +;; 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. +;; +;; Full text of the GNU General Public License is available at +;; <https://gnu.org/licenses/gpl.html>. + +(require 'rsd-startup) +(require 'rsd-disable) +(require 'rsd-enable) +(require 'rsd-text) +(require 'rsd-pkgs) + +;; custom +(setq custom-file "~/.emacs.d/elisp/custom.el") +(load custom-file) + +(provide 'rsd-config) diff --git a/.emacs.d/elisp/rsd-disable.el b/.emacs.d/elisp/rsd-disable.el @@ -0,0 +1,31 @@ +;; rsd-disable.el -- disable/fix things. +;; +;; Copyright © 2015-2016 rsiddharth <s@ricketyspace.net> +;; +;; 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. +;; +;; Full text of the GNU General Public License is available at +;; <https://gnu.org/licenses/gpl.html>. + +;; disable +(dolist (mode '(tool-bar-mode + scroll-bar-mode + blink-cursor-mode + menu-bar-mode)) + (when (fboundp mode) (funcall mode -1))) + +;; stop cursor blinking in urxvt +(setq visible-cursor nil) + +;; fix zsh prompt +(setq system-uses-terminfo nil) + +(provide 'rsd-disable) diff --git a/.emacs.d/elisp/rsd-enable.el b/.emacs.d/elisp/rsd-enable.el @@ -0,0 +1,34 @@ +;; rsd-enable.el -- enable things. +;; +;; Copyright © 2015-2016 rsiddharth <s@ricketyspace.net> +;; +;; 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. +;; +;; Full text of the GNU General Public License is available at +;; <https://gnu.org/licenses/gpl.html>. + +;; enable +(dolist (mode '(column-number-mode)) + (when (fboundp mode) (funcall mode 1))) + +;; enable disabled commands +(put 'narrow-to-region 'disabled nil) +(put 'downcase-region 'disabled nil) + +;; enable time stamping before save. +(add-hook 'before-save-hook 'time-stamp) + +;; enable mouse avoidance mode +(if (display-mouse-p) + (progn (mouse-avoidance-mode 'banish) + (setq x-pointer-shape (mouse-avoidance-random-shape)))) + +(provide 'rsd-enable) diff --git a/.emacs.d/elisp/rsd-pkgs.el b/.emacs.d/elisp/rsd-pkgs.el @@ -0,0 +1,149 @@ +;; rsd-pkgs.el -- install/customize packages. +;; +;; Copyright © 2015-2016 rsiddharth <s@ricketyspace.net> +;; +;; 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. +;; +;; Full text of the GNU General Public License is available at +;; <https://gnu.org/licenses/gpl.html>. + +;; melpa +(require 'package) +(add-to-list 'package-archives + '("melpa" . "http://melpa.org/packages/")) +(package-initialize) + +;; use-package +(unless (package-installed-p 'use-package) + (package-refresh-contents) + (package-install 'use-package)) + +;; server +(use-package server + :config + (unless (server-running-p) + (server-start))) + +;; org +(use-package org + :mode ("\\.org\\'" . org-mode) + :config + (add-hook 'org-mode-hook 'turn-on-font-lock) + (setq org-directory "~/v/git/rsd/org") + (setq org-agenda-files (concat org-directory "/agenda.org")) + (setq org-default-notes-file (concat org-directory "/notes.org")) + (setq org-log-done 'time) + :bind (("C-c l" . org-store-link) + ("C-c a" . org-agenda) + ("C-c b" . org-iswitchb) + ("C-c c" . org-capture))) + +;; bookmarks +(use-package bookmark + :config + (setq bookmark-default-file "~/.emacs.d/bookmarks.el") + (setq bookmark-save-flag 1)) + +;; woman +(use-package woman + :config + (setq guix-manpath (expand-file-name "~/.guix-profile/share/man")) + (setq woman-manpath (cons guix-manpath woman-manpath))) + +(use-package tex :ensure auctex) +(use-package jinja2-mode :ensure t) +(use-package markdown-mode :ensure t) +(use-package color-theme) + +;; color-theme-solarized +(use-package color-theme-solarized + :ensure t + :config + (load-theme 'solarized t)) + +;; web-mode +(use-package web-mode + :ensure t + :mode ("\\.tpl\\|\\.php\\'" "\\.html?\\'" "\\.js\\|.css'") + :config + (defun rsd/web-mode/enable-tabs () + "Enable tabs on indent. Fuck it." + (interactive) + (setq-local indent-tabs-mode t) + (web-mode-use-tabs))) + +;; auto-complete mode. +(use-package auto-complete + :ensure t + :config + (ac-config-default)) + +;; helm +(use-package helm + :ensure t + :config + (require 'helm-config) + (helm-mode 1) + (helm-autoresize-mode t) + (unbind-key "C-x c") + :bind (("C-c h" . helm-command-prefix) + ("M-x" . helm-M-x) + ("M-y" . helm-show-kill-ring) + ("C-x b" . helm-mini) + ("C-x C-f" . helm-find-files) + :map helm-map + ("[tab]" . helm-execute-persistent-action) + ("C-i". helm-execute-persistent-action) + ("C-z" . helm-select-action))) + +;; magit +(use-package magit + :ensure t + :bind (("C-x g" . magit-status) + ("C-x M-g" . magit-dispatch-popup))) + +;; geiser +(use-package geiser-guile + :init + (setq-default guile-load-paths '("~/v/git/rsd/sicp" + "~/v/git/rsd/sandbox/guile" + "~/v/git/rsd/git-difme")) + :config + (setq geiser-active-implementations '(guile)) + (setq geiser-mode-smart-tab-p t) + (mapc (lambda (path) (add-to-list 'geiser-guile-load-path path)) + guile-load-paths)) + +;; paredit +(use-package paredit + :ensure t + :init + (setq-default rsd/paredit-modes '(emacs-lisp-mode-hook + lisp-mode-hook + lisp-interaction-mode-hook + scheme-mode-hook)) + :config + (mapc (lambda (mode) (add-hook mode 'enable-paredit-mode)) + rsd/paredit-modes)) + +;; git-annex +(use-package git-annex + :ensure t + :config + (setq git-annex-commit nil)) + +;; keychain-environment +(use-package keychain-environment + :ensure t + :config + (keychain-refresh-environment)) + +(provide 'rsd-pkgs) diff --git a/.emacs.d/elisp/rsd-startup.el b/.emacs.d/elisp/rsd-startup.el @@ -0,0 +1,22 @@ +;; rsd-startup.el -- customize emacs startup. +;; +;; Copyright © 2015-2016 rsiddharth <s@ricketyspace.net> +;; +;; 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. +;; +;; Full text of the GNU General Public License is available at +;; <https://gnu.org/licenses/gpl.html>. + +(setq inhibit-startup-screen t) +(setq initial-buffer-choice "~/v/git/rsd/org/scratch.org") +(setq initial-scratch-message nil) + +(provide 'rsd-startup) diff --git a/.emacs.d/elisp/rsd-text.el b/.emacs.d/elisp/rsd-text.el @@ -0,0 +1,38 @@ +;; rsd-text.el -- utf-8, spacing, font, etc. +;; +;; Copyright © 2015-2016 rsiddharth <s@ricketyspace.net> +;; +;; 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. +;; +;; Full text of the GNU General Public License is available at +;; <https://gnu.org/licenses/gpl.html>. + +;; tabs and spacing +(setq tab-width 4) +(setq-default indent-tabs-mode nil) + +;; utf-8 +;; from cwebber's +;; repo: git://github.com/cwebber/cwebbers-emacs-config +;; file: /general.el [line 380] +;; commit: 3253f24453b81eff2e86d3e2567dfc74473ee525 +(prefer-coding-system 'utf-8) +(set-default-coding-systems 'utf-8) +(set-terminal-coding-system 'utf-8) +(set-keyboard-coding-system 'utf-8) + +;; http://ergoemacs.org/emacs/emacs_n_unicode.html +(set-language-environment "UTF-8") + +;; font +(add-to-list 'default-frame-alist '(font . "terminus")) + +(provide 'rsd-text) diff --git a/.emacs.d/init.el b/.emacs.d/init.el @@ -15,5 +15,5 @@ ;; Full text of the GNU General Public License is available at ;; <https://gnu.org/licenses/gpl.html>. -(add-to-list 'load-path (expand-file-name "~/.emacs.d/lisp")) +(add-to-list 'load-path (expand-file-name "~/.emacs.d/elisp")) (require 'rsd-config) diff --git a/.emacs.d/lisp/custom.el b/.emacs.d/lisp/custom.el @@ -1,22 +0,0 @@ -;; may all the ugliness exist here. - -(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. - '(package-selected-packages - (quote - (web-mode w3m use-package refheap rainbow-delimiters php-mode paredit nhexl-mode markdown-mode magit lua-mode libmpdee keychain-environment json-mode jinja2-mode helm git-annex csv-mode color-theme-solarized auto-complete auctex ample-theme))) - '(safe-local-variable-values - (quote - ((eval modify-syntax-entry 43 "'") - (eval modify-syntax-entry 36 "'") - (eval modify-syntax-entry 126 "'") - (bug-reference-bug-regexp . "<https?://\\(debbugs\\|bugs\\)\\.gnu\\.org/\\([0-9]+\\)>"))))) -(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/.emacs.d/lisp/rsd-config.el b/.emacs.d/lisp/rsd-config.el @@ -1,28 +0,0 @@ -;; rsd-config.el -- loads all of rsd's customizations. -;; -;; Copyright © 2015-2016 rsiddharth <s@ricketyspace.net> -;; -;; 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. -;; -;; Full text of the GNU General Public License is available at -;; <https://gnu.org/licenses/gpl.html>. - -(require 'rsd-startup) -(require 'rsd-disable) -(require 'rsd-enable) -(require 'rsd-text) -(require 'rsd-pkgs) - -;; custom -(setq custom-file "~/.emacs.d/lisp/custom.el") -(load custom-file) - -(provide 'rsd-config) diff --git a/.emacs.d/lisp/rsd-disable.el b/.emacs.d/lisp/rsd-disable.el @@ -1,31 +0,0 @@ -;; rsd-disable.el -- disable/fix things. -;; -;; Copyright © 2015-2016 rsiddharth <s@ricketyspace.net> -;; -;; 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. -;; -;; Full text of the GNU General Public License is available at -;; <https://gnu.org/licenses/gpl.html>. - -;; disable -(dolist (mode '(tool-bar-mode - scroll-bar-mode - blink-cursor-mode - menu-bar-mode)) - (when (fboundp mode) (funcall mode -1))) - -;; stop cursor blinking in urxvt -(setq visible-cursor nil) - -;; fix zsh prompt -(setq system-uses-terminfo nil) - -(provide 'rsd-disable) diff --git a/.emacs.d/lisp/rsd-enable.el b/.emacs.d/lisp/rsd-enable.el @@ -1,34 +0,0 @@ -;; rsd-enable.el -- enable things. -;; -;; Copyright © 2015-2016 rsiddharth <s@ricketyspace.net> -;; -;; 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. -;; -;; Full text of the GNU General Public License is available at -;; <https://gnu.org/licenses/gpl.html>. - -;; enable -(dolist (mode '(column-number-mode)) - (when (fboundp mode) (funcall mode 1))) - -;; enable disabled commands -(put 'narrow-to-region 'disabled nil) -(put 'downcase-region 'disabled nil) - -;; enable time stamping before save. -(add-hook 'before-save-hook 'time-stamp) - -;; enable mouse avoidance mode -(if (display-mouse-p) - (progn (mouse-avoidance-mode 'banish) - (setq x-pointer-shape (mouse-avoidance-random-shape)))) - -(provide 'rsd-enable) diff --git a/.emacs.d/lisp/rsd-pkgs.el b/.emacs.d/lisp/rsd-pkgs.el @@ -1,139 +0,0 @@ -;; rsd-pkgs.el -- install/customize packages. -;; -;; Copyright © 2015-2016 rsiddharth <s@ricketyspace.net> -;; -;; 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. -;; -;; Full text of the GNU General Public License is available at -;; <https://gnu.org/licenses/gpl.html>. - -;; melpa -(require 'package) -(add-to-list 'package-archives - '("melpa" . "http://melpa.org/packages/")) -(package-initialize) - -;; use-package -(unless (package-installed-p 'use-package) - (package-refresh-contents) - (package-install 'use-package)) - -;; server -(use-package server - :config - (unless (server-running-p) - (server-start))) - -;; org -(use-package org - :mode ("\\.org\\'" . org-mode) - :config - (add-hook 'org-mode-hook 'turn-on-font-lock) - (setq org-directory "~/v/git/rsd/org") - (setq org-agenda-files (concat org-directory "/agenda.org")) - (setq org-default-notes-file (concat org-directory "/notes.org")) - (setq org-log-done 'time) - :bind (("C-c l" . org-store-link) - ("C-c a" . org-agenda) - ("C-c b" . org-iswitchb) - ("C-c c" . org-capture))) - -;; bookmarks -(use-package bookmark - :config - (setq bookmark-default-file "~/.emacs.d/bookmarks.el") - (setq bookmark-save-flag 1)) - -;; woman -(use-package woman - :config - (setq guix-manpath (expand-file-name "~/.guix-profile/share/man")) - (setq woman-manpath (cons guix-manpath woman-manpath))) - -(use-package tex :ensure auctex) -(use-package jinja2-mode :ensure t) -(use-package markdown-mode :ensure t) -(use-package web-mode :ensure t) -(use-package color-theme) - -;; color-theme-solarized -(use-package color-theme-solarized - :ensure t - :config - (load-theme 'solarized t)) - -;; auto-complete mode. -(use-package auto-complete - :ensure t - :config - (ac-config-default)) - -;; helm -(use-package helm - :ensure t - :config - (require 'helm-config) - (helm-mode 1) - (helm-autoresize-mode t) - (unbind-key "C-x c") - :bind (("C-c h" . helm-command-prefix) - ("M-x" . helm-M-x) - ("M-y" . helm-show-kill-ring) - ("C-x b" . helm-mini) - ("C-x C-f" . helm-find-files) - :map helm-map - ("[tab]" . helm-execute-persistent-action) - ("C-i". helm-execute-persistent-action) - ("C-z" . helm-select-action))) - -;; magit -(use-package magit - :ensure t - :bind (("C-x g" . magit-status) - ("C-x M-g" . magit-dispatch-popup))) - -;; geiser -(use-package geiser-guile - :init - (setq-default guile-load-paths '("~/v/git/rsd/sicp" - "~/v/git/rsd/sandbox/guile" - "~/v/git/rsd/git-difme")) - :config - (setq geiser-active-implementations '(guile)) - (setq geiser-mode-smart-tab-p t) - (mapc (lambda (path) (add-to-list 'geiser-guile-load-path path)) - guile-load-paths)) - -;; paredit -(use-package paredit - :ensure t - :init - (setq-default rsd/paredit-modes '(emacs-lisp-mode-hook - lisp-mode-hook - lisp-interaction-mode-hook - scheme-mode-hook)) - :config - (mapc (lambda (mode) (add-hook mode 'enable-paredit-mode)) - rsd/paredit-modes)) - -;; git-annex -(use-package git-annex - :ensure t - :config - (setq git-annex-commit nil)) - -;; keychain-environment -(use-package keychain-environment - :ensure t - :config - (keychain-refresh-environment)) - -(provide 'rsd-pkgs) diff --git a/.emacs.d/lisp/rsd-startup.el b/.emacs.d/lisp/rsd-startup.el @@ -1,22 +0,0 @@ -;; rsd-startup.el -- customize emacs startup. -;; -;; Copyright © 2015-2016 rsiddharth <s@ricketyspace.net> -;; -;; 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. -;; -;; Full text of the GNU General Public License is available at -;; <https://gnu.org/licenses/gpl.html>. - -(setq inhibit-startup-screen t) -(setq initial-buffer-choice "~/v/git/rsd/org/scratch.org") -(setq initial-scratch-message nil) - -(provide 'rsd-startup) diff --git a/.emacs.d/lisp/rsd-text.el b/.emacs.d/lisp/rsd-text.el @@ -1,38 +0,0 @@ -;; rsd-text.el -- utf-8, spacing, font, etc. -;; -;; Copyright © 2015-2016 rsiddharth <s@ricketyspace.net> -;; -;; 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. -;; -;; Full text of the GNU General Public License is available at -;; <https://gnu.org/licenses/gpl.html>. - -;; tabs and spacing -(setq tab-width 4) -(setq-default indent-tabs-mode nil) - -;; utf-8 -;; from cwebber's -;; repo: git://github.com/cwebber/cwebbers-emacs-config -;; file: /general.el [line 380] -;; commit: 3253f24453b81eff2e86d3e2567dfc74473ee525 -(prefer-coding-system 'utf-8) -(set-default-coding-systems 'utf-8) -(set-terminal-coding-system 'utf-8) -(set-keyboard-coding-system 'utf-8) - -;; http://ergoemacs.org/emacs/emacs_n_unicode.html -(set-language-environment "UTF-8") - -;; font -(add-to-list 'default-frame-alist '(font . "terminus")) - -(provide 'rsd-text)