From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/45075 Path: main.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.gnus.general Subject: Re: nnml splitting on encoded headers Date: Mon, 03 Jun 2002 05:34:35 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1023075525 21290 127.0.0.1 (3 Jun 2002 03:38:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 3 Jun 2002 03:38:45 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17Eig9-0005XH-00 for ; Mon, 03 Jun 2002 05:38:45 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17Eif6-0003ty-00; Sun, 02 Jun 2002 22:37:40 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 02 Jun 2002 22:37:57 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id WAA27985 for ; Sun, 2 Jun 2002 22:37:47 -0500 (CDT) Original-Received: (qmail 7200 invoked by alias); 3 Jun 2002 03:37:25 -0000 Original-Received: (qmail 7195 invoked from network); 3 Jun 2002 03:37:25 -0000 Original-Received: from pfepb.post.tele.dk (193.162.153.3) by gnus.org with SMTP; 3 Jun 2002 03:37:25 -0000 Original-Received: from defun.localdomain (0xc3f98233.esnxr3.ras.tele.dk [195.249.130.51]) by pfepb.post.tele.dk (Postfix) with ESMTP id A6A035EE3B9 for ; Mon, 3 Jun 2002 05:37:23 +0200 (CEST) Original-To: ding@gnus.org Original-Lines: 26 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:45075 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:45075 rra@stanford.edu (Russ Allbery) writes: > Mark Thomas 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.