From eac51bdc57aa637328e0899e28ddc9cdf7235bb6 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 24 Mar 2013 12:58:27 -0700 Subject: [PATCH] Got rid of buggy starter-kit lisp mode. --- .../starter-kit-lisp-autoloads.el | 52 ---------- .../starter-kit-lisp-pkg.el | 1 - .../starter-kit-lisp.el | 95 ------------------- 3 files changed, 148 deletions(-) delete mode 100644 elpa/starter-kit-lisp-2.0.3/starter-kit-lisp-autoloads.el delete mode 100644 elpa/starter-kit-lisp-2.0.3/starter-kit-lisp-pkg.el delete mode 100644 elpa/starter-kit-lisp-2.0.3/starter-kit-lisp.el diff --git a/elpa/starter-kit-lisp-2.0.3/starter-kit-lisp-autoloads.el b/elpa/starter-kit-lisp-2.0.3/starter-kit-lisp-autoloads.el deleted file mode 100644 index dbe12d1d..00000000 --- a/elpa/starter-kit-lisp-2.0.3/starter-kit-lisp-autoloads.el +++ /dev/null @@ -1,52 +0,0 @@ -;;; starter-kit-lisp-autoloads.el --- automatically extracted autoloads -;; -;;; Code: - - -;;;### (autoloads nil "starter-kit-lisp" "starter-kit-lisp.el" (20815 -;;;;;; 22618 0 0)) -;;; Generated autoloads from starter-kit-lisp.el - -(add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode) - -(add-hook 'emacs-lisp-mode-hook 'esk-remove-elc-on-save) - -(add-hook 'emacs-lisp-mode-hook 'esk-prog-mode-hook) - -(add-hook 'emacs-lisp-mode-hook 'elisp-slime-nav-mode) - -(defun esk-remove-elc-on-save nil "\ -If you're saving an elisp file, likely the .elc is no longer valid." (make-local-variable (quote after-save-hook)) (add-hook (quote after-save-hook) (lambda nil (if (file-exists-p (concat buffer-file-name "c")) (delete-file (concat buffer-file-name "c")))))) - -(define-key emacs-lisp-mode-map (kbd "C-c v") 'eval-buffer) - -(define-key read-expression-map (kbd "TAB") 'lisp-complete-symbol) - -(define-key lisp-mode-shared-map (kbd "RET") 'reindent-then-newline-and-indent) - -(defface esk-paren-face '((((class color) (background dark)) (:foreground "grey50")) (((class color) (background light)) (:foreground "grey55"))) "\ -Face used to dim parentheses." :group (quote starter-kit-faces)) - -(eval-after-load 'paredit '(define-key paredit-mode-map (kbd "M-)") 'paredit-forward-slurp-sexp)) - -(dolist (mode '(scheme emacs-lisp lisp clojure)) (when (> (display-color-cells) 8) (font-lock-add-keywords (intern (concat (symbol-name mode) "-mode")) '(("(\\|)" quote esk-paren-face)))) (add-hook (intern (concat (symbol-name mode) "-mode-hook")) 'esk-turn-on-paredit) (add-hook (intern (concat (symbol-name mode) "-mode-hook")) 'esk-turn-on-paredit)) - -(defun esk-pretty-fn nil (font-lock-add-keywords nil `(("(\\(fn\\>\\)" (0 (progn (compose-region (match-beginning 1) (match-end 1) "ƒ") nil)))))) - -(add-hook 'clojure-mode-hook 'esk-pretty-fn) - -;;;*** - -;;;### (autoloads nil nil ("starter-kit-lisp-pkg.el") (20815 22618 -;;;;;; 616623 0)) - -;;;*** - -(provide 'starter-kit-lisp-autoloads) -;; Local Variables: -;; version-control: never -;; no-byte-compile: t -;; no-update-autoloads: t -;; coding: utf-8 -;; End: -;;; starter-kit-lisp-autoloads.el ends here diff --git a/elpa/starter-kit-lisp-2.0.3/starter-kit-lisp-pkg.el b/elpa/starter-kit-lisp-2.0.3/starter-kit-lisp-pkg.el deleted file mode 100644 index 4aa15de1..00000000 --- a/elpa/starter-kit-lisp-2.0.3/starter-kit-lisp-pkg.el +++ /dev/null @@ -1 +0,0 @@ -(define-package "starter-kit-lisp" "2.0.3" "Saner defaults and goodies for lisp languages" (quote ((starter-kit "2.0.2") (elisp-slime-nav "0.1")))) diff --git a/elpa/starter-kit-lisp-2.0.3/starter-kit-lisp.el b/elpa/starter-kit-lisp-2.0.3/starter-kit-lisp.el deleted file mode 100644 index 7216740a..00000000 --- a/elpa/starter-kit-lisp-2.0.3/starter-kit-lisp.el +++ /dev/null @@ -1,95 +0,0 @@ -;;; starter-kit-lisp.el --- Saner defaults and goodies for lisp languages -;; -;; Copyright (c) 2008-2011 Phil Hagelberg and contributors -;; -;; Author: Phil Hagelberg -;; URL: http://www.emacswiki.org/cgi-bin/wiki/StarterKit -;; Version: 2.0.3 -;; Keywords: convenience -;; Package-Requires: ((starter-kit "2.0.2") (elisp-slime-nav "0.1")) - -;; This file is not part of GNU Emacs. - -;;; Commentary: - -;; "Emacs outshines all other editing software in approximately the -;; same way that the noonday sun does the stars. It is not just bigger -;; and brighter; it simply makes everything else vanish." -;; -Neal Stephenson, "In the Beginning was the Command Line" - -;; This file contains tweaks specific to Lisp languages. - -;;; License: - -;; 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 GNU Emacs; see the file COPYING. If not, write to the -;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -;; Boston, MA 02110-1301, USA. - -;;; Code: - -;; Emacs Lisp - -;;;###autoload -(progn - (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode) - (add-hook 'emacs-lisp-mode-hook 'esk-remove-elc-on-save) - (add-hook 'emacs-lisp-mode-hook 'esk-prog-mode-hook) - (add-hook 'emacs-lisp-mode-hook 'elisp-slime-nav-mode) - - (defun esk-remove-elc-on-save () - "If you're saving an elisp file, likely the .elc is no longer valid." - (make-local-variable 'after-save-hook) - (add-hook 'after-save-hook - (lambda () - (if (file-exists-p (concat buffer-file-name "c")) - (delete-file (concat buffer-file-name "c")))))) - - (define-key emacs-lisp-mode-map (kbd "C-c v") 'eval-buffer) - -;;; Enhance Lisp Modes - - (define-key read-expression-map (kbd "TAB") 'lisp-complete-symbol) - (define-key lisp-mode-shared-map (kbd "RET") 'reindent-then-newline-and-indent) - - ;; TODO: look into parenface package - (defface esk-paren-face - '((((class color) (background dark)) - (:foreground "grey50")) - (((class color) (background light)) - (:foreground "grey55"))) - "Face used to dim parentheses." - :group 'starter-kit-faces) - - (eval-after-load 'paredit - ;; need a binding that works in the terminal - '(define-key paredit-mode-map (kbd "M-)") 'paredit-forward-slurp-sexp)) - - (dolist (mode '(scheme emacs-lisp lisp clojure)) - (when (> (display-color-cells) 8) - (font-lock-add-keywords (intern (concat (symbol-name mode) "-mode")) - '(("(\\|)" . 'esk-paren-face)))) - (add-hook (intern (concat (symbol-name mode) "-mode-hook")) - 'esk-turn-on-paredit) - (add-hook (intern (concat (symbol-name mode) "-mode-hook")) - 'esk-turn-on-paredit)) - - (defun esk-pretty-fn () - (font-lock-add-keywords nil `(("(\\(fn\\>\\)" - (0 (progn (compose-region (match-beginning 1) - (match-end 1) - "\u0192") nil)))))) - (add-hook 'clojure-mode-hook 'esk-pretty-fn)) - -(provide 'starter-kit-lisp) -;;; starter-kit-lisp.el ends here