<commit_before>;;; mds-pragmatic.el --- Pragmático (Pragmatic)
;;
;; Copyright (C) 2016-2016 <NAME>
;;
;; author: <NAME> <mds>
;; URL: https://github.com/mdssjc/mds-emacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: Unlicense

;;; Commentary:
;; Organização do trabalho.

;;; Code:
(use-package org
  :ensure t
  :mode ("\\.org\\'" . org-mode)
  :bind
  (("<f9> l" . org-store-link)
   ("<f9> a" . org-agenda)
   ("<f9> c" . org-capture)
   ("<f9> b" . org-iswitchb)
   ("<f9> p" . org-pomodoro)
   ("<f9> T" . tomatinho))
  :init
  (add-hook 'org-mode-hook
            '(lambda () (progn)
               (setq-local company-minimum-prefix-length 3)
               (setq-local company-transformers '(company-sort-by-occurrence
                                                  company-sort-prefer-same-case-prefix
                                                  company-sort-by-statistics))
               (setq-local company-backends '((company-capf
                                               company-abbrev
                                               company-dabbrev
                                               company-yasnippet
                                               :with
                                               company-ispell)))
               (company-mode)
               (flyspell-mode)
               (org-bullets-mode t)
               (worf-mode)))
  :config
  (require 'ob-java)
  (setq org-todo-keywords '((sequence "TODO" "DOING" "BLOCKED" "REVIEW"
                                      "|" "DONE" "ARCHIVED" "CANCELED"))
        org-todo-keyword-faces '(("TODO"     . org-warning)
                                 ("DOING"    . "yellow")
                                 ("BLOCKED"  . "red")
                                 ("REVIEW"   . "orange")
                                 ("DONE"     . "green")
                                 ("ARCHIVED" . "blue")
                                 ("CANCELED" . "red1"))
        org-directory (concat user-emacs-directory "org")
        org-agenda-files (list "~/"
                               "~/Documents"
                               (concat user-emacs-directory "org"))
        org-default-notes-file (concat user-emacs-directory "org/notes.org")
        org-ellipsis "⤵"
        org-src-fontify-natively t
        org-src-tab-acts-natively t
        org-src-window-setup 'current-window)
  (org-babel-do-load-languages 'org-babel-do-load-languages '((emacs-lisp . t)
                                                              (java . t)
                                                              (c . t))))

(use-package org-bullets
  :ensure t
  :commands org-bullets-mode)

(use-package org-pomodoro
  :ensure t
  :commands org-pomodoro)

(use-package tomatinho
  :ensure t
  :commands tomatinho)<commit_msg>Melhorias no Org-mode.<commit_after>;;; mds-pragmatic.el --- Pragmático (Pragmatic)
;;
;; Copyright (C) 2016-2016 <NAME>
;;
;; author: <NAME> <mds>
;; URL: https://github.com/mdssjc/mds-emacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: Unlicense

;;; Commentary:
;; Organização do trabalho.

;;; Code:
(use-package org
  :ensure t
  :mode ("\\.org\\'" . org-mode)
  :bind
  (("<f9> l" . org-store-link)
   ("<f9> a" . org-agenda)
   ("<f9> c" . org-capture)
   ("<f9> b" . org-iswitchb)
   ("<f9> p" . org-pomodoro)
   ("<f9> T" . tomatinho))
  :init
  (add-hook 'org-mode-hook
            '(lambda () (progn)
               (setq-local company-minimum-prefix-length 3)
               (setq-local company-transformers '(company-sort-by-occurrence
                                                  company-sort-prefer-same-case-prefix
                                                  company-sort-by-statistics))
               (setq-local company-backends '((company-capf
                                               company-abbrev
                                               company-dabbrev
                                               company-yasnippet
                                               :with
                                               company-ispell)))
               (company-mode)
               (org-bullets-mode t)
               (worf-mode)
               (set-face-attribute 'org-table nil :inherit 'fixed-pitch)))
  :config
  (require 'ob-java)
  (setq org-todo-keywords '((sequence "TODO" "DOING" "BLOCKED" "REVIEW"
                                      "|" "DONE" "ARCHIVED" "CANCELED"))
        org-todo-keyword-faces '(("TODO"     . org-warning)
                                 ("DOING"    . "yellow")
                                 ("BLOCKED"  . "red")
                                 ("REVIEW"   . "orange")
                                 ("DONE"     . "green")
                                 ("ARCHIVED" . "blue")
                                 ("CANCELED" . "red1"))
        org-directory (concat user-emacs-directory "org")
        org-agenda-files (list "~/"
                               "~/Documents"
                               (concat user-emacs-directory "org"))
        org-default-notes-file (concat user-emacs-directory "org/notes.org")
        org-ellipsis "⤵"
        org-pretty-entities t
        org-hide-emphasis-markers t
        org-startup-align-all-tables t
        org-src-fontify-natively t
        org-src-tab-acts-natively t
        org-src-window-setup 'current-window)
  (org-babel-do-load-languages 'org-babel-do-load-languages '((emacs-lisp . t)
                                                              (java . t)
                                                              (c . t))))

(use-package org-bullets
  :ensure t
  :commands org-bullets-mode)

(use-package org-pomodoro
  :ensure t
  :commands org-pomodoro)

(use-package tomatinho
  :ensure t
  :commands tomatinho)
{'fraction_non_alphanumeric': 0.13313813296589735, 'fraction_numerical': 0.005511539786427834, 'mean_word_length': 1.1579338535860275, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 52, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '208147', 'n_tokens_mistral': 1722, 'n_tokens_neox': 1646, 'n_words': 323}