Added emacs prelude and config

This commit is contained in:
TuDatTr
2018-01-09 04:06:05 +01:00
parent 87a671756a
commit 505d3526b8
1129 changed files with 308314 additions and 5398 deletions

View File

@@ -0,0 +1,58 @@
;;; smart-mode-line-autoloads.el --- automatically extracted autoloads
;;
;;; Code:
(add-to-list 'load-path (directory-file-name (or (file-name-directory #$) (car load-path))))
;;;### (autoloads nil "smart-mode-line" "smart-mode-line.el" (23122
;;;;;; 58422 315643 781000))
;;; Generated autoloads from smart-mode-line.el
(when load-file-name (let ((dir (file-name-as-directory (file-name-directory load-file-name)))) (add-to-list 'custom-theme-load-path dir) (when (file-directory-p (file-name-as-directory (concat dir "themes"))) (add-to-list 'custom-theme-load-path (file-name-as-directory (concat dir "themes"))))))
(autoload 'sml/setup "smart-mode-line" "\
Setup the mode-line to be smart and sexy.
ARG is ignored. Just call this function in your init file, and
the mode-line will be setup.
\(fn &optional ARG)" t nil)
(defalias 'smart-mode-line-enable #'sml/setup)
;;;***
;;;### (autoloads nil "smart-mode-line-dark-theme" "smart-mode-line-dark-theme.el"
;;;;;; (23122 58422 332316 461000))
;;; Generated autoloads from smart-mode-line-dark-theme.el
(when load-file-name (add-to-list 'custom-theme-load-path (file-name-as-directory (file-name-directory load-file-name))))
;;;***
;;;### (autoloads nil "smart-mode-line-light-theme" "smart-mode-line-light-theme.el"
;;;;;; (23122 58422 308974 709000))
;;; Generated autoloads from smart-mode-line-light-theme.el
(when load-file-name (add-to-list 'custom-theme-load-path (file-name-as-directory (file-name-directory load-file-name))))
;;;***
;;;### (autoloads nil "smart-mode-line-respectful-theme" "smart-mode-line-respectful-theme.el"
;;;;;; (23122 58422 302305 638000))
;;; Generated autoloads from smart-mode-line-respectful-theme.el
(when load-file-name (add-to-list 'custom-theme-load-path (file-name-as-directory (file-name-directory load-file-name))))
;;;***
;;;### (autoloads nil nil ("smart-mode-line-pkg.el") (23122 58422
;;;;;; 325647 389000))
;;;***
;; Local Variables:
;; version-control: never
;; no-byte-compile: t
;; no-update-autoloads: t
;; End:
;;; smart-mode-line-autoloads.el ends here

View File

@@ -0,0 +1,49 @@
;;; smart-mode-line-dark-theme.el --- Dark theme for smart-mode-line
;; Copyright (C) 2014 Artur Malabarba <bruce.connor.am@gmail.com>
;; Author: Artur Malabarba <bruce.connor.am@gmail.com>
;; URL: http://github.com/Bruce-Connor/smart-mode-line
;; Separator: -
;;; License:
;;
;; This file is NOT part of GNU Emacs.
;;
;; 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 2
;; 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.
;;
;;; Change Log:
;; 0.1a - 2014/05/14 - Created File.
;;; Code:
(deftheme smart-mode-line-dark "Dark theme for smart-mode-line.")
(custom-theme-set-faces
'smart-mode-line-dark
'(mode-line-buffer-id ((t :inherit sml/filename :foreground nil :background nil)))
'(mode-line-inactive ((t :foreground "gray60" :background "#404045" :inverse-video nil)))
'(mode-line ((t :foreground "gray60" :background "black" :inverse-video nil)))
'(sml/global ((t :foreground "gray50" :inverse-video nil)))
'(sml/modes ((t :inherit sml/global :foreground "White")))
'(sml/filename ((t :inherit sml/global :foreground "#eab700" :weight bold)))
'(sml/prefix ((t :inherit sml/global :foreground "#bf6000")))
'(sml/read-only ((t :inherit sml/not-modified :foreground "DeepSkyBlue")))
'(persp-selected-face ((t :foreground "ForestGreen" :inherit sml/filename)))
'(helm-candidate-number ((t :foreground nil :background nil :inherit sml/filename))))
;;;###autoload
(when load-file-name
(add-to-list 'custom-theme-load-path
(file-name-as-directory (file-name-directory load-file-name))))
(provide-theme 'smart-mode-line-dark)
;;; smart-mode-line-dark-theme.el ends here.

View File

@@ -0,0 +1,47 @@
;;; smart-mode-line-light-theme.el --- Light theme for smart-mode-line
;; Copyright (C) 2014 Artur Malabarba <bruce.connor.am@gmail.com>
;; Author: Artur Malabarba <bruce.connor.am@gmail.com>
;; URL: http://github.com/Bruce-Connor/smart-mode-line
;; Separator: -
;;; License:
;;
;; This file is NOT part of GNU Emacs.
;;
;; 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 2
;; 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.
;;
;;; Change Log:
;; 0.1a - 2014/05/14 - Created File.
;;; Code:
(deftheme smart-mode-line-light "Light theme for smart-mode-line.")
(custom-theme-set-faces
'smart-mode-line-light
'(mode-line-buffer-id ((t :inherit sml/filename :foreground nil :background nil)))
'(mode-line-inactive ((t :foreground "grey20" :background "#fdf6e3" :inverse-video nil)))
'(mode-line ((t :foreground "black" :background "grey85" :inverse-video nil)))
'(sml/global ((t :foreground "gray20" :inverse-video nil)))
'(sml/modes ((t :inherit sml/global :foreground "Black")))
'(sml/filename ((t :inherit sml/global :foreground "Blue" :weight bold)))
'(sml/prefix ((t :inherit sml/global :foreground "#5b2507" :weight bold)))
'(sml/read-only ((t :inherit sml/not-modified :foreground "DarkGreen" :weight bold))))
;;;###autoload
(when load-file-name
(add-to-list 'custom-theme-load-path
(file-name-as-directory (file-name-directory load-file-name))))
(provide-theme 'smart-mode-line-light)
;;; smart-mode-line-light-theme.el ends here.

View File

@@ -0,0 +1,8 @@
(define-package "smart-mode-line" "20171013.849" "A color coded smart mode-line."
'((emacs "24.3")
(rich-minority "0.1.1"))
:url "http://github.com/Malabarba/smart-mode-line" :keywords
'("mode-line" "faces" "themes"))
;; Local Variables:
;; no-byte-compile: t
;; End:

View File

@@ -0,0 +1,49 @@
;;; smart-mode-line-respectful-theme.el --- Respectful theme for smart-mode-line
;; Copyright (C) 2014 Artur Malabarba <bruce.connor.am@gmail.com>
;; Author: Artur Malabarba <bruce.connor.am@gmail.com>
;; URL: http://github.com/Bruce-Connor/smart-mode-line
;; Separator: -
;;; License:
;;
;; This file is NOT part of GNU Emacs.
;;
;; 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 2
;; 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.
;;
;;; Change Log:
;; 0.1a - 2014/05/14 - Created File.
;;; Code:
(deftheme smart-mode-line-respectful
"Respectful theme for smart-mode-line.
Tries to respect the colors chosen by your global theme.
Results may vary.")
(custom-theme-set-faces
'smart-mode-line-respectful
'(mode-line-inactive ((t :inverse-video nil)))
'(mode-line ((t :inverse-video nil)))
'(sml/global ((t :inherit font-lock-preprocessor-face)))
'(sml/filename ((t :inherit mode-line-buffer-id)))
'(sml/prefix ((t :inherit (font-lock-variable-name-face sml/global))))
'(sml/read-only ((t :inherit (font-lock-type-face sml/not-modified))))
'(sml/modes ((t :foreground nil :inherit sml/filename :weight normal))))
;;;###autoload
(when load-file-name
(add-to-list 'custom-theme-load-path
(file-name-as-directory (file-name-directory load-file-name))))
(provide-theme 'smart-mode-line-respectful)
;;; smart-mode-line-respectful-theme.el ends here.

File diff suppressed because it is too large Load Diff