;; Below are configuration file for your ~/.emacs file. ;; Some of the configuration is my personal taste. ;; Most is for the "scrolling music" projects from mrhunker.com. ;; emacs launches in fullscreen (custom-set-variables '(initial-frame-alist '((fullscreen . maximized))) ) ;; larger font-size, easier to read (set-face-attribute 'default nil :height 200) ;; remove unused window elements (tool-bar-mode -1) (menu-bar-mode -1) (scroll-bar-mode -1) (setq inhibit-splash-screen t) ;; necessary for emacs-org-babel to evaluate code blocks (org-babel-do-load-languages 'org-babel-load-languages '( (emacs-lisp t) (latex t) (shell t) (awk t) (org t) (lilypond t))) ;; suppresses the prompt to confirm code block evaluation. (setq org-confirm-babel-evaluate nil) ;; Some time-saving shortcuts for org music projects: (global-set-key (kbd "C-d") 'org-table-blank-field) (global-set-key (kbd "C-e") 'org-babel-execute-subtree) ;; table export function: used to evaluate table formulas to completion (defun my-tbl-export (name) "Search for table named `NAME` and export." ;; (interactive "s") (show-all) (save-excursion (let ((case-fold-search t)) (if (search-backward-regexp (concat "#\\+NAME: +" name) nil t) (progn (next-line) (org-table-iterate) (org-table-export (format "%s.csv" name) "orgtbl-to-csv"))))))