From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/87414 Path: news.gmane.org!.POSTED!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: Set gnus-simplify-subject-functions in group parameters? Date: Sat, 25 Feb 2017 12:00:08 +0100 Message-ID: <877f4ebknb.fsf@marauder.physik.uni-ulm.de> References: <87ino1vwvt.fsf@passepartout.tim-landscheidt.de> Reply-To: Reiner Steib NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1488045557 3558 195.159.176.226 (25 Feb 2017 17:59:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 25 Feb 2017 17:59:17 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) To: ding@gnus.org Original-X-From: ding-owner+m35635@lists.math.uh.edu Sat Feb 25 18:59:13 2017 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from mxfilter-048034.atla03.us.yomura.com ([107.189.48.34]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chgci-0000Qk-Cv for ding-account@gmane.org; Sat, 25 Feb 2017 18:59:12 +0100 X-Yomura-MXScrub: 1.0 Original-Received: from lists1.math.uh.edu (unknown [129.7.128.208]) by mxfilter-048034.atla03.us.yomura.com (Halon) with ESMTPS id 1ecec62b-fb84-11e6-b719-b499baa2b07a; Sat, 25 Feb 2017 17:59:16 +0000 (UTC) Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.87) (envelope-from ) id 1chgbl-0001A5-Tv; Sat, 25 Feb 2017 11:58:13 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1cha5R-0006UU-L3 for ding@lists.math.uh.edu; Sat, 25 Feb 2017 05:00:25 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.87) (envelope-from ) id 1cha5P-0006Z0-Tg for ding@lists.math.uh.edu; Sat, 25 Feb 2017 05:00:25 -0600 Original-Received: from [195.159.176.226] (helo=blaine.gmane.org) by quimby.gnus.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1cha5M-0003OG-TU for ding@gnus.org; Sat, 25 Feb 2017 12:00:20 +0100 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cha5C-000231-Ls for ding@gnus.org; Sat, 25 Feb 2017 12:00:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 Original-X-Complaints-To: usenet@blaine.gmane.org In-Reply-To: (Katsumi Yamaoka's message of "Fri, 24 Feb 2017 10:29:36 +0900") X-Face: 1;h7XMU[7l}$T@J.D}5z*w8Tg'}B5ArAWc8>2X~otB;kOjKs8X%|hTC#dG:%Vpx")x7S/`v :VXU#fZW$X$zdhEU.RfVQ@<-m9IuN{Hm"fW{,5]6kR'M*vEs+{5Cj!L(JTRzA$(},?5J=sm;%Od Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:87414 Archived-At: On Fri, Feb 24 2017, Katsumi Yamaoka wrote: > Er, first of all, does `gnus-simplify-subject-functions' really > work? I tried this, > (setq gnus-simplify-subject-functions '(gnus-simplify-subject-re)) > and confirmed that `gnus-simplify-subject-re' runs. However I > can still see "Re: "s in the summary lines. :( I guess `gnus-simplify-subject-functions' is used for threading and scoring and doesn't influence the display (in summary and article buffers). For the latter, `gnus-list-identifiers' might be useful. With the following code, I can see that the function rs-test is called twice for each article (after turning on threading): | Generating summary...done | No more unseen articles | No more unread articles | SIMPLIFY: subdomain adressing | SIMPLIFY: Test-von-Reiner | Generating summary... | SIMPLIFY: subdomain adressing | SIMPLIFY: Test-von-Reiner | Generating summary...done | Threading is now on (defun rs-test (s) (message "SIMPLIFY: %s" s)) (setq gnus-parameters `(;; ... ("misc\\.test" (gnus-simplify-subject-functions '(gnus-simplify-subject-re gnus-simplify-whitespace rs-test)) (gnus-summary-line-format "...")) ...)) Bye, Reiner.