[Pkg-jed-commit] r291 - in trunk/packages/jed-extra/debian: . examples

Guenter Milde milde-guest at costa.debian.org
Thu May 18 12:09:35 UTC 2006


Author: milde-guest
Date: 2006-05-18 12:09:34 +0000 (Thu, 18 May 2006)
New Revision: 291

Removed:
   trunk/packages/jed-extra/debian/examples/TODO
Modified:
   trunk/packages/jed-extra/debian/README.Debian
   trunk/packages/jed-extra/debian/changelog
   trunk/packages/jed-extra/debian/contents.txt
   trunk/packages/jed-extra/debian/examples/50jed-extra-minimal.sl
   trunk/packages/jed-extra/debian/examples/50jed-extra.sl
   trunk/packages/jed-extra/debian/examples/jed-extra.rc
   trunk/packages/jed-extra/debian/rules
Log:
changelog:  update, move to [GM] syntax
rules: install the mode list (contents.txt) in the doc dir
contents.txt: add new modes
README.Debian: update
examples: more jed.rc examples



Modified: trunk/packages/jed-extra/debian/README.Debian
===================================================================
--- trunk/packages/jed-extra/debian/README.Debian	2006-05-17 15:29:52 UTC (rev 290)
+++ trunk/packages/jed-extra/debian/README.Debian	2006-05-18 12:09:34 UTC (rev 291)
@@ -1,19 +1,32 @@
-jed-extra for Debian
---------------------
+jed-extra: Jedmodes for Debian
+------------------------------
 
-This package contains extensions for the JED editor, mainly from the
-"Jedmodes" project at SourceForge (http://jedmodes.sf.net/).
+This package contains extensions ("modes") for the Jed programmer's editor.
+These are user provided S-Lang scripts from the "Jedmodes" repository at
+SourceForge.
 
-Activation/Customization is done in /etc/jed.d/50jed-extra.sl,
+See contents.txt for a listing of contained modes with abstracts. The
+Jedmodes homepage (http://jedmodes.sourceforge.net/) has more detailled
+information
+
+Basic activation/customization is done in /etc/jed.d/50jed-extra.sl,
 adapt this file to the needs of your site (the comments in this file 
 provide further details).
 
+As the Jedmodes repository contains a mix of modes from different authors,
+(sometimes providing similar functionality by different means or with
+different look-and-feel) it is not possible to have a complete activation.
+
+In order to make full use of the modes, additional configuration is needed.
+Users are advised to study the documentation at the source files and
+add activation code to their ~/.jed/jed.rc. The "examples" subdir contains
+some generic examples|templates for this task.
+
 The version numbering scheme for the jed-extra package follows the versions
 on Jedmodes. All modes in versions 2.x should be SLang-2 compatible (while
 most modes are still backwards compatible to SLang-1).
 
 
-
  -- Debian JED Group <pkg-jed-devel at lists.alioth.debian.org>  
  
     $Id$

Modified: trunk/packages/jed-extra/debian/changelog
===================================================================
--- trunk/packages/jed-extra/debian/changelog	2006-05-17 15:29:52 UTC (rev 290)
+++ trunk/packages/jed-extra/debian/changelog	2006-05-18 12:09:34 UTC (rev 291)
@@ -1,33 +1,45 @@
 jed-extra (2.2-1) experimental; urgency=low
 
   NOT YET RELEASED!
-
   TODO:
     + fine tune ini.sl (add missing autoloads and remove redundancy) by
         - modifying upstream,
         - excluding offending modes from the auto-initialization,
         - adding stuff to 50jed-extra.sl
 
-    + create example alternative 50jed-extra.sl and example jed.rc
-
-    + make upstream release of jedmodes-2.1 by GM (once it is ready and holds
+    + make upstream release of jedmodes-2.2 by GM (once it is ready and holds
       all changes proposed during the preparation of the new package release)
-      change the download URL in the rules file
 
-  new upstream release
-  all modes should now work with SLang-2
+  New upstream release
+  
+  * all modes should now work with SLang-2
+  * UTF8 support is still experimental
 
-  +++ Changes by Guenter Milde <milde at users.sf.net>
+  * the following modes were (re)moved:
 
-  * new upstream source URI
+    boekmark, bufed_srch, cua, cuamisc, dabbrev, gpg, history, home-lib, hs,
+    kp_keydefs, minued, miscfun, mousedrag, outline, resume, rimini, rmail,
+    scrnhelp, server, sfrecent, tracker, yankpop
+    
+    They are either obsolete, included in the standard Distribution (package
+    jed-common), or no longer available upstream.
+
+  * the following modes were added:
+
+    console_keys, dictmode, dict-backend, filter-buffer, libdir,
+    moby-thesaurus, tm
+    
+    See contents.txt for a listing of contained modes with abstracts.
+    
+  * new upstream source URI and download rule [GM]
   * list of upstream modes (with categorization) in contents.txt
-    modes marked as "Obsolete" are excluded
-  * updated copyright (source URI, author list, contact info)
-  * updated README.Debian (give customization instructions)
+    modes marked as "Obsolete" are excluded [GM]
+  * updated copyright (source URI, author list, contact info) [JS, GM]
+  * updated README.Debian (give customization instructions) [GM]
   * move all initialization/customization to jed.d/50jed-extra.sl
-    using libdir.sl for "registering" of library directories
+    using libdir.sl for "registering" of library directories [GM]
   * changed location of jed-extra library dir to /usr/share/jed/jed-extra/
-  * removed patches for bugs fixed upstream
+  * removed patches for bugs fixed upstream [GM]
 
   +++ Changes by Rafael Laboisssiere
 
@@ -44,20 +56,9 @@
 
   +++ Changes by Jörg Sommer <joerg at alea.gnuu.de>
 
-  * the following modes were (re)moved by upstream:
-
-    boekmark, bufed_srch, cal, gpg, help, history, hs, hyperman, jedgtk,
-    jedmodes, jedscape, miscfun, mousedrag, outline, resume, rimini,
-    server, sfrecent, tracker, tree, yankpop
-
-  * the following modes were added by upstream:
-
-    filter-buffer, tm, libdir
-
-  * updated debian/copyright about the sources
   * yodlfun.txt is now found in site-lib/ because it is searched there
-  * now the files in /etc/jed-init.d/ take care of the state the package
-    was removed but not purged
+  * now the file in /etc/jed.d/ takes care of the possible state, 
+    that the package was removed but not purged
   * restructured source package
     + now all is in one directory debian
     + patches are dpatches
@@ -66,8 +67,7 @@
     fully SLang, which make eperl as build dependency unnecessary
   * all *.html files, the README of a2ps and the INSTALL of tar are now
     in /usr/share/doc/jed-extra (this later file is renamed to
-    README.tar.sl, in order to keep lintian happy) [now removed as tar is in
-    experimental state, GM]
+    README.tar.sl, in order to keep lintian happy)
   * the example file for apsmode/apsconf is in examples
   * updated copyright file to comply more with
     http://lists.debian.org/debian-devel-announce/2006/03/msg00023.html

Modified: trunk/packages/jed-extra/debian/contents.txt
===================================================================
--- trunk/packages/jed-extra/debian/contents.txt	2006-05-17 15:29:52 UTC (rev 290)
+++ trunk/packages/jed-extra/debian/contents.txt	2006-05-18 12:09:34 UTC (rev 291)
@@ -22,6 +22,7 @@
 U   circle         Circular array with relational indexing
 C   colors         collection of color schemes
 A   complete       keyword completion function
+A   console_keys   make shift-arrow etc. work under linux-console
 A   css1           Mode for Cascading Style Sheets (CSS)
 A   csvutils       Utilities to work with csv data
 O   cua            CUA (Windows/Mac/CDE/KDE-like) bindings for Jed
@@ -34,6 +35,8 @@
 A   diagnose       Diagnostic functions for SLang programmers
 X   dict           A dict client.
 X   ding           Ding dictionary lookup function and mode
+A   dictmode       dict dictionary lookup (including thesaurus)
+A   dict-backend   backends for dictmode
 A   email          mode for editing emails
 X   ffap           Find File At Point
 E   filelist       A special mode for file listings (ls, locate)
@@ -68,6 +71,7 @@
 U   menutils       popup menu extensions
 O   minued         Minibuffer edit mode (now in standard library)
 X   misc           miscellaneous modes
+A   moby-thesaurus English thesaurus via dict protocol
 A   mtools         Interface to mtools for easy floppy read/write under UNIX
 A   mupad          Mode for Mupad (computer algebra system) files.
 E   navigate       "History feature" known from many browsers

Modified: trunk/packages/jed-extra/debian/examples/50jed-extra-minimal.sl
===================================================================
--- trunk/packages/jed-extra/debian/examples/50jed-extra-minimal.sl	2006-05-17 15:29:52 UTC (rev 290)
+++ trunk/packages/jed-extra/debian/examples/50jed-extra-minimal.sl	2006-05-18 12:09:34 UTC (rev 291)
@@ -49,48 +49,3 @@
 %   The recommended use is to, copy or link interesting modes
 %   to /usr/local/share/jed/lib/ or ~/.jed/lib and user make_ini() and
 %   add_libdir() for activation (in ~/jed.rc).
-
-% "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");
-% add_mode_for_extension ("gnuplot", "gnuplot");  % gnuplot plotting program
-% add_mode_for_extension ("gnuplot", "gp");
-% add_mode_for_extension ("mupad", "mu"); % mode for mupad files
-% foreach (["man", "1", "2", "3", "4", "5", "6", "7", "8"]) {
-%   variable ext = ();
-%   add_mode_for_extension ("manedit", ext);
-% }
-% add_mode_for_extension ("sql", "sql");
-
-% Globally activate extensions
-% ----------------------------
-
-% 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`.
-
-% require("numbuf");       % number buffers for fast switching
-% require("navigate");     % history feature (recent buffers)
-% require("ispell_init");  % ispell|aspell support
-
-% require("cuamark");      % use CUA style kind of selecting regions
-
-% Printing
-% --------
- 
-% there are 2 alternative functions to send the current buffer to a printer
-% The user can easily override the choice in his|her jed.rc.
-% 
-% autoload("print_buffer", "print");   % simple, sends pure ASCII
-% autoload("print_buffer", "apsmode"); % uses a2ps, needs to be configured
-
-% define print_popup_hook (menubar)
-% {
-%   menu_insert_separator (6, "Global.&File");
-%   menu_insert_item (7, "Global.&File", "&Print Buffer", "print_buffer");
-% }
-% append_to_hook ("load_popup_hooks", &print_popup_hook);

Modified: trunk/packages/jed-extra/debian/examples/50jed-extra.sl
===================================================================
--- trunk/packages/jed-extra/debian/examples/50jed-extra.sl	2006-05-17 15:29:52 UTC (rev 290)
+++ trunk/packages/jed-extra/debian/examples/50jed-extra.sl	2006-05-18 12:09:34 UTC (rev 291)
@@ -14,6 +14,12 @@
 % the command line option --skip-debian-startup. If this frightens you (or
 % your users), go for the "minimal" version of 50jed-extra.
 
+%  jed-extra provides one more emulation mode (in addition to jed-common)
+% if (BATCH == 0)
+% {
+%  require("vi");            % vi emulation
+% }
+
 % The jed-extra library dir
 $1 = "/usr/share/jed/jed-extra/";
 
@@ -53,6 +59,14 @@
 %   to /usr/local/share/jed/lib/ or ~/.jed/lib and user make_ini() and
 %   add_libdir() for activation (in ~/jed.rc).
 
+% Full activation of "extra" modes (Uncomment at your own risc)
+% append_libdir($1 + "extra/", 0);  % append but do not initialize
+% append_libdir($1 + "extra/", 1);  % append and initialize
+% 
+% Alternatively, add documentation for "extra functions" to the online help
+Jed_Doc_Files += "," + $1+"extra/libfuns.txt";
+
+
 % "Manual" initialization of stuff not handled by the ini.sl files
 % ----------------------------------------------------------------
 
@@ -79,7 +93,6 @@
 % require("numbuf");       % number buffers for fast switching
 % require("navigate");     % history feature (recent buffers)
 % require("ispell_init");  % ispell|aspell support
-
 % require("cuamark");      % use CUA style kind of selecting regions
 
 % Printing

Deleted: trunk/packages/jed-extra/debian/examples/TODO
===================================================================
--- trunk/packages/jed-extra/debian/examples/TODO	2006-05-17 15:29:52 UTC (rev 290)
+++ trunk/packages/jed-extra/debian/examples/TODO	2006-05-18 12:09:34 UTC (rev 291)
@@ -1,4 +0,0 @@
-jed-extra-minimal-boost.rc  % full activation when /etc/jed.d/ contains the
-                              minimal set up.
-jed-extra-minimal-revert.rc % undo activation when /etc/jed.d/ contains the
-                              minimal set up.                              

Modified: trunk/packages/jed-extra/debian/examples/jed-extra.rc
===================================================================
--- trunk/packages/jed-extra/debian/examples/jed-extra.rc	2006-05-17 15:29:52 UTC (rev 290)
+++ trunk/packages/jed-extra/debian/examples/jed-extra.rc	2006-05-18 12:09:34 UTC (rev 291)
@@ -7,8 +7,12 @@
 % is needed. As this slows down the startup and might conflict with private
 % extensions this activation should be done in the users jed.rc.
 %
-% You are invited to insert this file into your jed.rc and modify to match
-% your needs.
+% You are invited to insert this file into your jed.rc and modify
+% according to your needs.
+% 
+% Many modes require additional steps to be usable: see the documentation
+% at the top of the source file. (Help>Grep_Definition can help to find the
+% source of a library function.)
 
 % The jed-extra library dir
 $1 = "/usr/share/jed/jed-extra/";
@@ -37,17 +41,11 @@
 %   Initialization is low key (autolaods for additional functions)
 () = evalfile($1+"drop-in/ini.sl"); 
 
+
 % Experimental and exotic modes
 % '''''''''''''''''''''''''''''
-% 
-%   Uncomment at your own risc (maybe better per user in ~/jed.rc) 
-% append_libdir($1 + "extra/", 0);  % append but do not initialize
-% append_libdir($1 + "extra/", 1);  % append and initialize
-% 
-%   Add documentation for "extra functions" to the online help
-Jed_Doc_Files += "," + $1+"extra/libfuns.txt";
-   
-%   One recommended use is to copy or link interesting modes
+
+%   Recommended use is to copy or link interesting modes
 %   to /usr/local/share/jed/lib/ or ~/.jed/lib 
 %   and use make_ini() and add_libdir() for activation (see below)
 %   
@@ -59,29 +57,61 @@
 %   mode and expects it in the jed-library-path.
 %   
 %   e.g.
+%
+% % ffap.sl: find file at point
+% "add_list_element", "extra/ffap.sl";
+% "ffap_set_info", "extra/ffap.sl";
+% "ffap", "extra/ffap.sl";
+% _autoload(3);
+% 
+% "add_list_element";
+% "ffap_set_info";
+% "ffap";
+% _add_completion(3);
+%
+% % services.sl: uri_hooks for some common URI schemes.
+% require("services", "extra/services.sl");
 
-% ffap.sl: find file at point
-"add_list_element", "extra/ffap.sl";
-"ffap_set_info", "extra/ffap.sl";
-"ffap", "extra/ffap.sl";
-_autoload(3);
+% Full activation of "extra" modes:
+%   Uncomment at your own risc
+% append_libdir($1 + "extra/", 0);  % append but do not initialize
+% append_libdir($1 + "extra/", 1);  % append and initialize
+% 
+%   Alternatively, add documentation for "extra functions" to the online help
+Jed_Doc_Files += "," + $1+"extra/libfuns.txt";
 
-"add_list_element";
-"ffap_set_info";
-"ffap";
-_add_completion(3);
+% "Manual" initialization of stuff not handled by the ini.sl files
+% ----------------------------------------------------------------
 
-% services.sl: uri_hooks for some common URI schemes.
-% require("services", "extra/services.sl");
+% some examples for additional code needed to make use of the jed-extra modes:
 
+% call extension-dependend modes (done by default /etc/jed.d/50jed-extra.sl)
+% add_mode_for_extension ("css1", "css");
+% add_mode_for_extension ("css1", "css1");
+% add_mode_for_extension ("gnuplot", "gnuplot");  % gnuplot plotting program
+% add_mode_for_extension ("gnuplot", "gp");
+% add_mode_for_extension ("mupad", "mu"); % mode for mupad files
+% add_mode_for_extension ("sql", "sql");
+% foreach (["man", "1", "2", "3", "4", "5", "6", "7", "8"]) {
+%   variable ext = ();
+%   add_mode_for_extension ("manedit", ext);
+% }
 
+% activate extension modes
+require("numbuf");       % number buffers for fast switching
+require("navigate");     % history feature (recent buffers)
+require("ispell_init");  % improved ispell|aspell support
+% require("cuamark");      % use CUA style kind of selecting regions
+
+
+
 % Jed_Home_Directory and private extensions
 % -----------------------------------------
 
 % User extensions
 %   Debian sets Jed_Home_Directory to ~/.jed/ if this dir exists
 add_libdir(path_concat(Jed_Home_Directory, "lib"), 1);
-Jed_Highlight_Cache_Dir = path_concat(Jed_Home_Directory, "lib");
+% Jed_Highlight_Cache_Dir = path_concat(Jed_Home_Directory, "lib");
 
 % Site wide extensions
 add_libdir("/usr/local/share/jed/lib/", 1);

Modified: trunk/packages/jed-extra/debian/rules
===================================================================
--- trunk/packages/jed-extra/debian/rules	2006-05-17 15:29:52 UTC (rev 290)
+++ trunk/packages/jed-extra/debian/rules	2006-05-18 12:09:34 UTC (rev 291)
@@ -82,7 +82,7 @@
         # dh_install -X.html -X.otl -X.example -XREADME
 	
         # install package documentation
-	dh_installdocs 
+	dh_installdocs contents.txt
 
 	# Install examples
 	dh_installexamples debian/examples/*




More information about the Pkg-jed-commit mailing list