File: 445232.patch

package info (click to toggle)
mg 20070918-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 664 kB
  • ctags: 892
  • sloc: ansic: 12,205; sh: 148; makefile: 81; modula3: 7
file content (28 lines) | stat: -rw-r--r-- 1,035 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff -Nur mg-20070918/.mg mg-20070918.new/.mg
--- mg-20070918/.mg	2007-12-19 22:36:18.526780656 +1100
+++ mg-20070918.new/.mg	2007-12-19 22:39:12.532696687 +1100
@@ -5,3 +5,7 @@
 dired-backup-unflag
 make-backup-files 
 set-fill-column 72
+;; You can use auto-execute like GNU Emacs'
+;; auto-mode-alist and foo-mode-hook variables.
+auto-execute "*.c" auto-indent-mode
+auto-execute "/tmp/mutt-*" mail-mode
diff -Nur mg-20070918/mg.1 mg-20070918.new/mg.1
--- mg-20070918/mg.1	2007-12-19 22:36:18.530780885 +1100
+++ mg-20070918.new/mg.1	2007-12-19 22:41:04.115055405 +1100
@@ -160,6 +160,13 @@
 global-set-key "\\^_" suspend-emacs
 .Ed
 .Pp
+You can use auto-execute like GNU Emacs'
+auto-mode-alist and foo-mode-hook variables.
+.Bd -literal -offset indent
+auto-execute "*.c" auto-indent-mode
+auto-execute "/tmp/mutt-*" mail-mode
+.Ed
+.Pp
 In order to use 8-bit characters, the Meta key needs to be disabled.
 This is required to read high bit characters like German umlauts.
 ESC can be used instead of the Meta key \(en see the