[Pkg-ocaml-maint-commits] r1731 - in trunk/packages/tuareg-mode/trunk/debian: . patches

Ralf Treinen treinen at costa.debian.org
Fri Sep 2 18:43:38 UTC 2005


Author: treinen
Date: 2005-09-02 18:43:37 +0000 (Fri, 02 Sep 2005)
New Revision: 1731

Added:
   trunk/packages/tuareg-mode/trunk/debian/patches/03_autoload_pattern.dpatch
Modified:
   trunk/packages/tuareg-mode/trunk/debian/README.Debian
   trunk/packages/tuareg-mode/trunk/debian/changelog
   trunk/packages/tuareg-mode/trunk/debian/patches/00list
Log:
narrow down auto-load pattern for tuareg-mode


Modified: trunk/packages/tuareg-mode/trunk/debian/README.Debian
===================================================================
--- trunk/packages/tuareg-mode/trunk/debian/README.Debian	2005-09-01 10:24:02 UTC (rev 1730)
+++ trunk/packages/tuareg-mode/trunk/debian/README.Debian	2005-09-02 18:43:37 UTC (rev 1731)
@@ -2,10 +2,10 @@
 ----------------------
 
 tuareg-mode is now automatically loaded on all files with filename
-extension .ml\w?. If the debian package "ocaml-mode", which provides
+extension .ml[iylp]?. If the debian package "ocaml-mode", which provides
 an alternative emacs mode for (O)Caml files, is installed together
 with the tuareg-mode package then tuareg takes precedence.  Users who
 wish to overwrite this behaviour should consult the instuctions given
 in the file /usr/share/doc/ocaml-mode/README.Debian.
 
- -- Ralf Treinen <treinen at debian.org>, Sat Aug 20 22:49:45 2005
+ -- Ralf Treinen <treinen at debian.org>, Fri Sep  2 20:38:53 2005

Modified: trunk/packages/tuareg-mode/trunk/debian/changelog
===================================================================
--- trunk/packages/tuareg-mode/trunk/debian/changelog	2005-09-01 10:24:02 UTC (rev 1730)
+++ trunk/packages/tuareg-mode/trunk/debian/changelog	2005-09-02 18:43:37 UTC (rev 1731)
@@ -1,11 +1,13 @@
-tuareg-mode (1.45.0-final-1) UNRELEASED; urgency=low
+tuareg-mode (1.45.0-final-1) NOTRELEASED; urgency=low
 
   * New upstream release.
   * Install an emacs startup file with priority 51, and replace the installed 
     append-tuareg.el file by an empty file. Adapt NEWS.Debian accordingly.
   * Some improvements in long package description.
+  * Patch 03_autoload_pattern: Narrow autoload-pattern down to what is really
+    needed for OCaml files. Adpar README.
 
- -- Ralf Treinen <treinen at debian.org>  Sat, 20 Aug 2005 22:50:11 +0200
+ -- Ralf Treinen <treinen at debian.org>  Fri,  2 Sep 2005 20:37:39 +0200
 
 tuareg-mode (1.45.0-beta3-1) unstable; urgency=low
 

Modified: trunk/packages/tuareg-mode/trunk/debian/patches/00list
===================================================================
--- trunk/packages/tuareg-mode/trunk/debian/patches/00list	2005-09-01 10:24:02 UTC (rev 1730)
+++ trunk/packages/tuareg-mode/trunk/debian/patches/00list	2005-09-02 18:43:37 UTC (rev 1731)
@@ -1,3 +1,5 @@
 01_camldebug
 02_localdoc
+03_autoload_pattern
 
+

Added: trunk/packages/tuareg-mode/trunk/debian/patches/03_autoload_pattern.dpatch
===================================================================
--- trunk/packages/tuareg-mode/trunk/debian/patches/03_autoload_pattern.dpatch	2005-09-01 10:24:02 UTC (rev 1730)
+++ trunk/packages/tuareg-mode/trunk/debian/patches/03_autoload_pattern.dpatch	2005-09-02 18:43:37 UTC (rev 1731)
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 03_autoload_pattern.dpatch by Ralf Treinen <treinen at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: narrow autoload pattern down to what is really needed.
+
+ at DPATCH@
+--- ./append-tuareg.el 
++++ /tmp/dpep-work.U6Ew9c/trunk/append-tuareg.el 
+@@ -1,7 +1,7 @@
+ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+ ;; append-tuareg.el - Tuareg quick installation: Append this file to .emacs.
+ 
+-(setq auto-mode-alist (cons '("\\.ml\\w?" . tuareg-mode) auto-mode-alist))
++(setq auto-mode-alist (cons '("\\.ml[iylp]?$" . tuareg-mode) auto-mode-alist))
+ (autoload 'tuareg-mode "tuareg" "Major mode for editing Caml code" t)
+ (autoload 'camldebug "camldebug" "Run the Caml debugger" t)
+ 


Property changes on: trunk/packages/tuareg-mode/trunk/debian/patches/03_autoload_pattern.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-ocaml-maint-commits mailing list