Gnus development mailing list
 help / color / mirror / Atom feed
From: Raymond Scholz <ray-2001@zonix.de>
Subject: Re: Limit nnmail-split-fancy-with-parent to certain groups?
Date: Sat, 04 Aug 2001 15:58:23 +0200	[thread overview]
Message-ID: <ld.87g0b8lyf4.fsf@mde1.zonix.de> (raw)
In-Reply-To: <vaflml0neta.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de> (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Sat, 04 Aug 2001 15:18:57 +0200")

Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> Please check whether this is indeed the case.  Go to a message which
> was put in bogus.  Do C-u g on it.  Go to the article buffer.  Invoke
> nnmail-split-fancy-with-parent:
> 
>     M-: (nnmail-split-fancy-with-parent) RET
> 
> Does it return nil, as it should?

Gah, I think I got it.  Thanks for showing this way of debugging the
function.

The string-match will fail if res is nil.

                 (when (or (string= "drafts" res)
                           (and regexp (string-match regexp res)))
                     (setq res nil)))

So it should look like this:

                 (when (or (string= "drafts" res)
                           (and res regexp (string-match regexp res)))
                     (setq res nil)))
                     

Right?

Cheers, Ray
-- 
Look Ma, this man can twist his fingers as if they were made of rubber,
isn't that amazing? -- Not really, he's been using Emacs for years...!


  reply	other threads:[~2001-08-04 13:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-24 21:18 Raymond Scholz
2001-07-24 22:40 ` Kai Großjohann
2001-07-25 20:22   ` Raymond Scholz
2001-07-25 21:56     ` ShengHuo ZHU
2001-08-04  9:14     ` Raymond Scholz
2001-08-04 11:34       ` Kai Großjohann
2001-08-04 12:30         ` Raymond Scholz
2001-08-04 13:17           ` Kai Großjohann
2001-08-04 13:19           ` Kai Großjohann
2001-08-04 13:18       ` Kai Großjohann
2001-08-04 13:58         ` Raymond Scholz [this message]
2001-08-04 14:44           ` Kai Großjohann
2001-08-04 15:37             ` Raymond Scholz
2001-07-24 23:16 ` ShengHuo ZHU
2001-07-25 20:32   ` Raymond Scholz
2001-07-27 16:52 ` ShengHuo ZHU
2001-07-28 16:06   ` Raymond Scholz

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=ld.87g0b8lyf4.fsf@mde1.zonix.de \
    --to=ray-2001@zonix.de \
    --cc=rscholz@zonix.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).