Package: crm114
Version: 20060704a-2
Severity: normal
Tags: patch

Hello,

I am trying out crm114 with KMail and stumbled upon what appears to be a
small bug in /usr/share/crm114/mailfilter.cf:

The setting of ":trainer_invoke_command:" is wrong... it should be
"/.\mailtrainer.crm/" instead of "/.\mailtrainer.crm/" to correctly
reference to "./mailfilter.crm".

I included a patch to fix the problem.

This patch also comments out

:trainer_randomizer_command: / .\/crm114_tre shuffle.crm /

as I understand the previous comment in the config file that it should
only be used if crm114_tre has to be called from the current directory,
which is not required with the debian package.

If that change is not desired I can prepare a patch without it.

Regards,
Martin

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-ck1-tp23-sws-2.2.8
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages crm114 depends on:
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libtre4                      0.7.3-1     regexp matching library with appro

Versions of packages crm114 recommends:
ii  metamail                      2.7-52     implementation of MIME

-- no debconf information
--- mailfilter.cf.orig  2006-07-08 04:48:12.000000000 +0200
+++ mailfilter.cf       2006-10-21 15:22:23.190630192 +0200
@@ -225,7 +225,7 @@
 #      
 #     -- use this next one if you have installed CRM114 with "make install"
 #     -- (This is preferred and is the default)
-:trainer_invoke_command: /.\mailtrainer.crm/
+:trainer_invoke_command: /.\/mailtrainer.crm/
 #
 #     -- use this one if you can't do a "make install" and so must run the
 #     --- crm114_tre binary directly out of the current working directory.
@@ -244,7 +244,7 @@
 #             ------  you can use the "sort --key 1.2" on date-named files to
 #              -----   achieve chronological training
 :trainer_randomizer_command: / .\/shuffle.crm /
-:trainer_randomizer_command: / .\/crm114_tre shuffle.crm /
+#:trainer_randomizer_command: / .\/crm114_tre shuffle.crm /
 #:trainer_randomizer_command: /sort --key 1.2/
 
 

Reply via email to