<commit_before>;;; all-the-icons.el --- A library for inserting Developer icons

;; Copyright (C) 2016  <NAME> <<EMAIL>>

;; Author: <NAME> <<EMAIL>>
;; Version: 1.0.0
;; Package-Requires: ((dash "2.12.0") (emacs "24.3"))
;; URL: https://github.com/domtronn/all-the-icons.el
;; Keywords: convenient, lisp

;; 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/>.

;;; Commentary:

;;; Code:

(require 'dash)

(require 'data-alltheicons  "./data/data-alltheicons.el")
(require 'data-devicons     "./data/data-devicons.el")
(require 'data-faicons      "./data/data-faicons.el")
(require 'data-fileicons    "./data/data-fileicons.el")
(require 'data-octicons     "./data/data-octicons.el")
(require 'data-weathericons "./data/data-weathericons.el")

;; red
(defvar all-the-icons-red "#AC4142")
(defvar all-the-icons-lred "#EB595A")
(defvar all-the-icons-dred "#843031")
;; green
(defvar all-the-icons-green "#90A959")
(defvar all-the-icons-lgreen "#C6E87A")
(defvar all-the-icons-dgreen "#6D8143")

;; yellow
(defvar all-the-icons-yellow "#FFD446")
(defvar all-the-icons-lyellow "#FFC16D")
(defvar all-the-icons-dyellow "#B48D56")<commit_msg>Added `Commentary` and `Usage` blocks to package<commit_after>;;; all-the-icons.el --- A library for inserting Developer icons

;; Copyright (C) 2016  <NAME> <<EMAIL>>

;; Author: <NAME> <<EMAIL>>
;; Version: 1.0.0
;; Package-Requires: ((dash "2.12.0") (emacs "24.3"))
;; URL: https://github.com/domtronn/all-the-icons.el
;; Keywords: convenient, lisp

;; 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/>.

;;; Commentary:

;; This package is a utility for using and formatting various Icon
;; fonts within Emacs.  Icon Fonts allow you to propertize and format
;; icons the same way you would normal text.  This enables things such
;; as better scaling of and anti aliasing of the icons.

;; This package was inspired by

;; - `mode-icons' for Emacs, found at https://github.com/ryuslash/mode-icons
;; - `file-icons' for Atom, found at https://atom.io/packages/file-icons

;; Currently, this package provides an interface to the following Icon Fonts

;; - Atom File Icons,   found at https://atom.io/packages/file-icons
;; - DevIcons,          found at http://vorillaz.github.io/devicons/#/main
;; - FontAwesome Icons, found at http://fontawesome.io/
;; - GitHub Octicons,   found at http://octicons.github.com
;; - Weather Icons,     found at https://erikflowers.github.io/weather-icons/
;; - AllTheIcons,       a custom Icon Font maintained as part of this package

;; Requests for new icons will be accepted and added to the AllTheIcons Icon Font

;;; Usage:

;; The simplest usage for this package is to use the following functions;

;;   `all-the-icons-icon-for-buffer'
;;   `all-the-icons-icon-for-file'
;;   `all-the-icons-icon-for-mode'

;; Which can be used to get a formatted icon for the current buffer, a
;; file name or a major mode respectively.  e.g.

;;   (insert (all-the-icons-icon-for-file "foo.js"))

;; Inserts a JavaScript icon formatted like this

;;   #("" 0 1 (display (raise -0.24)
;;              face (:family "dev-icons" :height 1.08 :foreground "#FFD446")))

;; You can also insert icons directly using the individual icon family
;; functions

;;   `all-the-icons-alltheicon'     // Custom font with fewest icons
;;   `all-the-icons-devicon'        // Developer Icons
;;   `all-the-icons-faicon'         // Font Awesome Icons
;;   `all-the-icons-fileicon'       // File Icons from the Atom File Icons package
;;   `all-the-icons-octicon'        // GitHub Octicons
;;   `all-the-icons-wicon'          // Weather Icons

;; You can call these functions with the icon name you want to insert, e.g.

;;   (all-the-icons-octicon "file-binary")  // GitHub Octicon for Binary File
;;   (all-the-icons-faicon  "cogs")         // FontAwesome icon for cogs
;;   (all-the-icons-wicon   "tornado")      // Weather Icon for tornado

;; A list of all the icon names for the different font families can be
;; found in the data directory, or by inspecting the alist variables.
;; All the alist varaiables are prefixed with `all-the-icons-data/'

;;; Code:

(require 'dash)

(require 'data-alltheicons  "./data/data-alltheicons.el")
(require 'data-devicons     "./data/data-devicons.el")
(require 'data-faicons      "./data/data-faicons.el")
(require 'data-fileicons    "./data/data-fileicons.el")
(require 'data-octicons     "./data/data-octicons.el")
(require 'data-weathericons "./data/data-weathericons.el")

;; red
(defvar all-the-icons-red "#AC4142")
(defvar all-the-icons-lred "#EB595A")
(defvar all-the-icons-dred "#843031")
;; green
(defvar all-the-icons-green "#90A959")
(defvar all-the-icons-lgreen "#C6E87A")
(defvar all-the-icons-dgreen "#6D8143")

;; yellow
(defvar all-the-icons-yellow "#FFD446")
(defvar all-the-icons-lyellow "#FFC16D")
(defvar all-the-icons-dyellow "#B48D56")
{'fraction_non_alphanumeric': 0.13943825826824, 'fraction_numerical': 0.01844773142762174, 'mean_word_length': 3.6978922716627634, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '59759', 'n_tokens_mistral': 2011, 'n_tokens_neox': 1921, 'n_words': 652}