;; " ")
;; )
+ ,(if (ff/temp-and-battery-info-string)
+ '(concat (ff/temp-and-battery-info-string) " "))
+
(propertize (concat 24-hours ":" minutes
" "
dayname " "
load
- ,(if (ff/temp-and-battery-info-string)
- '(concat " " (ff/temp-and-battery-info-string)))
-
)
;; display-time-format "%b %a %e %H:%M"
;; (define-key global-map [?\C-x right] 'ff/next-buffer)
;; (define-key global-map [?\C-x left] 'ff/prev-buffer)
-(define-key global-map [?\M-\]] 'ff/next-buffer)
-(define-key global-map [?\M-\[] 'ff/prev-buffer)
+;; (define-key global-map [?\M-\]] 'ff/next-buffer)
+;; (define-key global-map [?\M-\[] 'ff/prev-buffer)
+
+(define-key global-map [(meta right)] 'ff/next-buffer)
+(define-key global-map [(meta left)] 'ff/prev-buffer)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; There is actually a decent terminal emulator in emacs!
(let ((start (condition-case nil (region-beginning) (error (point))))
(end (condition-case nil (region-end) (error (point)))))
(goto-char end)
- (insert "---------------------------- snip snip -------------------------------\n")
+ (insert "----------------------------- snip snip -----------------------------\n")
(goto-char start)
- (insert "---------------------------- snip snip -------------------------------\n")
+ (insert "----------------------------- snip snip -----------------------------\n")
))
(defun ff/start-latex ()
(goto-char (point-min))
(insert "%% -*- mode: latex; mode: reftex; mode: flyspell; coding: utf-8; tex-command: \"pdflatex.sh\" -*-
-\\documentclass[12pt]{article}
+\\documentclass[12pt,a4paper,twoside]{article}
\\usepackage[a4paper,top=2.5cm,bottom=2cm,left=2.5cm,right=2.5cm]{geometry}
\\usepackage[utf8]{inputenc}
\\usepackage{amsmath}