[Pkg-jed-commit] r241 - in trunk/packages/jed-extra/debian: . init
Guenter Milde
milde-guest at costa.debian.org
Tue Dec 13 16:13:11 UTC 2005
Author: milde-guest
Date: 2005-12-13 16:13:10 +0000 (Tue, 13 Dec 2005)
New Revision: 241
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
Log:
bugfix: jed-extra-preparse.sl set correct location of lib_dir
add some more exlusion cases
add utils to the jed library path
50jed-extra.sl cleanup
contents.txt `window` is an utility mode
Modified: trunk/packages/jed-extra/debian/contents.txt
===================================================================
--- trunk/packages/jed-extra/debian/contents.txt 2005-12-13 14:13:00 UTC (rev 240)
+++ trunk/packages/jed-extra/debian/contents.txt 2005-12-13 16:13:10 UTC (rev 241)
@@ -99,6 +99,6 @@
E uri Let jed handle Universal Ressource Indicators (URIs)
E vi vi editor emulation mode
A view A generic view mode for readonly buffers
-A window Window management routines
+U window Window management routines
A x-keydefs extended set of Key_* variables for xjed
X yodl mode for editing yodl documents
Modified: trunk/packages/jed-extra/debian/init/50jed-extra.sl
===================================================================
--- trunk/packages/jed-extra/debian/init/50jed-extra.sl 2005-12-13 14:13:00 UTC (rev 240)
+++ trunk/packages/jed-extra/debian/init/50jed-extra.sl 2005-12-13 16:13:10 UTC (rev 241)
@@ -18,31 +18,26 @@
require("libdir", path_concat($1, "libdir.sl"));
+% Utilities (required by the other modes)
+append_libdir($1 + "utils/", 1); % append and initialize
+% append_libdir($1 + "utils/", 0); % append but do not initialize
-% * Utilities (required by the other modes)
+% "Normal" modes
+append_libdir($1, 1); % append and initialize
+% append_libdir($1, 0); % append but do not initialize
-append_libdir($1 + "utils/", 1);
+% Drop-In Modes (recent, help, man, ...) need to be prepended
+% (comment out if you want to keep the original behaviour)
+add_libdir($1 + "drop-in/", 1); % append and initialize
+% add_libdir($1 + "drop-in/", 0); % append but do not initialize
-% * "Normal" modes
+% Experimental and exotic modes
+% (uncomment to initalize, maybe better on a per user basis in ~/jed.rc)
+% append_libdir($1 + "extra/", 0); % append but do not initialize
+% append_libdir($1 + "extra/", 1); % append and initialize
-append_libdir($1, 1);
-% To append but do not evaluate the ini.sl file use the following instead:
-% append_libdir($1, 0);
-% * 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);
-% 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
% ----------------------------------------------------------------
@@ -63,8 +58,8 @@
% If there are more JED users on the machine, better do this activation in
% the user's jed.rc files, as there is no way a "normal" user can revert
-% the choices (short of disabling all of the Debian configuration with
-% `jed --skip-debian-startup`)
+% the choices short of disabling all of the Debian configuration with
+% `jed --skip-debian-startup`.
% require("numbuf"); % number buffers for fast switching
% require("navigate"); % history feature (recent buffers)
Modified: trunk/packages/jed-extra/debian/jed-extra-preparse.sl
===================================================================
--- trunk/packages/jed-extra/debian/jed-extra-preparse.sl 2005-12-13 14:13:00 UTC (rev 240)
+++ trunk/packages/jed-extra/debian/jed-extra-preparse.sl 2005-12-13 16:13:10 UTC (rev 241)
@@ -1,27 +1,33 @@
% -*- slang -*-
% Location of the jed-extra package's library dir
-% private variable lib_dir = "/usr/share/jed/jed-extra";
-private variable lib_dir = "/home/milde/.jed/lib";
+private variable lib_dir = "/usr/share/jed/jed-extra";
private variable drop_in_dir = path_concat(lib_dir, "drop-in");
private variable utils_dir = path_concat(lib_dir, "utils");
-private variable ex_dir = path_concat(lib_dir, "extra");
+private variable extra_dir = path_concat(lib_dir, "extra");
% add the jed-extra libraries to the jed library path
-set_jed_library_path(sprintf("%s,%s,%s",
- utils_dir, lib_dir, get_jed_library_path()));
+set_jed_library_path(sprintf("%s,%s,%s, %s",
+ utils_dir, lib_dir, drop_in_dir, get_jed_library_path()));
+vmessage("jed library path: %s", get_jed_library_path());
+
require("make_ini");
-Make_ini_Exclusion_List = ["ini.sl",
+Make_ini_Exclusion_List = ["ini.sl",
+ "gdbmrecent.sl",
"ispell.sl",
"ispell_init.sl",
+ "ispell_common.sl",
"flyspell.sl",
+ "vispell.sl",
+ "look.sl",
+ "hyperman.sl",
"cal.sl"];
update_ini(lib_dir);
update_ini(drop_in_dir);
-update_ini(ex_dir);
+update_ini(extra_dir);
Make_ini_Scope = 2;
Make_ini_Add_Completions = 0;
More information about the Pkg-jed-commit
mailing list