SOURCES: emacs-dotemacs - complete contents from DEVEL
twittner
twittner at pld-linux.org
Sun Jun 10 16:02:22 CEST 2007
Author: twittner Date: Sun Jun 10 14:02:22 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- complete contents from DEVEL
---- Files affected:
SOURCES:
emacs-dotemacs (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/emacs-dotemacs
diff -u SOURCES/emacs-dotemacs:1.1 SOURCES/emacs-dotemacs:1.2
--- SOURCES/emacs-dotemacs:1.1 Wed Aug 23 15:58:29 2000
+++ SOURCES/emacs-dotemacs Sun Jun 10 16:02:17 2007
@@ -19,3 +19,20 @@
;; Stop at the end of the file, not just add lines
(setq next-line-add-newlines nil)
+
+;; Nemerle
+(autoload 'nemerle-mode "nemerle.el"
+ "Major mode for editing nemerle programs." t)
+(setq auto-mode-alist (cons '("\\.n$" . nemerle-mode) auto-mode-alist))
+
+;; If you'd like to have every line indented right after new line put
+;; these lines into your ~/.emacs files.
+
+(defun my-nemerle-mode-hook ()
+ (setq nemerle-basic-offset 2)
+ (define-key nemerle-mode-map "\C-m" 'newline-and-indent))
+(add-hook 'nemerle-mode-hook 'my-nemerle-mode-hook)
+
+;; Tuareg Mode (ocaml)
+(setq auto-mode-alist (cons '("\\.ml\\w?" . tuareg-mode) auto-mode-alist))
+(autoload 'tuareg-mode "tuareg" "Major mode for editing Caml code" t)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/emacs-dotemacs?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list