index: add skippedPathsFnmPathname variable to enable disabling the use of FNM_PATHNAME while matching in skippedPaths. Closes issue #67

This commit is contained in:
Jean-Francois Dockes
2011-11-30 16:36:51 +01:00
parent 2afc769c38
commit 3759c0b52d
8 changed files with 70 additions and 32 deletions
+13 -6
View File
@@ -3441,12 +3441,19 @@ skippedNames = #* bin CVS Cache cache* caughtspam tmp .thumbnails .svn \
<programlisting>
skippedPaths = ~/somedir/&lowast;.txt
</programlisting>
<para>The values in the <literal>*skippedPaths</literal>
variables are currently matched with
<literal>fnmatch(3)</literal>, with the FNM_PATHNAME and
FNM_LEADING_DIR flags. This means that '/' characters must
be matched explicitely, which is probably
unfortunate.</para>
</listitem>
</varlistentry>
<varlistentry id="rcl.install.config.recollconf.skippedpathsfnmpathname">
<term><literal>skippedPathsFnmPathname</literal></term>
<listitem><para>The values in the
<literal>*skippedPaths</literal> variables are matched by
default with <literal>fnmatch(3)</literal>, with the
FNM_PATHNAME and FNM_LEADING_DIR flags. This means that '/'
characters must be matched explicitely. You can set
<literal>skippedPathsFnmPathname</literal> to 0 to disable
the use of FNM_PATHNAME (meaning that /*/dir3 will match
/dir1/dir2/dir3).</para>
</listitem>
</varlistentry>