From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/88192 Path: news.gmane.org!.POSTED!not-for-mail From: "Garreau\, Alexandre" Newsgroups: gmane.emacs.gnus.general Subject: =?utf-8?Q?Where=E2=80=99s?= Gnus function cutting too-long subject lines Date: Sun, 28 Oct 2018 18:05:11 +0100 Message-ID: <87d0ru9f3s.fsf@portable.galex-713.eu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1540746264 14829 195.159.176.226 (28 Oct 2018 17:04:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 28 Oct 2018 17:04:24 +0000 (UTC) User-Agent: Gnus (5.13), GNU Emacs 25.1.1 (i686-pc-linux-gnu, GTK+ Version 3.22.11) of 2017-09-15, modified by Debian To: ding@gnus.org Original-X-From: ding-owner+M36406@lists.math.uh.edu Sun Oct 28 18:04:20 2018 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGoU7-0003ii-UB for ding-account@gmane.org; Sun, 28 Oct 2018 18:04:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.90_1) (envelope-from ) id 1gGoVF-00026F-3O; Sun, 28 Oct 2018 12:05:29 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1gGoV5-00023Q-LH for ding@lists.math.uh.edu; Sun, 28 Oct 2018 12:05:19 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) (envelope-from ) id 1gGoV3-0004r5-Ci for ding@lists.math.uh.edu; Sun, 28 Oct 2018 12:05:19 -0500 Original-Received: from portable.galex-713.eu ([89.234.186.82]) by quimby.gnus.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGoUz-0004LP-Dl for ding@gnus.org; Sun, 28 Oct 2018 18:05:13 +0100 Original-Received: from localhost ([::1] helo=portable.galex-713.eu) by portable.galex-713.eu with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gGoUx-0007MN-Cc for ding@gnus.org; Sun, 28 Oct 2018 18:05:11 +0100 PGP-FINGERPRINT: E109 9988 4197 D7CB B0BC 5C23 8DEB 24BA 867D 3F7F Accept-Language: fr, en, eo, it, br X-Spam-Score: 0.8 (/) X-Spam-Report: SpamAssassin (3.4.2 2018-09-13) analysis follows Bayesian score: 0.4990 Ham tokens: 0.000-42--1567h-0s--1d--H*M:fsf, 0.000-42--1561h-0s--0d--i’d, 0.000-41--1545h-0s--1d--H*MI:fsf, 0.000-34--1257h-0s--2d--H*UA:Emacs, 0.000-33--1236h-0s--2d--H*u:Emacs Spam tokens: 0.997-33049--610h-26854s--0d--H*r:quimby.gnus.org, 0.995-34040--1025h-27976s--0d--HTo:D*gnus.org, 0.995-27408--850h-22545s--0d--H*Ad:D*gnus.org, 0.994-1782--60h-1469s--0d--Hx-spam-relays-external:quimby.gnus.org, 0.994-1782--60h-1469s--0d--H*RU:quimby.gnus.org Autolearn status: ham autolearn_force=no 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4990] -0.0 SPF_PASS SPF: sender matches SPF record List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:88192 Archived-At: Hi, As I recently discovered that org-mode, when linking to a gnus article, dumbly cutted it in the middle, I wanted to know if, when cutting is needed, it couldn=E2=80=99t use the special gnus feature that does it. That feature is the one that cuts the subject line when it grows too long, for instance by (from what I noticed from now) removing excedentary =E2=80=9CWas: [=E2=80=A6]=E2=80=9D parts in the end of it. I searched in gnus-msg.el, in all gnus sources, with el-search, but was unable to find a string with just "was:?" (maybe it is embeded in a bigger regexp?), I found it used in a var in gnus-score.el, but nothing related to subject lines (functions are rather long and difficult I=E2=80= =99d say): do anyone know which function do that?