Wed, 1 Jun 2005 10:44:47 +0200
On 31.05.05, Jörg Sommer wrote:
> G. Milde schrieb am Tue 31. May, 12:43 (+0200):
> > On 30.05.05, Jörg Sommer wrote:
> > > G. Milde schrieb am Mon 30. May, 11:04 (+0200):
> > > >
> > > > Could someone with SVN write access please apply the patch
> > > >
> > > > +Default_Jedrc_Startup_File = NULL;
> > >
> > > I've done this in r42. But I set it in 00debian.sl, because this file
> > > includes all Debian changes to the system.
> > IMHO, the mere existence of /etc/jed.conf is a Debian change, as this file
> > doesnot come with the upstream relase and introduces the /etc/jed-init.d/
> > startup directory.
> What want you to say with this?
I wanted to say that 00debian.sl doesnot include *all* Debian changes to the
> > In the weird case of a user editing jed.conf and disabling the startup
> > scheme (discouraged but not forbidden) and adding some stuff of his own,
> > the bug would reappear.
> Its also not forbidden to set Default_Jedrc_Startup_File to "jed.rc".
> Because this, I put it into 00debian.sl so a admin has the possibility
> to overwrite it with a 99local.sl. If it is at the end of jed.conf, he
> must edit jed.conf
I got your point.
> But you address a good point: Why we should have two config files?
> A comment in 00debian.sl says:
> % I'm using this file for adding "debian-specific" changes, as I like to keep
> % the rest of the JED installation as standard as possible <firstname.lastname@example.org>
> Would we follow this way or put all the stuff in 00debian.sl into
> jed.conf. I would prefer this.
So do I. How about the suggestion below?
I edited the content of 00debian.sl and left out my indent* contributions
(as these are already in jed-extra and will probabely be included in the
next upstream jed release).
% debian jed.conf
% fallback emulation if the user has no ~/.jedrc config file
_Jed_Default_Emulation = "emacs";
% ["emacs" should become a <default-emulation> tag to be replaced with]
% [the user choice by debconf at install time]
% make delete key delete the character under the cursor
% (section 10.8 of the Debian Policy)
x_set_keysym (0xFFFF, 0, "\e[3~");
setkey ("delete_char_cmd", "\e[3~");
% this mode resolves bug 236600 (suggested by JED on the mailing list)
private define debian_load_popup_hook (menubar)
menu_append_item ("Global.&Buffers.&Select Mode", "&paste mode", "paste_mode");
append_to_hook ("load_popup_hooks", &debian_load_popup_hook);
% reference for Slang is now included in jed-common
Jed_Doc_Files = strcat (Jed_Doc_Files, ",",
path_concat (dircat (JED_ROOT, "doc/txt"), "slangfun.txt"));
% prevent loading of JED_ROOT/lib/jed.rc
Default_Jedrc_Startup_File = NULL;
% Do not change the lines below, if you want the Debian startup system to
% function correctly (see /usr/share/doc/jed-common/README.Debian-startup).
$1 = listdir ("/etc/jed-init.d");
$1 = ();
if (path_extname ($1) == ".sl")
() = evalfile (path_concat ("/etc/jed-init.d", $1));