[Pkg-jed-commit] r213 - trunk/packages/jed-extra/debian/init
Guenter Milde
milde-guest at costa.debian.org
Mon Nov 21 14:08:07 UTC 2005
Author: milde-guest
Date: 2005-11-21 14:08:06 +0000 (Mon, 21 Nov 2005)
New Revision: 213
Modified:
trunk/packages/jed-extra/debian/init/50jed-extra.sl
Log:
added add_mode_for_extension() for some modes
added comments for "Generic activation" (move this to a jed.rc example?)
Modified: trunk/packages/jed-extra/debian/init/50jed-extra.sl
===================================================================
--- trunk/packages/jed-extra/debian/init/50jed-extra.sl 2005-11-21 13:14:45 UTC (rev 212)
+++ trunk/packages/jed-extra/debian/init/50jed-extra.sl 2005-11-21 14:08:06 UTC (rev 213)
@@ -32,11 +32,43 @@
% add_libdir($1 + "drop-in/", 0);
+% 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);
+}
+
+
% Globally activate extensions
% ----------------------------
-% TODO: which ones should be activated by default?
+% 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
+%
+% 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);
More information about the Pkg-jed-commit
mailing list