[Pkg-jed-commit] r235 - in trunk/packages/jed-extra/debian: . init

Guenter Milde milde-guest at costa.debian.org
Mon Dec 5 13:46:14 UTC 2005


Author: milde-guest
Date: 2005-12-05 13:46:14 +0000 (Mon, 05 Dec 2005)
New Revision: 235

Removed:
   trunk/packages/jed-extra/debian/jed-extra.install
Modified:
   trunk/packages/jed-extra/debian/contents.txt
   trunk/packages/jed-extra/debian/init/50jed-extra.sl
   trunk/packages/jed-extra/debian/jed-extra-preparse.sl
   trunk/packages/jed-extra/debian/sort-modes.sl
Log:
New library dirs jed-extra/utils/ (with autoloads for all public funs) and
jed-extr/extra/ (without default initialization).


Modified: trunk/packages/jed-extra/debian/contents.txt
===================================================================
--- trunk/packages/jed-extra/debian/contents.txt	2005-12-05 13:31:43 UTC (rev 234)
+++ trunk/packages/jed-extra/debian/contents.txt	2005-12-05 13:46:14 UTC (rev 235)
@@ -31,7 +31,7 @@
 A   custmode       Custom syntax highlighting
 O   dabbrev        Complete the current word looking for similar word-beginnings
 U   datutils       Convenience functions for several Data_Types
-O   diagnose       Diagnostic functions for SLang programmers
+A   diagnose       Diagnostic functions for SLang programmers
 X   dict           A dict client.
 X   ding           Ding dictionary lookup function and mode
 A   email          mode for editing emails
@@ -65,8 +65,8 @@
 A   make_ini       Initialize non-standard modes automatically
 A   manedit        JED mode for editing Linux manpages.
 A   md5            MD5 message digest algorithm implemented in SLang
-A   menutils       popup menu extensions
-A   minued         Minibuffer edit mode
+U   menutils       popup menu extensions
+O   minued         Minibuffer edit mode (now in standard library)
 X   misc           miscellaneous modes
 A   mtools         Interface to mtools for easy floppy read/write under UNIX
 A   mupad          Mode for Mupad (computer algebra system) files.
@@ -86,7 +86,7 @@
 U   sl_utils       Basic SLang programming utils
 A   snake          Eat the apples and stay away from the walls
 A   sql            Syntax highlighting for SQL modes
-O   sprint_var     Pretty printing of variable values (required by debug mode)
+U   sprint_var     Pretty printing of variable values (required by diagnose mode)
 U   strutils       String processing functions
 X   subpar         paragraph reformatter
 X   tar            interface to GNU tar

Modified: trunk/packages/jed-extra/debian/init/50jed-extra.sl
===================================================================
--- trunk/packages/jed-extra/debian/init/50jed-extra.sl	2005-12-05 13:31:43 UTC (rev 234)
+++ trunk/packages/jed-extra/debian/init/50jed-extra.sl	2005-12-05 13:46:14 UTC (rev 235)
@@ -12,26 +12,40 @@
 #stop
 #endif
 
+
 % Add (and initialize) library directories
 % ----------------------------------------
 
 require("libdir", path_concat($1, "libdir.sl"));
 
-% append the default jed-extra library dir and evaluate its ini.sl file
+
+% * Utilities (required by the other modes)
+
+append_libdir($1 + "utils/", 1);
+
+% * "Normal" modes
+
 append_libdir($1, 1);
-
-% append the default jed-extra library dir, do not evaluate its ini.sl file
+% To append but do not evaluate the ini.sl file use the following instead:
 % append_libdir($1, 0);
 
-% Drop-In Modes (recent, help, man, ...)
-% 
-% comment out if you want to keep the original behaviour
-% prepend the drop-in's library dir and evaluate its ini.sl file
+% * Drop-In Modes (recent, help, man, ...)
+ 
+% will be prepended (comment out if you want to keep the original behaviour)
 add_libdir($1 + "drop-in/", 1);
-% prepend the drop-in's library dir do not evaluate its ini.sl file
+% to prepend the drop-in's library dir do not evaluate its ini.sl file, use
 % add_libdir($1 + "drop-in/", 0);
 
+% * Experimental and exotic modes
 
+% append_libdir($1 + "drop-in/", 0);  % append but do not initialize
+% append_libdir($1 + "drop-in/", 1);  % append and initialize 
+
+
+
+% "Manual" initialization of stuff not handled by the ini.sl files
+% ----------------------------------------------------------------
+
 % call extension-dependend modes
 add_mode_for_extension ("css1", "css");
 add_mode_for_extension ("css1", "css1");

Modified: trunk/packages/jed-extra/debian/jed-extra-preparse.sl
===================================================================
--- trunk/packages/jed-extra/debian/jed-extra-preparse.sl	2005-12-05 13:31:43 UTC (rev 234)
+++ trunk/packages/jed-extra/debian/jed-extra-preparse.sl	2005-12-05 13:46:14 UTC (rev 235)
@@ -3,6 +3,9 @@
 % Location of the jed-extra package's library dir
 private variable libdir = "/usr/share/jed/jed-extra";
 private variable drop_in_dir = path_concat(libdir, "drop-in");
+private variable utils_dir = path_concat(lib_dir, "utils");
+private variable ex_dir = path_concat(lib_dir, "extra");
+
 % add the jed-extra library dir to the jed library path
 set_jed_library_path(libdir + "," + get_jed_library_path());
 
@@ -11,10 +14,14 @@
 Make_ini_Exclusion_List = ["ini.sl", 
                            "ispell.sl",
                            "ispell_init.sl",
-                           "flyspell.sl"];
+                           "flyspell.sl",
+                           "cal.sl"];
 
 update_ini(libdir);
 update_ini(drop_in_dir);
+update_ini(ex_dir);
+Make_ini_Scope = 2;
+update_ini(utils_dir);
 
 # stop
 % the old code without use of make_ini.sl

Deleted: trunk/packages/jed-extra/debian/jed-extra.install
===================================================================

Modified: trunk/packages/jed-extra/debian/sort-modes.sl
===================================================================
--- trunk/packages/jed-extra/debian/sort-modes.sl	2005-12-05 13:31:43 UTC (rev 234)
+++ trunk/packages/jed-extra/debian/sort-modes.sl	2005-12-05 13:46:14 UTC (rev 235)
@@ -22,6 +22,8 @@
 private variable lib_dir = "usr/share/jed/jed-extra";
 private variable colors_dir = path_concat(lib_dir, "colors");
 private variable drop_in_dir = path_concat(lib_dir, "drop-in");
+private variable utils_dir = path_concat(lib_dir, "utils");
+private variable extra_dir = path_concat(lib_dir, "extra");
 
 % Types
 % -----
@@ -34,7 +36,8 @@
 destinations["C"] = colors_dir;
 destinations["D"] = drop_in_dir;
 destinations["E"] = lib_dir;
-destinations["U"] = lib_dir;
+destinations["U"] = utils_dir;
+destinations["X"] = extra_dir;
 
 % files that do not fit into the list
 private variable non_listed_files = 
@@ -54,6 +57,7 @@
 private variable cwd=getcwd(), rv, line, mode, file,
   dest, fp, category, modes = Assoc_Type[String_Type, ""];
 
+
 if (is_substr(cwd, "debian"))
   chdir("..");
 
@@ -87,9 +91,6 @@
 
 insert(strjoin(non_listed_files, "\n") + "\n");
 
-% show(getcwd, listdir("."));
-% #stop
-
 foreach (listdir("."))
 {
    mode = ();




More information about the Pkg-jed-commit mailing list