From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54135 Path: main.gmane.org!not-for-mail From: Denis Dzyubenko Newsgroups: gmane.emacs.gnus.general Subject: gnus-simplify-subject-functions Date: Wed, 01 Oct 2003 22:26:10 +0400 Sender: ding-owner@lists.math.uh.edu Message-ID: <87y8w4n7b1.fsf@mail.kubtelecom.ru> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1065033086 13057 80.91.224.253 (1 Oct 2003 18:31:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Oct 2003 18:31:26 +0000 (UTC) Original-X-From: ding-owner+M2676@lists.math.uh.edu Wed Oct 01 20:31:24 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A4lkx-0001sv-00 for ; Wed, 01 Oct 2003 20:31:23 +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 1A4ljs-0004qM-00; Wed, 01 Oct 2003 13:30:16 -0500 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1A4ljo-0004qH-00 for ding@lists.math.uh.edu; Wed, 01 Oct 2003 13:30:12 -0500 Original-Received: from mail.kubtelecom.ru (ns1.kubtelecom.ru [213.132.64.82]) by justine.libertine.org (Postfix) with SMTP id 4EC543A008D for ; Wed, 1 Oct 2003 13:30:10 -0500 (CDT) Original-Received: (qmail 92251 invoked from network); 1 Oct 2003 22:29:56 +0400 (MSD) Original-Received: from unknown (HELO station) (213.132.67.161) by pro.kubtelecom.ru with SMTP; 1 Oct 2003 22:29:56 +0400 (MSD) Original-Received: from shad by station with local (Exim 3.35 #1 (Debian)) id 1A4lfu-000121-00 for ; Wed, 01 Oct 2003 22:26:10 +0400 Original-To: ding User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Common Lisp, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54135 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54135 Hello, How does gnus-simplify-subject-functions work ? I tried this: =+== (defun my-gnus-simplify-talk-ru (subject) (setq my-subj subject) (if (string-match " - fido7.su.c-cpp" subject) (substring subject 0 (match-beginning 0)) subject)) (setq gnus-simplify-subject-functions '(my-gnus-simplify-talk-ru)) =+== I test my function, it works fine: (my-gnus-simplify-talk-ru "Old Subject - fido7.su.c-cpp") returns "Old Subject". But when replying " - fido7.su.c-cpp" is not removed from subjects - what I do wrong ? btw, is gnus-simplify-* functions documented? I can't find anything about these functions in Gnus documentation. -- Denis. I had a dream... DIR C: 999,937,498,127 bytes free (df: /usr 999937498727 blocks free).