[Pkg-jed-commit] [SCM] Debian packaging of JED branch, 0.99.19, updated. 1%3A0.99.18+dfsg.1-10-182-gdba9171
Jörg Sommer
joerg at alea.gnuu.de
Sat May 24 12:47:56 UTC 2008
The following commit has been merged in the 0.99.19 branch:
commit 1059acbe35a74fe270d88b0efe4d776f2ef98fc5
Author: Jörg Sommer <joerg at alea.gnuu.de>
Date: Sat May 17 23:47:37 2008 +0200
Remove tons of trailing whitespaces
diff --git a/debian/README.Debian b/debian/README.Debian
index 3b532aa..a22a412 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -30,7 +30,7 @@ Startup scheme
Debian Jed's startup scheme provides for startup code from other packages.
Instead of a config file, we use a config directory: At startup, Jed will
evaluate all "*.sl" scripts in /etc/jed.d/. The sysadmin can modify or add
-files in /etc/jed.d/ for site-wide configuration.
+files in /etc/jed.d/ for site-wide configuration.
See README.Debian-startup for details.
@@ -48,7 +48,7 @@ for personal Jed-related files, e.g.
.jedrecent last opened files (autogenerated by recent.sl)
- lib/ library of personal extension scripts (home-made or
+ lib/ library of personal extension scripts (home-made or
downloaded) and customised versions of standard scripts
To use this library dir, you need to add it to the
@@ -56,15 +56,15 @@ for personal Jed-related files, e.g.
set_jed_library_path(path_concat(Jed_Home_Directory, "lib")
+ "," + get_jed_library_path()
-
+
or (with jed-extra installed)::
-
+
add_libdir(path_concat(Jed_Home_Directory, "lib"));
-
+
You can use it also for DFA highlight cache files setting::
-
+
Jed_Highlight_Cache_Dir = path_concat(Jed_Home_Directory, "lib");
-
+
templates/ optional dir for templates (with jed-extra)
@@ -82,28 +82,28 @@ Q: I define keybindings in jed.rc but they are not working. What is wrong?
A: Jed will load a fallback keybinding-file if you do not specify an
emulation in jed.rc overwriting your bindings (see also
README.Debian-startup).
-
+
Either select an emulation in jed.rc (as in the example files),
or put your keybindings inside a keybindings_hook(), e.g.::
-
+
define keybindings_hook(emulation)
{
setkey("menu_select_menu(\"Global.&Help\")", Key_F1);
% ...
}
-
+
If you define all your keybindings without ressorting to an emulation
mode, set the variable _Jed_Emulation (e.g. _Jed_Emulation = "cool") to
prevent loading the _Jed_Default_Emulation fallback.
Q: My color settings are not working. What's wrong?
A: If you're using set_color() calls without loading a pre-defined scheme
- with set_color_scheme(), Jed falls back to the _Jed_Default_Color_Scheme.
+ with set_color_scheme(), Jed falls back to the _Jed_Default_Color_Scheme.
To fix your problem, you can set _Jed_Color_Scheme, like
_Jed_Color_Scheme = "cool".
-Q: When I paste indented text into Jed, it misaligns everything (i.e. every
- succeeding line is indented more than the previous, yielding horizontally
+Q: When I paste indented text into Jed, it misaligns everything (i.e. every
+ succeeding line is indented more than the previous, yielding horizontally
cascading text).
A: In Jed, carriage return is bound to `newline_and_indent'. While this
auto-indention is a great help in normal editing, it stands in the way
@@ -117,23 +117,23 @@ A: There are several options:
b) Use the `paste' function
1. M-x paste (or bind "paste" to a key)
2. Now paste your text...
- c) Install jed-extra and use newline_indent().
+ c) Install jed-extra and use newline_indent().
See Help>Describe_Function newline_indent for details.
- d) Bind "newline_and_indent" to a different key.
+ d) Bind "newline_and_indent" to a different key.
In jed.rc do e.g.:
#ifndef XWINDOWS IBMPC_SYSTEM
% Fix staircase effect with mouse-pasting in an x-terminal
setkey("newline", "^M");
setkey("newline_and_indent", "\eM"); % Alt_Return
- % Some modes overwrite the Key_Return binding. Restore it:
+ % Some modes overwrite the Key_Return binding. Restore it:
define global_mode_hook (hook)
{
- if (wherefirst(what_keymap() == ["C", "DCL", "IDL", "perl", "PHP"])
+ if (wherefirst(what_keymap() == ["C", "DCL", "IDL", "perl", "PHP"])
!= NULL)
- local_setkey("newline", "^M");
+ local_setkey("newline", "^M");
}
- #endif
+ #endif
Q: TAB does not generate a TAB! Why?
A: It does something more useful: indenting the line according to the
diff --git a/debian/README.Debian-startup b/debian/README.Debian-startup
index f215de1..7378a50 100644
--- a/debian/README.Debian-startup
+++ b/debian/README.Debian-startup
@@ -11,21 +11,21 @@ Instead of a config file, we use a config directory: At startup, JED will
evaluate all "*.sl" scripts in /etc/jed.d/:
* The files will be parsed in alphabetical order, i.e. files whose name
- starts with "00" will be loaded first and with "99" last.
+ starts with "00" will be loaded first and with "99" last.
* 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.
-* 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).
+* 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).
(See Debian-Jed-Policy.txt for details).
Start-up Files
@@ -36,21 +36,21 @@ The order of evaluating the JED config settings is thus as follows:
1) /usr/share/jed/lib/site.sl % upstream basic setup that also triggers
% all further evaluations
-2) /usr/share/jed/lib/defaults.sl % Debian provided code for evaluation of
+2) /usr/share/jed/lib/defaults.sl % Debian provided code for evaluation of
% the "jed.d" directory contents.
% no call to /etc/jed.conf
-
+
3) /etc/jed.d/*.sl % package configuration files
4) ~/.jed/jed.rc or ~/.jedrc % user config file,
- % skipped if it does not exist or with
+ % skipped if it does not exist or with
% the -n command line option.
-
-5) _Jed_Default_Emulation % key-bindings file
+
+5) _Jed_Default_Emulation % key-bindings file
% skipped if jed.rc loads an emulation, i.e.
% if (_Jed_Emulation != NULL)
- % default is "emacs", set in
+ % default is "emacs", set in
% /etc/jed.d/05jed-common.sl
6) _Jed_Default_Color_Scheme % colour settings
diff --git a/debian/README.Maintainer b/debian/README.Maintainer
index b72b7fa..281eb74 100644
--- a/debian/README.Maintainer
+++ b/debian/README.Maintainer
@@ -2,7 +2,7 @@
# Notes
#
New versions have symlinks in /usr/share/doc to jed-common. As dpkg failed to
-delete the old dir and replace it with a symlink I now have to manually remove
+delete the old dir and replace it with a symlink I now have to manually remove
the (empty) dir in preinst and then let dpkg put the symlink there. strange.
#
@@ -12,8 +12,8 @@ the (empty) dir in preinst and then let dpkg put the symlink there. strange.
1. paste_mode for making pastes into JED behave better
* debian/patches/paste_mode.sl (this lives in
/usr/share/jed/lib/paste_mode.sl)
-
- (superseded by paste() in /u/s/jed/lib/paste.sl)
+
+ (superseded by paste() in /u/s/jed/lib/paste.sl)
#
# Also see stuff in debian/init.d/05jed-common.sl
diff --git a/debian/compile b/debian/compile
index 98c2ec3..8abed4b 100755
--- a/debian/compile
+++ b/debian/compile
@@ -13,7 +13,7 @@ case "$1" in
case "$1" in
install)
jed-script $PREPARSE || true
- # don't worry if jed-script is missing, because jed runs this
+ # don't worry if jed-script is missing, because jed runs this
# script again at installation
;;
esac
diff --git a/debian/defaults.sl b/debian/defaults.sl
index d62c175..6bb53b9 100644
--- a/debian/defaults.sl
+++ b/debian/defaults.sl
@@ -1,5 +1,5 @@
% defaults.sl
-%
+%
% Evaluate all *.sl files in /etc/jed.d/
%
% At startup, site.sl looks for the existence of "defaults.sl" and loads
diff --git a/debian/init.d/README.Debian-startup b/debian/init.d/README.Debian-startup
index 8a48d23..d8328fb 100644
--- a/debian/init.d/README.Debian-startup
+++ b/debian/init.d/README.Debian-startup
@@ -5,9 +5,9 @@ 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/.
+ evaluate all "*.sl" scripts in /etc/jed.d/.
- Every package has the right to place files into /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
@@ -18,7 +18,7 @@ support to get their code automatically loaded in a site-wide manner.
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.
@@ -29,25 +29,25 @@ support to get their code automatically loaded in a site-wide manner.
* 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
+
+ * /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
+
+
+ * 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
--
Debian packaging of JED
More information about the Pkg-jed-commit
mailing list