Gnus development mailing list
 help / color / mirror / Atom feed
From: Sascha Wilde <wilde@sha-bang.de>
Subject: [Patch] allowing nnir.el + swish-e to search gziped mails
Date: Fri, 17 Mar 2006 14:39:51 +0100	[thread overview]
Message-ID: <m264mdyyu0.fsf@kenny.sha-bang.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 234 bytes --]

This is a trivial patch for nnir.el from gnus/contrib/
it allows searching nnml mail groups with enabled file compression.

Tested with gnus from latest GNU CVS Emacs.

ps. please CC me in any reply, I'm not subscribed to this list.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: nnir-compressed-files.patch --]
[-- Type: text/x-patch, Size: 558 bytes --]

diff -c /home/wilde/.emacs.d/nnir.el.orig /home/wilde/.emacs.d/nnir.el
--- /home/wilde/.emacs.d/nnir.el.orig	2006-03-17 14:27:30.566757000 +0100
+++ /home/wilde/.emacs.d/nnir.el	2006-03-17 14:25:31.875339250 +0100
@@ -1248,7 +1248,7 @@
               dirnam (file-name-directory (match-string 2)))
 
         ;; don't match directories
-        (when (string-match "^[0-9]+$" artno)
+        (when (string-match "^[0-9]+\\(\\.gz\\)?$" artno)
           (when (not (null dirnam))
 
             ;; remove nnir-swish-e-remove-prefix from beginning of dirname


[-- Attachment #3: Type: text/plain, Size: 74 bytes --]

-- 
Sascha Wilde
"C++ : an octopus made by nailing extra legs onto a dog"

             reply	other threads:[~2006-03-17 13:39 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-17 13:39 Sascha Wilde [this message]
2006-04-11 16:21 ` Lars Magne Ingebrigtsen
2006-05-31 22:12   ` Reiner Steib
2006-06-01  7:42     ` Sascha Wilde
2006-06-01 12:27       ` Reiner Steib
2006-06-01 12:27       ` Including nnir.el (was: [Patch] allowing nnir.el + swish-e to search gziped mails) Reiner Steib
2006-06-01 13:36         ` Including nnir.el Sascha Wilde
2006-06-11 10:59           ` Sascha Wilde
2006-06-12 21:59             ` Andreas Seltenreich
2006-06-19 17:16               ` Reiner Steib
2006-07-03  7:06                 ` Sascha Wilde
2006-07-13 12:44                   ` Sascha Wilde
2006-07-17 13:03                   ` Reiner Steib
2006-06-04 18:01         ` Sascha Wilde
2006-06-05 22:49           ` Reiner Steib

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m264mdyyu0.fsf@kenny.sha-bang.de \
    --to=wilde@sha-bang.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).