Gnus development mailing list
 help / color / mirror / Atom feed
From: Jesper Harder <harder@ifa.au.dk>
Subject: Re: nnml splitting on encoded headers
Date: Mon, 03 Jun 2002 05:34:35 +0200	[thread overview]
Message-ID: <m33cw5avck.fsf@defun.localdomain> (raw)
In-Reply-To: <ylznyhnup9.fsf@windlord.stanford.edu>

rra@stanford.edu (Russ Allbery) writes:

> Mark Thomas <swoon@bellatlantic.net> writes:
>
>> However, Gnus decodes the headers before running the split rules.  Check
>> out this ChangeLog entry:
>
> So... how do I turn this feature off?  I can understand how this would be
> useful for people who can read other character sets, so I don't want to
> see it removed entirely, but it's a serious problem for me.

You can turn it off with this:

(require 'cl)

(defadvice nnmail-article-group (around rra-dont-decode)
  "Don't decode headers before splitting."
  (flet ((mail-decode-encoded-word-region (start end) nil))
    ad-do-it))

(ad-activate 'nnmail-article-group)


But we should probably have a more obvious way of turning it off.  I
agree that splitting on unencoded headers is useful -- I do it myself in
.procmail.




  reply	other threads:[~2002-06-03  3:34 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-24 20:10 Mark Thomas
2002-05-25 12:35 ` Mark Thomas
2002-05-25 17:25 ` Kai Großjohann
2002-05-26  0:00   ` Russ Allbery
2002-05-26 12:32     ` Mark Thomas
2002-05-30 22:21       ` Russ Allbery
2002-06-03  3:34         ` Jesper Harder [this message]
2002-06-03 17:52         ` Simon Josefsson
2002-06-03 19:41           ` Kai Großjohann
2002-06-03 19:48             ` Simon Josefsson
2002-06-03 20:04               ` Russ Allbery
2002-05-28 20:45 ` Norman Walsh
2002-05-28 22:17   ` Mark Thomas
2002-05-29  0:31     ` Russ Allbery
2002-05-29  7:39   ` Kai Großjohann

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=m33cw5avck.fsf@defun.localdomain \
    --to=harder@ifa.au.dk \
    /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).