From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/52966 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: A RE: SV: AW: "collapser", anyone...? Date: Sun, 01 Jun 2003 23:34:52 +0200 Organization: Probably a good idea Sender: ding-owner@lists.math.uh.edu Message-ID: <87fzmtiirn.fsf@doohan.bang.priv.no> References: <877k86lmz4.fsf@doohan.bang.priv.no> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054503322 16891 80.91.224.249 (1 Jun 2003 21:35:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 1 Jun 2003 21:35:22 +0000 (UTC) Original-X-From: ding-owner+M1510@lists.math.uh.edu Sun Jun 01 23:35:21 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19MaU4-0004OC-00 for ; Sun, 01 Jun 2003 23:35:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19MaTr-0007qm-00; Sun, 01 Jun 2003 16:35:07 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19MaTi-0007qe-00 for ding@lists.math.uh.edu; Sun, 01 Jun 2003 16:34:58 -0500 Original-Received: (qmail 44316 invoked by alias); 1 Jun 2003 21:34:58 -0000 Original-Received: (qmail 44311 invoked from network); 1 Jun 2003 21:34:58 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by sclp3.sclp.com with SMTP; 1 Jun 2003 21:34:58 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 19Mahn-00070d-00 for ; Sun, 01 Jun 2003 23:49:31 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 29 Original-NNTP-Posting-Host: lj6t81.cm.chello.no Original-X-Trace: quimby.gnus.org 1054504171 26946 80.111.29.5 (1 Jun 2003 21:49:31 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 1 Jun 2003 21:49:31 GMT Mail-Copies-To: never User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Common Lisp, linux) Cancel-Lock: sha1:sKlyHvlKpa5Z5V1pwOXkYAGmz4I= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:52966 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:52966 >>>>> Maciej Matysiak : > there is, if you add the stuff to message-subject-re-regexp > variable. default value covers only english version of reply > prefix. Hm... grep tells me that this variable is used in gnus-simplify-subject-re in gnus-sum.el, and in message-strip-subject-re in message.el. As far as I can tell this means that the collapsing will work as desired for summary buffers (ie. remove them all). For messages being composed, this will remove them all, while I would like a single Re: to be left there. Or perhaps this is inserted elswhere into the Subject of the message being composed? But this regular expression isn't used by any article washing function, so I would have to write something there. > i'm all for expanding it with localized prefixes (polish 'odp', swedish 'sv', > and so on). for the beginning: > (setq message-subject-re-regexp > "^[ \t]*\\(\\(\\([Aa][Ww]\\)\\|\\([Oo][Dd][Pp]\\)\\|\\([Rr][Ee]\\)\\|\\([Ss][Vv]\\)\\|\\)\\(\\[[0-9]*\\]\\)*:[ \t]*\\)*[ \t]*") > (i don't know any more translated re's). One I've seen is "Ad", by a Norwegian version of Lotus Notes.