From 9a930871a541b3a45d934be34f77462231c9a007 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 20 Nov 2016 09:37:13 -0800 Subject: [Emacs] Use DejaVu Sans Mono for the font, add time, and bookmarks. The bookmarks can be useful (for example, to go quickly to a thrift definition, when I never remember the path). --- emacs.d/lib/settings.el | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/emacs.d/lib/settings.el b/emacs.d/lib/settings.el index 58c2937..672babd 100644 --- a/emacs.d/lib/settings.el +++ b/emacs.d/lib/settings.el @@ -73,11 +73,19 @@ ;; frame title (setq frame-title-format '( "%b" " [" (:eval mode-name) "]")) -;; Set default font. Large font for the main window, but small font for the modeline -(set-face-attribute 'default nil :family "Go Mono" :height 160 :weight 'normal :width 'normal) -(set-face-attribute 'mode-line nil :height 110) - ;; where to save custom settings (setq custom-file (expand-file-name "var/emacs-custom.el" user-emacs-directory)) +;; where to save the bookmarks +(setq bookmark-default-file (expand-file-name "var/bookmarks" user-emacs-directory) + bookmark-save-flag 1) + +;; time display +(setq display-time-24hr-format t) +(setq display-time-default-load-average nil) +(setq display-time-format "") + +;; Set default font. +(set-face-attribute 'default nil :family "DejaVu Sans Mono" :height 130 :weight 'normal :width 'normal) + (provide 'settings) -- cgit 1.4.1