<commit_before>;;; package --- Summary
;;
;; .emacs de <NAME> <EMAIL> @Willyfrog_
;;
;;; Commentary:
;;
;; This config file can be copied and modified.
;; No need to ask for permission or mention author.
;;

;; augment recursivity
(setq max-lisp-eval-depth 12000)

;;; Code:
(add-to-list 'load-suffixes ".el.gpg") ;; allow for encrypted .el files
(add-to-list 'load-path "~/emacs.d/emacs_custom/")
;(add-to-list 'load-path "~/emacs.d/hy-mode")
;(require 'hy-mode)

;(add-to-list 'load-path "~/.emacs.d/el-get/el-get")
;(add-to-list 'load-path "~/.emacs.d/el-get/elpa")
(add-to-list 'load-path "~/Proyectos/interrupt.el")

;; (unless (require 'el-get nil 'noerror)
;;   (with-current-buffer
;;       (url-retrieve-synchronously
;;        "https://raw.github.com/dimitri/el-get/master/el-get-install.el")
;;     (let (el-get-master-branch)
;;       (goto-char (point-max))
;;       (eval-print-last-sexp))))

;; synch packages
;; (setq my-el-get-packages
;;       (append
;;        '(auto-complete
;;          autopair
;;          clojure-mode
;;          cl-lib
;; 	 cider
;;          deferred
;;          fill-column-indicator
;;          json
;;          magit
;;          paredit
;;          php-mode
;;          pkgbuild-mode
;;          popup
;;          rst-mode
;;          smart-operator
;;          smarty-mode
;;          twittering-mode
;;          web-mode
;;          yasnippet
;;          yasnippet-config
;;          )))

;(el-get 'sync my-el-get-packages) ;; descomentar para instalar
;(el-get 'sync)

;; non el-get
(require 'package)

;; gnu es necesario para emacs < 24
;; (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/") t)
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/") t)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)
(package-initialize)

;; org-mode
;(require 'org-install)
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-cc" 'org-capture)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)

(setq org-log-done t)
;(require 'ox-reveal) ;; for org-reveal
;(require 'ox-md) ;; allow for exporting to Markdown

;; apply some configuration for Mac OS X only
;; (if (string-equal system-type "darwin")
;;     (progn

;;       ;; option -> alt & command -> meta
;;       (setq mac-option-modifier nil
;;             mac-command-modifier 'meta
;;             x-select-enable-clipboard t)

;;       ;; Setup PATH in darwin
;;       (setenv "PATH" (shell-command-to-string "source ~/.bash_profile; echo -n $PATH"))
;;       ;; Update exec-path with the contents of $PATH
;;       (loop for path in (split-string (getenv "PATH") ":") do
;;             (add-to-list 'exec-path path))

;;       ;; Grab other environment variables
;;       (loop for var in (split-string (shell-command-to-string "source ~/.bash_profile; env")) do
;;             (let* ((pair (split-string var "="))
;;                    (key (car pair))
;;                    (value (cadr pair)))
;;               (unless (getenv key)
;;                 (setenv key value))))
;;       ))

;;No tool bar mode
(tool-bar-mode -1)
;;No menu bar mode
;(menu-bar-mode -1)
;;No scrollbar
(scroll-bar-mode -1)
(display-battery-mode t)
(setq inhibit-startup-message t)

;;IDO
(require 'ido)
(ido-mode t)
(setq ido-enable-flex-matching t)
(ido-vertical-mode t)

;;Parentesis
(show-paren-mode t)
(setq show-paren-style 'expression)
(setq show-paren-delay 0)

;(require 'php-mode)

;; set major modes
(add-to-list 'auto-mode-alist '("\\.php\\'" . php-mode))
(add-to-list 'auto-mode-alist '("\\.inc\\'" . php-mode))
(add-to-list 'auto-mode-alist '("\\.py\\'" . python-mode))
(add-to-list 'auto-mode-alist '("\\.rst\\'" . rst-mode))
(add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode))
(add-to-list 'auto-mode-alist '("\\.clj\\'" . clojure-mode))
(add-to-list 'auto-mode-alist '("\\.html?\\'" . html-mode))
;(add-to-list 'auto-mode-alist '("\\.hy\\'" . hy-mode))
(add-to-list 'auto-mode-alist '("\\emacs\\'" . emacs-lisp-mode))
(add-to-list 'auto-mode-alist '("\\.el\\'" . emacs-lisp-mode))
(add-to-list 'auto-mode-alist '("\\.lisp\\'" . lisp-mode))
(add-to-list 'auto-mode-alist '("\\.lsp\\'" . lisp-mode))
(add-to-list 'auto-mode-alist '("\\.cl\\'" . lisp-mode))
(add-to-list 'auto-mode-alist '("\\.html\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.tpl\\'" . web-mode))

;; flycheck
;;(add-hook 'after-init-hook #'global-flycheck-mode)

(require 'custom_hooks)

(setq-default indent-tabs-mode nil) ;; usa espacios en vez de tabuladores
(setq tab-width 4)          ;; 4 espacios por tab

;; probamos la carga de autocompletado
;(require 'auto-complete)
;(global-auto-complete-mode t)
(require 'company)
(add-hook 'after-init-hook 'global-company-mode)

;(setq twittering-use-master-password t)

;; habilitar acentos
(require 'iso-transl)
(put 'scroll-left 'disabled nil)

;; shift+direction moves to that window
;; (when (fboundp 'windmove-default-keybindings)
;;       (windmove-default-keybindings))
<commit_msg>require alchemist<commit_after>;;; package --- Summary
;;
;; .emacs de <NAME> <EMAIL> @Willyfrog_
;;
;;; Commentary:
;;
;; This config file can be copied and modified.
;; No need to ask for permission or mention author.
;;

;; augment recursivity
(setq max-lisp-eval-depth 12000)

;;; Code:
(add-to-list 'load-suffixes ".el.gpg") ;; allow for encrypted .el files
(add-to-list 'load-path "~/emacs.d/emacs_custom/")
;(add-to-list 'load-path "~/emacs.d/hy-mode")
;(require 'hy-mode)

;(add-to-list 'load-path "~/.emacs.d/el-get/el-get")
;(add-to-list 'load-path "~/.emacs.d/el-get/elpa")
(add-to-list 'load-path "~/Proyectos/interrupt.el")

;; (unless (require 'el-get nil 'noerror)
;;   (with-current-buffer
;;       (url-retrieve-synchronously
;;        "https://raw.github.com/dimitri/el-get/master/el-get-install.el")
;;     (let (el-get-master-branch)
;;       (goto-char (point-max))
;;       (eval-print-last-sexp))))

;; synch packages
;; (setq my-el-get-packages
;;       (append
;;        '(auto-complete
;;          autopair
;;          clojure-mode
;;          cl-lib
;; 	 cider
;;          deferred
;;          fill-column-indicator
;;          json
;;          magit
;;          paredit
;;          php-mode
;;          pkgbuild-mode
;;          popup
;;          rst-mode
;;          smart-operator
;;          smarty-mode
;;          twittering-mode
;;          web-mode
;;          yasnippet
;;          yasnippet-config
;;          )))

;(el-get 'sync my-el-get-packages) ;; descomentar para instalar
;(el-get 'sync)

;; non el-get
(require 'package)

;; gnu es necesario para emacs < 24
;; (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/") t)
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/") t)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)
(package-initialize)

;; org-mode
;(require 'org-install)
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-cc" 'org-capture)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)

(setq org-log-done t)
;(require 'ox-reveal) ;; for org-reveal
;(require 'ox-md) ;; allow for exporting to Markdown

;; apply some configuration for Mac OS X only
;; (if (string-equal system-type "darwin")
;;     (progn

;;       ;; option -> alt & command -> meta
;;       (setq mac-option-modifier nil
;;             mac-command-modifier 'meta
;;             x-select-enable-clipboard t)

;;       ;; Setup PATH in darwin
;;       (setenv "PATH" (shell-command-to-string "source ~/.bash_profile; echo -n $PATH"))
;;       ;; Update exec-path with the contents of $PATH
;;       (loop for path in (split-string (getenv "PATH") ":") do
;;             (add-to-list 'exec-path path))

;;       ;; Grab other environment variables
;;       (loop for var in (split-string (shell-command-to-string "source ~/.bash_profile; env")) do
;;             (let* ((pair (split-string var "="))
;;                    (key (car pair))
;;                    (value (cadr pair)))
;;               (unless (getenv key)
;;                 (setenv key value))))
;;       ))

;;No tool bar mode
(tool-bar-mode -1)
;;No menu bar mode
;(menu-bar-mode -1)
;;No scrollbar
(scroll-bar-mode -1)
(display-battery-mode t)
(setq inhibit-startup-message t)

;;IDO
(require 'ido)
(ido-mode t)
(setq ido-enable-flex-matching t)
(ido-vertical-mode t)

;;Parentesis
(show-paren-mode t)
(setq show-paren-style 'expression)
(setq show-paren-delay 0)

;(require 'php-mode)

;; set major modes
(add-to-list 'auto-mode-alist '("\\.php\\'" . php-mode))
(add-to-list 'auto-mode-alist '("\\.inc\\'" . php-mode))
(add-to-list 'auto-mode-alist '("\\.py\\'" . python-mode))
(add-to-list 'auto-mode-alist '("\\.rst\\'" . rst-mode))
(add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode))
(add-to-list 'auto-mode-alist '("\\.clj\\'" . clojure-mode))
(add-to-list 'auto-mode-alist '("\\.html?\\'" . html-mode))
;(add-to-list 'auto-mode-alist '("\\.hy\\'" . hy-mode))
(add-to-list 'auto-mode-alist '("\\emacs\\'" . emacs-lisp-mode))
(add-to-list 'auto-mode-alist '("\\.el\\'" . emacs-lisp-mode))
(add-to-list 'auto-mode-alist '("\\.lisp\\'" . lisp-mode))
(add-to-list 'auto-mode-alist '("\\.lsp\\'" . lisp-mode))
(add-to-list 'auto-mode-alist '("\\.cl\\'" . lisp-mode))
(add-to-list 'auto-mode-alist '("\\.html\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.tpl\\'" . web-mode))
(require 'alchemist)
(add-to-list 'auto-mode-alist '("\\.ex?\\'" . alchemist-mode))

;; flycheck
;;(add-hook 'after-init-hook #'global-flycheck-mode)

(require 'custom_hooks)

(setq-default indent-tabs-mode nil) ;; usa espacios en vez de tabuladores
(setq tab-width 4)          ;; 4 espacios por tab

;; probamos la carga de autocompletado
;(require 'auto-complete)
;(global-auto-complete-mode t)
(require 'company)
(add-hook 'after-init-hook 'global-company-mode)

;(setq twittering-use-master-password t)

;; habilitar acentos
(require 'iso-transl)
(put 'scroll-left 'disabled nil)

;; shift+direction moves to that window
;; (when (fboundp 'windmove-default-keybindings)
;;       (windmove-default-keybindings))

{'fraction_non_alphanumeric': 0.2080536912751678, 'fraction_numerical': 0.0027635215159889457, 'mean_word_length': 2.719897209985316, 'pattern_counts': {'":': 2, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 2, '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': '4747074', 'n_tokens_mistral': 3895, 'n_tokens_neox': 3810, 'n_words': 813}