Gnus development mailing list
 help / color / mirror / Atom feed
From: NAGY Andras <nagya@inf.elte.hu>
Subject: possible gnus-sieve bug
Date: Sat, 03 Nov 2001 19:58:05 +0100	[thread overview]
Message-ID: <dzc4robbs1u.fsf@pandora.inf.elte.hu> (raw)
In-Reply-To: <iluk7xprvt6.fsf@barbar.josefsson.org> (Simon Josefsson's message of "Sun, 21 Oct 2001 15:01:41 +0200")

Gnus-sieve has this function:

(defun gnus-sieve-guess-rule-for-article ()
  "Guess a sieve rule based on RFC822 article in buffer.
  Return NIL if no rule could be guessed."
    (when (message-fetch-field "sender")
        `(sieve address "sender" ,(regexp-quote (message-fetch-field "sender")))))

AFAIK, the default `comparator' in Sieve tests is `:is' (exact match),
therefore the regexp-quote is not required here; actually I think
rules generated this way should not work at all.  What do you think?


Andras



  parent reply	other threads:[~2001-11-03 18:58 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-21 13:01 Sieve support? Simon Josefsson
2001-10-21 14:02 ` Kai Großjohann
2001-10-22  1:21 ` Daniel Pittman
2001-11-01  0:53 ` Simon Josefsson
2001-11-01 16:08   ` Kai Großjohann
2001-11-01 16:50     ` Simon Josefsson
2001-11-02  8:25       ` Kai Großjohann
2001-11-02  8:50         ` Simon Josefsson
2001-11-02  9:14           ` Kai Großjohann
2001-11-02 12:39             ` Simon Josefsson
2001-11-02 16:24               ` Kai Großjohann
2001-11-02 17:52                 ` Amos Gouaux
2001-11-02 22:29                   ` Kai Großjohann
2001-11-04 14:49                     ` Steinar Bang
2001-11-04 17:35                       ` Amos Gouaux
2001-11-04 18:06                         ` Simon Josefsson
2001-11-04 18:44                           ` Amos Gouaux
2001-11-02 17:48         ` Amos Gouaux
2001-11-02 19:59           ` Simon Josefsson
2001-11-03  0:35       ` NAGY Andras
2001-11-03 18:58 ` NAGY Andras [this message]
2001-11-03 19:06   ` possible gnus-sieve bug Simon Josefsson
2001-11-04 13:17     ` NAGY Andras

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=dzc4robbs1u.fsf@pandora.inf.elte.hu \
    --to=nagya@inf.elte.hu \
    /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).