Back to monaco.

This commit is contained in:
Ivan Malison 2014-11-10 17:25:13 -08:00
parent 85427a46d2
commit 486b996f18
2 changed files with 11 additions and 3 deletions

View File

@ -19,7 +19,14 @@ Emacs Notes -*- mode: org -*-
** C-M-f and C-M-b for movement by S-expression ** C-M-f and C-M-b for movement by S-expression
** M-m for moving to current indentation ** M-m for moving to current indentation
<2014-11-05 Wed> * <2014-11-05 Wed>
** helm-show-kill-ring and helm-mark-ring and helm-global-mark-ring ** helm-show-kill-ring and helm-mark-ring and helm-global-mark-ring
** C-p s s to do helm-projectile-ag ** C-p s s to do helm-projectile-ag
* <2014-11-10 Mon>
** C-x c r to do helm-regex
** press tab in helm completion to get actions menu
** projectile-replace (basiclly find-name-dired, but will respect gitignores and automatically include appropriate files).
** M-r while in isearch-forward to toggle regexp mode

View File

@ -447,13 +447,13 @@ buffer is not visiting a file."
(setq current-theme appropriate-theme))))) (setq current-theme appropriate-theme)))))
;;(defvar fonts '("DejaVu Sans Mono-10" "monaco-11" "Inconsolata-12" "menlo-10")) ;;(defvar fonts '("DejaVu Sans Mono-10" "monaco-11" "Inconsolata-12" "menlo-10"))
(defvar fonts '("Inconsolata-12" )) (defvar fonts '("monaco-10"))
(defun set-my-font-for-frame (frame) (defun set-my-font-for-frame (frame)
(condition-case exp (condition-case exp
(set-default-font (random-choice fonts) nil t) (set-default-font (random-choice fonts) nil t)
('error (package-refresh-contents) ('error (package-refresh-contents)
(set-default-font "monaco-11" nil t) nil))) (set-default-font "monaco-10" nil t) nil)))
(defun remove-fringe-and-hl-line-mode (&rest stuff) (defun remove-fringe-and-hl-line-mode (&rest stuff)
(scroll-bar-mode -1) (scroll-bar-mode -1)
@ -468,4 +468,5 @@ buffer is not visiting a file."
;; enable to set theme based on time of day. ;; enable to set theme based on time of day.
(run-at-time "00:00" 3600 'set-theme) (run-at-time "00:00" 3600 'set-theme)
;; This is needed because you can't set the font at daemon start-up.
(add-hook 'after-make-frame-functions 'set-my-font-for-frame) (add-hook 'after-make-frame-functions 'set-my-font-for-frame)