[Pkg-jed-commit] r283 - in trunk/packages/jed/debian: . init.d

Guenter Milde milde-guest at costa.debian.org
Tue May 16 12:55:17 UTC 2006


Author: milde-guest
Date: 2006-05-16 12:55:16 +0000 (Tue, 16 May 2006)
New Revision: 283

Modified:
   trunk/packages/jed/debian/Debian-Jed-Policy.txt
   trunk/packages/jed/debian/README.Debian
   trunk/packages/jed/debian/README.Maintainer
   trunk/packages/jed/debian/control
   trunk/packages/jed/debian/defaults.sl
   trunk/packages/jed/debian/init.d/README.Debian-startup
   trunk/packages/jed/debian/rules
Log:
control: remove the keybindings note from the xjed description (this is not
         the kind of info someone considering to install or not install jed
         will need, we might find another place for it)
init.d/README.Debian-startup: Rewrite and update to new scheme. (Should we
                              merge this into the new README.Debian?
Debian-Jed-Policy.txt:        typo
README.Maintainer:            update to recent developments
defaults.sl:                  dunno
rules:                        doc/tm/ contains documentation source in tm
                              (text macro) language not examples. (Should we
                              ship the doc sources with jed-common at all?)
README.Debian                 cosmetic
                              (This file should be replaced by
                              jed-common.README.Debian)



Modified: trunk/packages/jed/debian/Debian-Jed-Policy.txt
===================================================================
--- trunk/packages/jed/debian/Debian-Jed-Policy.txt	2006-05-16 12:45:58 UTC (rev 282)
+++ trunk/packages/jed/debian/Debian-Jed-Policy.txt	2006-05-16 12:55:16 UTC (rev 283)
@@ -15,7 +15,7 @@
 /usr/share/jed/<packagename>.
 
 If a package wants to do something after update of the (X)Jed package
-it should create a executable file /usr/share/jed/compile/<packagename>
+it should create an executable file /usr/share/jed/compile/<packagename>
 that gets called after each update of jed with the argument "install"
 (without quotation marks). The executable can rebuild the precompiled
 SLang and DFA cache files upon invocation.

Modified: trunk/packages/jed/debian/README.Debian
===================================================================
--- trunk/packages/jed/debian/README.Debian	2006-05-16 12:45:58 UTC (rev 282)
+++ trunk/packages/jed/debian/README.Debian	2006-05-16 12:55:16 UTC (rev 283)
@@ -1,6 +1,7 @@
-jed for Debian
+Jed for Debian
 --------------
 
+
 This version of the package (0.99.17.*) is considered to be experimental by
 the upstream author. John E. Davis is using odd numbers to indicate the
 unstable branch.  The next stable upstream release will be 0.99-18, which

Modified: trunk/packages/jed/debian/README.Maintainer
===================================================================
--- trunk/packages/jed/debian/README.Maintainer	2006-05-16 12:45:58 UTC (rev 282)
+++ trunk/packages/jed/debian/README.Maintainer	2006-05-16 12:55:16 UTC (rev 283)
@@ -13,10 +13,8 @@
    * debian/patches/paste_mode.sl (this lives in
      /usr/share/jed/lib/paste_mode.sl)
      
-2. default jed.rc selects emacs mode by default:
-   Upstream has NO default and this causes confusion with enable_menu_keys()
-   * debian/patches/jed.rc-emacs_default.diff
+   (superseded by paste() in /u/s/jed/lib/paste.sl)  
 
 #
-# Also see stuff in debian/init.d/00debian.sl
+# Also see stuff in debian/init.d/05jed-common.sl
 #

Modified: trunk/packages/jed/debian/control
===================================================================
--- trunk/packages/jed/debian/control	2006-05-16 12:45:58 UTC (rev 282)
+++ trunk/packages/jed/debian/control	2006-05-16 12:55:16 UTC (rev 283)
@@ -46,9 +46,6 @@
  .
  Note: The S-Lang runtime files are in the package jed-common.
  .
- Note: In this version, C-h deletes the previous character instead of
- loading the help menu. Help is now on Esc-?.
- .
   Homepage: http://www.jedsoft.org/jed/
 
 Package: jed-common

Modified: trunk/packages/jed/debian/defaults.sl
===================================================================
--- trunk/packages/jed/debian/defaults.sl	2006-05-16 12:45:58 UTC (rev 282)
+++ trunk/packages/jed/debian/defaults.sl	2006-05-16 12:55:16 UTC (rev 283)
@@ -49,7 +49,7 @@
     }
 }
 
-if ( andelse {BATCH != 2}
+if ( andelse {BATCH != 2} 
      % skip startup scripts if jed is started as `jed-script`
      {wherefirst(__argv == "--skip-debian-startup") == NULL}
      % skip startup scripts if jed is started with --skip-debian-startup

Modified: trunk/packages/jed/debian/init.d/README.Debian-startup
===================================================================
--- trunk/packages/jed/debian/init.d/README.Debian-startup	2006-05-16 12:45:58 UTC (rev 282)
+++ trunk/packages/jed/debian/init.d/README.Debian-startup	2006-05-16 12:55:16 UTC (rev 283)
@@ -1,37 +1,58 @@
-JED startup strategy
---------------------
+Debian JED startup scheme
+-------------------------
 
-JED on Debian has a startup setup that will make easier for packages
-providing add-on support to get their code automatically loaded in a
-site-wide manner. Instead of a config file, we use a "jed.d" directory: At
-startup, JED will evaluate all "*.sl" scripts in /etc/jed.d/.
-    
-The order of parsing of all JED config files is thus as follows:
-   ...
-   * /usr/share/jed/lib/site.sl       (upstream basic setup)
-   * /usr/share/jed/lib/defaults.sl   
-     (Debian provided code for evaluation of the "jed.d" directory contents)
-     - no call to /etc/jed.conf
-   * all *.sl scripts in /etc/jed.d/
-   * ~/.jed/jed.rc or ~/.jedrc    
-     (if it exists, suppressed by the -n command line option)
-     (~/.jedrc is only tried if no directory ~/.jed exists)
-   * keybindings file, either choosen in jed.rc or the fallback
-     _Jed_Default_Emulation. Default is /usr/share/jed/lib/emacs.sl
+JED on Debian has a startup scheme that will help packages providing add-on
+support to get their code automatically loaded in a site-wide manner.
+
+* Instead of a config file, we use a config directory: At startup, JED will
+  evaluate all "*.sl" scripts in /etc/jed.d/. 
+
+  Every package has the right to place files into /etc/jed.d/.  
+
+  Use names like NN<name>.sl (where "NN" is a two-digit number). The files
+  will be parsed in alphabetical order, i.e. files whose name starts with
+  "00" will be loaded first and with "99" last.  (See Debian-Jed-Policy.txt
+  for details).
+
+* Evalutation of /etc/jed.d/ can be suppressed by the --skip-debian-startup
+  command line option.
+
+* /etc/jed.d/ is not evaluated if Jed is started as `jed-script`.
+  
+  If a script depends on the Debian configuration, it can call the function
+  debian_startup() defined in defaults.sl.
+
+
+* Files in /etc/jed.d/ are configuration files. The system administrator can
+  modify them or add scripts for site-wide Jed configuration.
+
+* The order of parsing the JED config settings is thus as follows:
+
+   * /usr/share/jed/lib/site.sl     % upstream basic setup
+   
+   * /usr/share/jed/lib/defaults.sl % Debian provided code for evaluation of 
+                                    % the "jed.d" directory contents
+   
+   % no call to /etc/jed.conf
+                                    
+   * /etc/jed.d/*.sl                % package configuration files
+   
+   * ~/.jed/jed.rc                  % user config file (if it exists),
+                                    % skipped with the -n command line option)
+     or ~/.jedrc                    % if ~/.jed/ doesnot exist
+                                         
+                                    
+   * keybindings file               % either user-set in jed.rc or 
+                                    % according to _Jed_Default_Emulation
+                                    % default is /usr/share/jed/lib/emacs.sl
+     
    * command_line_options
+   
    * files given on the command line
 
 
-Each package has the right to place files into /etc/jed.d/.
 
-Use names like NNwhatever.sl, where "NN" is a two-digit number. The order in
-which the files in /etc/jed-init.d/ will be parsed is alphabetical following
-their filenames, i.e. files with name starting with "00" will be loaded
-first and with "99" last.
-
-
 -- Rafael Laboissiere <rafael at debian.org> Thu Oct 21 18:28:39 CEST 1999
 -- Updated by Charl P. Botha <cpbotha at debian.org> Sun Jun 3 02:14:58 CEST 2001
 -- and again by cpbotha with Rafael's new scheme Tue Nov 13 22:00:49 CET 2001
--- updated to J. Sommers scheme by G. Milde, 2005-09-20
--- updated to the use of defaults.sl by G. Milde, 2005-11-04
+-- updated by G. Milde, 2006-05-16

Modified: trunk/packages/jed/debian/rules
===================================================================
--- trunk/packages/jed/debian/rules	2006-05-16 12:45:58 UTC (rev 282)
+++ trunk/packages/jed/debian/rules	2006-05-16 12:55:16 UTC (rev 283)
@@ -65,7 +65,7 @@
 	    rm jed.hevea jed.haux jed.htoc jed.tex
 
 	# install some extra docs from the source
-	dh_installexamples -pjed-common lib/jed.conf doc/tm/ \
+	dh_installexamples -pjed-common lib/jed.conf \
 	    $(jed-common)/usr/share/jed/lib/jed.rc
 
 	# install *.sl files




More information about the Pkg-jed-commit mailing list