dot/emacs: Sort fields and add braces as necessary in BibTeX records.
[profile] / dot / emacs
index 3988df7..2cb6100 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
       iswitchb-default-method 'samewindow ;in other random frames
       ido-default-file-method 'selected-window
       ido-default-buffer-method 'selected-window)
-(setq ido-enable-flex-matching t
+(setq ido-enable-prefix t
+      ido-enable-flex-matching t
       ido-everywhere t
       ido-confirm-unique-completion t
       ido-use-filename-at-point nil
        (t . "sec:")))
 
 (setq bibtex-field-delimiters 'double-quotes
+      bibtex-align-at-equal-sign t
       bibtex-entry-format '(realign opts-or-alts required-fields
                            numerical-fields last-comma delimiters
-                           unify-case)
-      bibtex-include-OPTkey nil)
+                           unify-case sort-fields braces)
+      bibtex-include-OPTkey t)
 
 ;;;--------------------------------------------------------------------------
 ;;; SLIME setup.