X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/ad21c20c3050216dc03e7ba59154abd1e8eb5545..95081186132f047f4615a1aea2e6d51d147ff8e5:/emacs diff --git a/emacs b/emacs index 6a457ba..40d4b0f 100644 --- a/emacs +++ b/emacs @@ -40,6 +40,17 @@ (maybe-autoload 'nc-timesheet-prepare "nc-timesheet" nil t nil) (maybe-autoload 'nc-timesheet-submit "nc-timesheet" nil t nil) +(and (library-exists-p "debian-changelog-mode") + (add-to-list 'auto-mode-alist + `(,(concat "/debian/" + "\\(" + "[" "[:lower:][:digit:]]" + "[[:lower:][:digit:].+-" "]+" + "\\." + "\\)?" + "changelog\\'") + . debian-changelog-mode))) + (and (library-exists-p "vc-git") (not (memq 'GIT vc-handled-backends)) (setq vc-handled-backends (cons 'GIT vc-handled-backends))) @@ -154,6 +165,7 @@ iswitchb-default-method 'samewindow) ;in other random frames (setq dired-deletion-confirmer ;Make deletion easier in dired (symbol-function 'y-or-n-p)) +(setq read-quoted-char-radix 16) ;C-q HEX-STUFF [RET] (setq dired-listing-switches "-alF") ;Do `ls -F' things in dired windows (setq wdired-allow-to-change-permissions t) (setq case-fold-file-names nil) ;Don't translate file names (grr...) @@ -654,6 +666,7 @@ ;; --- Notice passwords, and make C-a work right --- (add-hook 'shell-mode-hook #'mdw-sh-mode-setup) +(add-hook 'shell-mode-hook #'ansi-color-for-comint-mode-on) (setq shell-font-lock-keywords nil) (add-hook 'term-mode-hook #'mdw-term-mode-setup)