Gnus development mailing list
 help / color / mirror / Atom feed
From: Rolf Marvin B|e Lindgren <roffe@morgoth.uio.no>
Subject: Re: gnus 5.6.11
Date: Tue, 09 Jun 1998 06:02:38 GMT	[thread overview]
Message-ID: <lbzwwar5czl.fsf@morgoth.uio.no> (raw)
In-Reply-To: <kigyavc1945.fsf@jagor.srce.hr>


[Hrvoje Niksic]

| I introduced the new regexp-quoting (Gnus failed on Windows without
| it), so I feel responsible.  Although the changes are generally fine,
| I see one that's not.  Try this patch:

if this is how nnmail-get-split-group is supposed to be, it still
doesn't work. 

(defun nnmail-get-split-group (file group)
  "Find out whether this FILE is to be split into GROUP only.
If GROUP is non-nil and we are using procmail, return the group name
only when the file is the correct procmail file.  When GROUP is nil,
return nil if FILE is a spool file or the procmail group for which it
is a spool.  If not using procmail, return GROUP."
  (if (or (eq nnmail-spool-file 'procmail)
          nnmail-use-procmail)
      (if (string-match (concat "^" (regexp-quote
                                     (expand-file-name
                                      (file-name-as-directory
                                       nnmail-procmail-directory)))
                                "\\([^/]*\\)"
                                (regexp-quote nnmail-procmail-suffix) "$")
                        (expand-file-name file))
          (let ((procmail-group (substring (expand-file-name file)
                                           (match-beginning 1)
                                           (match-end 1))))
            (if group
                (if (string-equal group procmail-group)
                    group
                  nil)
              procmail-group))
        nil)
    group))


-- 

       Rolf Lindgren           |       "The opinions expressed above are
       Sofienberggt. 13b       |        not necessarily those of anyone"
       N-0551 OSLO             |               roffe@ask.uio.no 
.


  parent reply	other threads:[~1998-06-09  6:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-04  4:26 Rolf Marvin B|e Lindgren
1998-06-04 14:59 ` Justin Sheehy
1998-06-05  9:38   ` Hrvoje Niksic
1998-06-05 15:59     ` Justin Sheehy
1998-06-09  6:02     ` Rolf Marvin B|e Lindgren [this message]
1998-06-09 11:45       ` Hrvoje Niksic
1998-06-24  1:05     ` Lars Magne Ingebrigtsen
1998-06-04 18:44 ` Bruce Stephens

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=lbzwwar5czl.fsf@morgoth.uio.no \
    --to=roffe@morgoth.uio.no \
    /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).