<commit_before>;; ------------------------------------
;; -*- Mode: Emacs-Lisp -*-
;; -*- lisp -*-
;; ~/.emacs.d/init.el
;; <NAME> <<EMAIL>>
;; ------------------------------------

;; --------
;; Identity
;; --------
(setq init-file-user "jaseem"
      user-full-name "<NAME>"
      user-nick "jaseemabid"
      user-mail-address "<EMAIL>")

;; --------
;; Encoding
;; --------
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(prefer-coding-system 'utf-8)

;; ---------------
;; Custom Packages
;; ---------------
(require 'cl)
(require 'package)

(setq package-archives '(("org" . "http://orgmode.org/elpa/")
						 ("gnu" . "http://elpa.gnu.org/packages/")
						 ("marmalade" . "http://marmalade-repo.org/packages/")
						 ("melpa" . "http://melpa.milkbox.net/packages/")))

;; Install all packages required
(load-file "~/.emacs.d/elpa-list.el")

(package-initialize)

(defun jaseem/packages-installed-p ()
  (loop for pkg in jaseem/packages
        when (not (package-installed-p pkg)) do (return nil)
        finally (return t)))

(unless (jaseem/packages-installed-p)
  (message "%s" "Refreshing package database...")
  (package-refresh-contents)
  (dolist (pkg jaseem/packages)
    (when (not (package-installed-p pkg))
      (package-install pkg))))

;; Set the paths
(when (memq window-system '(mac ns))
  (exec-path-from-shell-initialize))

;; ---------
;; Autoloads
;; ---------
(require 'diminish)
(require 'dired)
(require 'dired-details)
(require 'edit-server)
(require 'flx-ido)
(require 'flyspell)
(require 'magit)
(require 'paredit)
(require 'python-pep8)
(require 'python-pylint)
(require 'saveplace)
(require 'server)
(require 'uniquify)
(require 'web-beautify)
(require 'yasnippet)

;; -----------------
;; General settings
;; -----------------
(setq case-fold-search t
      column-number-mode t
      default-major-mode 'org-mode
      inhibit-startup-message t
      initial-scratch-message nil<commit_msg>Exec and set path on linux<commit_after>;; ------------------------------------
;; -*- Mode: Emacs-Lisp -*-
;; -*- lisp -*-
;; ~/.emacs.d/init.el
;; <NAME> <<EMAIL>>
;; ------------------------------------

;; --------
;; Identity
;; --------
(setq init-file-user "jaseem"
      user-full-name "<NAME>"
      user-nick "jaseemabid"
      user-mail-address "<EMAIL>")

;; --------
;; Encoding
;; --------
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(prefer-coding-system 'utf-8)

;; ---------------
;; Custom Packages
;; ---------------
(require 'cl)
(require 'package)

(setq package-archives '(("org" . "http://orgmode.org/elpa/")
						 ("gnu" . "http://elpa.gnu.org/packages/")
						 ("marmalade" . "http://marmalade-repo.org/packages/")
						 ("melpa" . "http://melpa.milkbox.net/packages/")))

;; Install all packages required
(load-file "~/.emacs.d/elpa-list.el")

(package-initialize)

(defun jaseem/packages-installed-p ()
  (loop for pkg in jaseem/packages
        when (not (package-installed-p pkg)) do (return nil)
        finally (return t)))

(unless (jaseem/packages-installed-p)
  (message "%s" "Refreshing package database...")
  (package-refresh-contents)
  (dolist (pkg jaseem/packages)
    (when (not (package-installed-p pkg))
      (package-install pkg))))

;; Set the paths
(exec-path-from-shell-initialize)

;; ---------
;; Autoloads
;; ---------
(require 'diminish)
(require 'dired)
(require 'dired-details)
(require 'edit-server)
(require 'flx-ido)
(require 'flyspell)
(require 'magit)
(require 'paredit)
(require 'python-pep8)
(require 'python-pylint)
(require 'saveplace)
(require 'server)
(require 'uniquify)
(require 'web-beautify)
(require 'yasnippet)

;; -----------------
;; General settings
;; -----------------
(setq case-fold-search t
      column-number-mode t
      default-major-mode 'org-mode
      inhibit-startup-message t
      initial-scratch-message nil
{'fraction_non_alphanumeric': 0.2652588204996137, 'fraction_numerical': 0.0020602626834921455, 'mean_word_length': 2.35405872193437, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '541594', 'n_tokens_mistral': 1390, 'n_tokens_neox': 1320, 'n_words': 267}