My emacs configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

565 lines
18 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. ;;; My basic configuration Gerardo Marx 15/Jul/2020
  2. ;;--------
  3. ;; Melpa repository:
  4. (require 'package)
  5. (add-to-list 'package-archives
  6. '("melpa" . "https://melpa.org/packages/")t)
  7. (package-initialize)
  8. ;; use-package
  9. (unless (package-installed-p 'use-package)
  10. (package-refresh-contents)
  11. (package-install 'use-package))
  12. ;; frame size
  13. (setq initial-frame-alist '((top . 10)(left . 20)
  14. (width . 90)(height . 50)))
  15. ;; which-key:
  16. (use-package which-key
  17. :ensure t
  18. :config (which-key-mode))
  19. ;; doom-themes
  20. (use-package doom-themes
  21. :ensure t
  22. :config
  23. (setq doom-themes-enable-bold t ; if nil, bold is universally disabled
  24. doom-themes-enable-italic t) ; if nil, italics is universally disabled
  25. (load-theme ;'doom-one
  26. 'doom-tomorrow-day t)
  27. ;; Enable flashing mode-line on errors
  28. (doom-themes-visual-bell-config)
  29. ;; Enable custom neotree theme (all-the-icons must be installed!)
  30. (doom-themes-neotree-config)
  31. ;; or for treemacs users
  32. (setq doom-themes-treemacs-theme "doom-colors") ; use the colorful treemacs theme
  33. (doom-themes-treemacs-config)
  34. ;; Corrects (and improves) org-mode's native fontification.
  35. (doom-themes-org-config))
  36. ;; modeline
  37. (use-package doom-modeline
  38. :ensure t
  39. :init (doom-modeline-mode 1))
  40. ;; icons:
  41. (use-package all-the-icons
  42. :ensure t) ;; --> you need this M-x all-the-icons-install-fonts
  43. ;; startup config
  44. (setq inhibit-startup-message t) ;;inhibit startup
  45. (tool-bar-mode -1)
  46. (menu-bar-mode -1)
  47. (global-hl-line-mode +1) ;; highlith current line
  48. (delete-selection-mode +1) ;; deletes selected text and replace it
  49. (scroll-bar-mode -1)
  50. (setq ns-right-alternate-modifier nil) ;; right option macos key enable
  51. (setq backup-directory-alist '(("." . "~/.saves"))) ;; a backup dir to store no saved files
  52. (fset 'yes-or-no-p 'y-or-n-p) ;; Ask y/n instead of yes/no
  53. (add-hook 'prog-mode-hook 'display-line-numbers-mode) ;; display line number when programming
  54. (show-paren-mode +1) ;; show matching parentheses
  55. ;; helm package:
  56. (use-package helm
  57. :ensure t
  58. :demand t
  59. :bind (("M-x" . helm-M-x)
  60. ("C-c h x" . helm-register) ; C-x r SPC and C-x r j
  61. ("C-c h g" . helm-google-suggest)
  62. ("C-c h M-:" . helm-eval-expression-with-eldoc)
  63. ("C-x C-f" . helm-find-files))
  64. :config
  65. (require 'helm-config)
  66. (helm-mode t))
  67. ;; projectile:
  68. (use-package projectile
  69. :ensure t
  70. :config
  71. (define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map)
  72. (projectile-mode t))
  73. ;; helm-projectile:
  74. (use-package helm-projectile
  75. :after projectile
  76. :ensure t
  77. :init
  78. (require 'tramp)
  79. :config
  80. (helm-projectile-on))
  81. ;; temp:
  82. (setq ido-enable-flex-matching t)
  83. ;; dash-board:
  84. (use-package dashboard
  85. :ensure t
  86. :init
  87. (progn
  88. (setq recentf-exclude '("/Users/gmarx/beorg/"))
  89. (setq dashboard-items '(
  90. ;;(recents . 5)
  91. (bookmarks . 5)
  92. (projects . 5)
  93. (agenda . 5)))
  94. (setq dashboard-banner-logo-title "Welcome gMarx")
  95. (setq dashboard-set-file-icons t)
  96. (setq dashboard-set-init-info t)
  97. (setq dashboard-startup-banner 'logo)
  98. )
  99. :config
  100. (dashboard-setup-startup-hook))
  101. ;; treemacs
  102. (use-package treemacs
  103. :ensure t
  104. :init
  105. (with-eval-after-load 'winum
  106. (define-key winum-keymap (kbd "M-0") #'treemacs-select-window))
  107. :config
  108. (progn
  109. (setq treemacs-is-never-other-window t)
  110. (setq treemacs-width 35))
  111. :bind
  112. (:map global-map
  113. ("M-0" . treemacs-select-window)
  114. ("C-x t t" . treemacs)))
  115. ;; treemacs-projectile
  116. (use-package treemacs-projectile
  117. :after treemacs projectile
  118. :ensure t)
  119. ;; magit
  120. (use-package magit
  121. :ensure t)
  122. ;; latex
  123. (use-package tex
  124. :defer t
  125. :ensure auctex
  126. :init
  127. (progn
  128. (setq-default TeX-master nil) ; Query for master file.
  129. (setq TeX-auto-save t) ; Enable parse on save.
  130. (setq TeX-save-query nil)
  131. (custom-set-variables '(LaTeX-command "latex -synctex=1"))
  132. ;;(setq TeX-command-force "LaTex")
  133. ;;(setq latex-run-command "pdflatex")
  134. (setq TeX-parse-self t) ; Enable parse on load.
  135. (setenv "PATH" (concat (getenv "PATH") ":/Library/TeX/texbin/"))
  136. (setq exec-path (append exec-path '("/Library/TeX/texbin/")))
  137. ;; pdf-tools configuration
  138. (setq TeX-PDF-mode t)
  139. (add-hook 'TeX-after-compilation-finished-functions
  140. #'TeX-revert-document-buffer)
  141. (setq TeX-view-program-selection '((output-pdf "PDF Tools"))
  142. TeX-source-correlate-start-server t)
  143. (setq pdf-info-epdfinfo-program "/usr/local/bin/epdfinfo")
  144. (add-to-list 'auto-mode-alist '("\\.pdf\\'" . pdf-view-mode))
  145. (add-hook 'pdf-view-mode-hook
  146. (lambda () (pdf-tools-enable-minor-modes)))
  147. )
  148. )
  149. ;; pdf-tools
  150. (use-package pdf-tools
  151. :ensure t
  152. :pin melpa
  153. :magic ("%PDF" . pdf-view-mode)
  154. :config
  155. (custom-set-variables
  156. '(pdf-tools-handle-upgrades nil))
  157. )
  158. ;;--------
  159. ;; latex-preview
  160. (use-package latex-preview-pane
  161. :ensure t)
  162. ;; latexmk
  163. (use-package auctex-latexmk
  164. :ensure t
  165. :init
  166. (auctex-latexmk-setup)
  167. :config
  168. (setq auctex-latexmk-inherit-TeX-PDF-mode t))
  169. ;;----------------------
  170. ;; flycheck
  171. (use-package flycheck
  172. :ensure t
  173. :init (global-flycheck-mode))
  174. ;; expand region
  175. (use-package expand-region
  176. :ensure t
  177. :bind
  178. ("C-=" . er/expand-region)
  179. ("C--" . er/contract-region))
  180. ;; org-bullets
  181. (use-package org-bullets
  182. :ensure t
  183. :init
  184. (setq org-support-shift-select t))
  185. ;; :hook
  186. ;; (org-mode . org-bullets-mode))
  187. ;;------pomodoro
  188. (use-package org-pomodoro
  189. :ensure t
  190. :after org
  191. :bind ("C-x p" . org-pomodoro))
  192. ;; org configuration:
  193. (add-hook 'org-mode-hook
  194. (lambda()
  195. ;; dictionary
  196. (org-bullets-mode 1)
  197. (ispell-change-dictionary "en")
  198. (setq org-image-actual-width nil)
  199. (setq org-tags-column 5)
  200. (setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5))
  201. (setq org-latex-create-formula-image-program 'imagemagick)
  202. (setq org-startup-indented t) ; Enable `org-indent-mode' by default
  203. (visual-line-mode 1)
  204. ))
  205. ;; Company-mode
  206. (use-package company
  207. :ensure t
  208. :init
  209. (add-hook 'after-init-hook 'global-company-mode))
  210. ;; ispell
  211. (dolist (hook '(org-mode-hook latex-mode-hook tex-mode-hook git-commit-mode-hook))
  212. (add-hook hook (lambda () (flyspell-mode 1))))
  213. ;;(setq ispell-dictionary "en")
  214. (setq ispell-program-name "/usr/local/bin/aspell")
  215. ;; Set default font:
  216. (add-to-list 'default-frame-alist
  217. '(font . "Source Code Pro-20"))
  218. ;; Activation org-agenda and capture
  219. (global-set-key (kbd "C-c l") 'org-store-link)
  220. (global-set-key (kbd "C-c a") 'org-agenda)
  221. (global-set-key (kbd "C-c c") 'org-capture)
  222. ;;++++++++++
  223. ;; sentence one space definition
  224. (setq sentence-end-double-space nil)
  225. ;;---------
  226. ;; Todo states for ORG:
  227. (setq org-todo-keywords
  228. (quote
  229. ((sequence "TODO(t)" "PROGRESS(g)" "PAUSE(p)" "CHECK(k)" "|" "DONE(d)" "CANCELED(c)"))))
  230. (setq org-todo-keyword-faces
  231. '(("PROGRESS" . "orange") ("PAUSE" . "magenta") ("CHECK" . "purple") ("CANCELED" . "red") ("DONE" . "green")))
  232. ;; capture:
  233. (setq org-capture-templates
  234. (quote (
  235. ("a" ; hotkey
  236. "Academia Todo" ; name
  237. entry ; type
  238. (file+headline "/Users/gmarx/beorg/academia.org" "Tasks") ;target
  239. "* TODO [#B] %^{Task}" ; template
  240. )
  241. ("t"
  242. "Task PhD"
  243. entry
  244. (file+datetree "~/beorg/phd.org")
  245. "* TODO [#A] %^{Task}")
  246. ("d"
  247. "Students"
  248. item
  249. (file+datetree "~/beorg/students.org")
  250. "- %U - %^{Activity}")
  251. ("r"
  252. "to Read"
  253. entry
  254. (file+headline "~/beorg/inbox.org" "to read")
  255. "* TODO %^{topic to read}\n%^{Why to read this?}"
  256. )
  257. ("s"
  258. "Schedule an event"
  259. entry
  260. (file+headline "~/beorg/inbox.org" "Scheduled events")
  261. "* %^{Event}\nSCHEDULED: %^t"
  262. )
  263. ("k"
  264. "Task inbox"
  265. entry
  266. (file+headline "~/beorg/inbox.org" "Tasks")
  267. "* TODO %^{Task} -> %^{move to}"
  268. )
  269. ("c"
  270. "Cheat-Sheet"
  271. entry
  272. (file+headline "~/beorg/cheatsheets.org" "Notes")
  273. "* %^{what solves}\n%^{the commands are}"
  274. )
  275. )))
  276. ;;-------end capture
  277. ;;=======
  278. ;;python
  279. (use-package virtualenvwrapper
  280. :ensure t
  281. :config
  282. (setq python-shell-interpreter "python3")
  283. (setq venv-location "~/.virtualenvs"))
  284. ;; org-alert
  285. (use-package org-alert
  286. :ensure t
  287. :config
  288. (setq alert-default-style 'osx-notifier))
  289. ;; reftex
  290. (use-package reftex
  291. :ensure t
  292. :defer t
  293. :config
  294. (setq reftex-cite-prompt-optional-args t)); Prompt for empty optional arguments in cite
  295. ;; org-exporter:
  296. (use-package ox-twbs
  297. :ensure t)
  298. ;;multiple coursors:
  299. (use-package ace-mc
  300. :ensure t
  301. :config
  302. (global-set-key (kbd "C-)") 'ace-mc-add-multiple-cursors)
  303. (global-set-key (kbd "C-M-)") 'ace-mc-add-single-cursor))
  304. ;;ace-jump:
  305. (use-package ace-jump-mode
  306. :ensure t
  307. :bind ("C-x j" . ace-jump-mode))
  308. ;; pyenv:
  309. (use-package pyvenv
  310. :ensure t
  311. :config
  312. (pyvenv-mode 1))
  313. ;; org-configuration:
  314. (org-babel-do-load-languages
  315. 'org-babel-load-languages
  316. '((python . t)))
  317. ;;ess:
  318. (use-package ess
  319. :ensure t
  320. :init (require 'ess-site))
  321. ;; markdown:
  322. (use-package markdown-mode
  323. :ensure t
  324. :commands (markdown-mode gfm-mode)
  325. :mode (("README\\.md\\'" . gfm-mode)
  326. ("\\.md\\'" . markdown-mode)
  327. ("\\.markdown\\'" . markdown-mode))
  328. :init
  329. (setq markdown-command "multimarkdown")
  330. (add-hook 'markdown-mode-hook
  331. (lambda()
  332. (ispell-change-dictionary "en")
  333. (flyspell-mode 1)))
  334. (setq markdown-css-paths '(
  335. "./assets/stylesheets/style.css"
  336. "./assets/stylesheets/pilcrow.css"
  337. "./assets/stylesheets/hljs-github.min.css"
  338. ))
  339. )
  340. ;;criticMarkup
  341. (use-package cm-mode
  342. :ensure t)
  343. ;;org-trello
  344. (require 'org-trello)
  345. (custom-set-variables
  346. ;; custom-set-variables was added by Custom.
  347. ;; If you edit it by hand, you could mess it up, so be careful.
  348. ;; Your init file should contain only one such instance.
  349. ;; If there is more than one, they won't work right.
  350. '(LaTeX-command "latex -synctex=1")
  351. '(custom-safe-themes
  352. (quote
  353. ("7a994c16aa550678846e82edc8c9d6a7d39cc6564baaaacc305a3fdc0bd8725f" "5b809c3eae60da2af8a8cfba4e9e04b4d608cb49584cb5998f6e4a1c87c057c4" "d74c5485d42ca4b7f3092e50db687600d0e16006d8fa335c69cf4f379dbd0eee" "2f1518e906a8b60fac943d02ad415f1d8b3933a5a7f75e307e6e9a26ef5bf570" "71e5acf6053215f553036482f3340a5445aee364fb2e292c70d9175fb0cc8af7" "99ea831ca79a916f1bd789de366b639d09811501e8c092c85b2cb7d697777f93" "bf387180109d222aee6bb089db48ed38403a1e330c9ec69fe1f52460a8936b66" default)))
  354. '(markdown-command "/usr/local/bin/pandoc" t)
  355. '(org-agenda-files
  356. (quote
  357. ("~/beorg/kinetics-estimation.org" "~/lwc/projects/dynamicSystems/trello-jason.org" "~/beorg/inbox.org" "~/beorg/academia.org" "~/beorg/water-quality.org" "~/beorg/phd.org" "~/lwc/projects/dynamicSystems/dynamic-systems.org")))
  358. '(org-trello-current-prefix-keybinding "C-c o" nil (org-trello))
  359. '(org-trello-files (quote ("~/beorg/trello-org.org")) nil (org-trello))
  360. '(package-selected-packages
  361. (quote
  362. (ace-jump cm-mode org-trello markdown-mode pyvenv ess ace-mc ox-twbs org-alert latex-preview-pane org-pomodoro which-key virtualenvwrapper use-package treemacs-projectile pdf-tools org-bullets mu4e-maildirs-extension mu4e-alert magit helm-projectile helm-mu flycheck expand-region doom-themes doom-modeline dashboard company auctex)))
  363. '(pdf-tools-handle-upgrades nil)
  364. '(safe-local-variable-values
  365. (quote
  366. ((markdown-css-paths . "./assets/stylesheets/main.css")
  367. (markdown-css-path . "./assets/stylesheets/main.css")
  368. (column-width . 5000)
  369. (fill-column . 5000:)
  370. (ispell-local-dictionary . castellano)
  371. (ispell-local-directory . castellano)
  372. (LaTeX-includegraphics-read-file . LaTeX-includegraphics-read-file-relative)
  373. (set-fill-column . 5000)
  374. (set-fill-column . 2000)
  375. (TeX-auto-save . t)
  376. (TeX-parse-self . t)
  377. (org-attach-directory . "students/")
  378. (org-attach-use-inheritance . t)
  379. (org-attach-preferred-new-method . ask))))
  380. '(send-mail-function (quote smtpmail-send-it)))
  381. ;; org-trello:
  382. (use-package org-trello
  383. :ensure t)
  384. ;; ace-window
  385. (use-package ace-window
  386. :ensure t
  387. :bind
  388. ("M-o" . 'ace-window)
  389. :config
  390. (setq aw-keys '(?a ?s ?d ?f ?g ?h ?j ?k ?l)))
  391. ;; ace-jump
  392. (use-package ace-jump-mode
  393. :ensure t
  394. :bind
  395. ("C-c SPC" . 'ace-jump-mode)
  396. ("C-c C-j l" . 'ace-jump-line-mode)
  397. ("C-c C-j c" . 'ace-jump-char-mode))
  398. ;;-0-0-0-0-0-0-0
  399. ;; my functions:
  400. ;; show in finder
  401. (defun show-in-finder ()
  402. (interactive)
  403. (shell-command (concat "open -R " buffer-file-name)))
  404. (global-set-key (kbd "C-x x f") 'show-in-finder)
  405. ;; visit real files (symbolic link)
  406. (setq find-file-visit-truename t)
  407. ;;-=-=-=-=-=-=-
  408. ;; mu4e
  409. ;; (use-package mu4e
  410. ;; :commands (mu4e)
  411. ;; :init
  412. ;; ;;(progn (require 'helm-mu))
  413. ;; :config
  414. ;; (add-to-list 'load-path "/usr/local/share/emacs/site-lisp/mu/mu4e")
  415. ;; (setq mu4e-mu-binary "/usr/local/bin/mu"))
  416. ;; ;;-+-+-+-+-+-+-+-+-+-+-+-+
  417. ;; ;; "default" parameters from Gmail
  418. ;; (setq user-full-name "Gerardo Marx Chávez-Campos") ;;user
  419. ;; (setq mu4e-compose-signature t) ;; signature in file ~/.signature
  420. ;; (add-hook 'mu4e-compose-mode-hook 'flyspell-mode(setq ispell-local-dictionary "castellano")) ;; spell check
  421. ;; ;; attempt to show images when viewing messages
  422. ;; (setq mu4e-view-show-images t)
  423. ;; (setq mu4e-sent-folder "/Gmail/sent"
  424. ;; ;; mu4e-sent-messages-behavior 'delete ;; Unsure how this should be configured
  425. ;; mu4e-drafts-folder "/Gmail/drafts"
  426. ;; user-mail-address "gmarx_cc@itmorelia.edu.mx"
  427. ;; smtpmail-local-domain "gmail.com"
  428. ;; smtpmail-default-smtp-server "smtp.gmail.com"
  429. ;; smtpmail-stream-type 'starttls
  430. ;; smtpmail-smtp-server "smtp.gmail.com"
  431. ;; smtpmail-smtp-service 587)
  432. ;; ;; ---
  433. ;; ;; Now I set a list of
  434. ;; (defvar my-mu4e-account-alist
  435. ;; '(("Gmail"
  436. ;; (mu4e-sent-folder "/Gmail/sent")
  437. ;; (mu4e-drafts-folder "/Gmail/drafts")
  438. ;; (user-mail-address "gmarx_cc@itmorelia.edu.mx")
  439. ;; (smtpmail-smtp-user "gmarx_cc@itmorelia.edu.mx")
  440. ;; (smtpmail-local-domain "gmail.com")
  441. ;; (smtpmail-default-smtp-server "smtp.gmail.com")
  442. ;; (smtpmail-stream-type starttls)
  443. ;; (smtpmail-smtp-server "smtp.gmail.com")
  444. ;; (smtpmail-smtp-service 587)
  445. ;; )
  446. ;; ;; Include any other accounts here ...
  447. ;; ("Exchange"
  448. ;; (mu4e-sent-folder "/Exchange/sent")
  449. ;; (mu4e-drafts-folder "/Exchange/drafts")
  450. ;; (user-mail-address "gerardo.cc@morelia.tecnm.mx")
  451. ;; (smtpmail-smtp-user "gerardo.cc@morelia.tecnm.mx")
  452. ;; (smtpmail-local-domain "office365.com")
  453. ;; (smtpmail-default-smtp-server "smtp.office365.com")
  454. ;; (smtpmail-stream-type starttls)
  455. ;; (smtpmail-smtp-server "smtp.office365.com")
  456. ;; (smtpmail-smtp-service 587)
  457. ;; )
  458. ;; ;;
  459. ;; ;; hotmail
  460. ;; ("Hotmail"
  461. ;; (mu4e-sent-folder "/Hotmail/sent")
  462. ;; (mu4e-drafts-folder "/Hotmail/drafts")
  463. ;; (user-mail-address "gmarx_cc@hotmail.com")
  464. ;; (smtpmail-smtp-user "gmarx_cc@hotmail.com")
  465. ;; (smtpmail-local-domain "office365.com")
  466. ;; (smtpmail-default-smtp-server "smtp.office365.com")
  467. ;; (smtpmail-stream-type starttls)
  468. ;; (smtpmail-smtp-server "smtp.office365.com")
  469. ;; (smtpmail-smtp-service 25)
  470. ;; )
  471. ;; ))
  472. ;; ;; ---
  473. ;; (defun my-mu4e-set-account ()
  474. ;; "Set the account for composing a message.
  475. ;; This function is taken from:
  476. ;; https://www.djcbsoftware.nl/code/mu/mu4e/Multiple-accounts.html"
  477. ;; (let* ((account
  478. ;; (if mu4e-compose-parent-message
  479. ;; (let ((maildir (mu4e-message-field mu4e-compose-parent-message :maildir)))
  480. ;; (string-match "/\\(.*?\\)/" maildir)
  481. ;; (match-string 1 maildir))
  482. ;; (completing-read (format "Compose with account: (%s) "
  483. ;; (mapconcat #'(lambda (var) (car var))
  484. ;; my-mu4e-account-alist "/"))
  485. ;; (mapcar #'(lambda (var) (car var)) my-mu4e-account-alist)
  486. ;; nil t nil nil (caar my-mu4e-account-alist))))
  487. ;; (account-vars (cdr (assoc account my-mu4e-account-alist))))
  488. ;; (if account-vars
  489. ;; (mapc #'(lambda (var)
  490. ;; (set (car var) (cadr var)))
  491. ;; account-vars)
  492. ;; (error "No email account found"))))
  493. ;; (add-hook 'mu4e-compose-pre-hook 'my-mu4e-set-account)
  494. ;; ;;-+-+-+-+-+-+-+-+-+-+-+-+
  495. ;; ;;---------
  496. ;; ;; mu4e-maildirs-extension
  497. ;; (use-package mu4e-maildirs-extension
  498. ;; :ensure t
  499. ;; :init
  500. ;; (mu4e-maildirs-extension)
  501. ;; :custom
  502. ;; (mu4e-maildirs-extension-custom-list '("/Gmail/INBOX" "/Exchange/INBOX" "/Hotmail/INBOX"))
  503. ;; )
  504. ;; ;; mu4e-alert
  505. ;; (use-package mu4e-alert
  506. ;; :ensure t
  507. ;; :after mu4e
  508. ;; :init
  509. ;; (setq mu4e-alert-interesting-mail-query
  510. ;; (concat
  511. ;; "flag:unread maildir:/Exchange/INBOX "
  512. ;; "OR "
  513. ;; "flag:unread maildir:/Gmail/INBOX"
  514. ;; ))
  515. ;; (mu4e-alert-enable-mode-line-display)
  516. ;; (defun gjstein-refresh-mu4e-alert-mode-line ()
  517. ;; (interactive)
  518. ;; (mu4e~proc-kill)
  519. ;; (mu4e-alert-enable-mode-line-display)
  520. ;; )
  521. ;; (run-with-timer 0 60 'gjstein-refresh-mu4e-alert-mode-line))
  522. ;; ;; helm
  523. ;; (use-package helm-mu
  524. ;; :ensure t
  525. ;; :config
  526. ;; ;;(define-key mu4e-main-mode-map "s" 'helm-mu)
  527. ;; ;;(define-key mu4e-headers-mode-map "s" 'helm-mu)
  528. ;; ;;(define-key mu4e-view-mode-map "s" 'helm-mu)
  529. ;; )
  530. ;;=-=-=-=-=-=-=-=-=-=-=-=
  531. ;;agenda files
  532. ;;(setq org-agenda-files '("~/beorg/phd.org" "~/beorg/students.org" "~/beorg/inbox.org" "~/beorg/academia.org"))
  533. (setq recentf-exclude (org-agenda-files))
  534. (custom-set-faces
  535. ;; custom-set-faces was added by Custom.
  536. ;; If you edit it by hand, you could mess it up, so be careful.
  537. ;; Your init file should contain only one such instance.
  538. ;; If there is more than one, they won't work right.
  539. '(org-document-title ((t (\,@headline (\,@ variable-tuple) :height 1.5 :underline nil))))
  540. '(org-level-1 ((t (\,@headline (\,@ variable-tuple) :height 1.25))))
  541. '(org-level-2 ((t (\,@headline (\,@ variable-tuple) :height 1.15))))
  542. '(org-level-3 ((t (\,@headline (\,@ variable-tuple) :height 1.12))))
  543. '(org-level-4 ((t (\,@headline (\,@ variable-tuple) :height 1.1))))
  544. '(org-level-5 ((t (\,@headline (\,@ variable-tuple)))))
  545. '(org-level-6 ((t (\,@headline (\,@ variable-tuple)))))
  546. '(org-level-7 ((t (\,@headline (\,@ variable-tuple)))))
  547. '(org-level-8 ((t (\,@headline (\,@ variable-tuple))))))