~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dot/shell-rc: Run `make' nicely by default.
[profile]
/
el
/
dot-emacs.el
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index
a75d95c
..
fbc3899
100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-511,6
+511,12
@@
Evil key bindings are defined in `mdw-evil-keymap-keys'."
org-export-docbook-xslt-stylesheet
"/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl")
org-export-docbook-xslt-stylesheet
"/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl")
+;; Glasses.
+
+(setq glasses-separator "-"
+ glasses-separate-parentheses-p nil
+ glasses-uncapitalize-p t)
+
;; Some hacks to do with window placement.
(defun mdw-clobber-other-windows-showing-buffer (buffer-or-name)
;; Some hacks to do with window placement.
(defun mdw-clobber-other-windows-showing-buffer (buffer-or-name)
@@
-957,6
+963,12
@@
tramp, which seems to get itself into a twist."
(defadvice write-file (after mdw-autorevert activate)
(mdw-check-autorevert))
(defadvice write-file (after mdw-autorevert activate)
(mdw-check-autorevert))
+(defun mdw-auto-revert ()
+ "Recheck all of the autorevertable buffers, and update VC modelines."
+ (interactive)
+ (let ((auto-revert-check-vc-info t))
+ (auto-revert-buffers)))
+
;;;--------------------------------------------------------------------------
;;; Dired hacking.
;;;--------------------------------------------------------------------------
;;; Dired hacking.
@@
-2634,15
+2646,15
@@
name, as a symbol."
"const" "continue" "create"
"do"
"else" "enum" "extern"
"const" "continue" "create"
"do"
"else" "enum" "extern"
- "f
alse" "f
inal" "fn" "for"
+ "final" "fn" "for"
"if" "impl" "in"
"let" "loop"
"macro" "match" "mod" "move" "mut"
"offsetof" "override"
"if" "impl" "in"
"let" "loop"
"macro" "match" "mod" "move" "mut"
"offsetof" "override"
- "priv" "pub" "pure"
+ "priv" "p
roc" "p
ub" "pure"
"ref" "return"
"ref" "return"
- "s
elf" "s
izeof" "static" "struct" "super"
- "tr
ue" "tr
ait" "type" "typeof"
+ "sizeof" "static" "struct" "super"
+ "trait" "type" "typeof"
"unsafe" "unsized" "use"
"virtual"
"where" "while"
"unsafe" "unsized" "use"
"virtual"
"where" "while"
@@
-2653,7
+2665,8
@@
name, as a symbol."
"f32" "f64"
"i8" "i16" "i32" "i64" "isize"
"u8" "u16" "u32" "u64" "usize"
"f32" "f64"
"i8" "i16" "i32" "i64" "isize"
"u8" "u16" "u32" "u64" "usize"
- "char" "str")))
+ "char" "str"
+ "self" "Self")))
(setq font-lock-keywords
(list
(setq font-lock-keywords
(list
@@
-3454,6
+3467,8
@@
strip numbers instead."
(list "[$^_{}#&]"
'(0 mdw-punct-face)))))
(list "[$^_{}#&]"
'(0 mdw-punct-face)))))
+(setq TeX-install-font-lock 'tex-font-setup)
+
(eval-after-load 'font-latex
'(defun font-latex-jit-lock-force-redisplay (buf start end)
"Compatibility for Emacsen not offering `jit-lock-force-redisplay'."
(eval-after-load 'font-latex
'(defun font-latex-jit-lock-force-redisplay (buf start end)
"Compatibility for Emacsen not offering `jit-lock-force-redisplay'."