From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/87867 Path: news.gmane.org!.POSTED!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.gnus.general Subject: citation get name no matter name or e-mail Date: Sat, 06 Jan 2018 06:30:44 +0100 Message-ID: <86po6ny2nv.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1515216625 29007 195.159.176.226 (6 Jan 2018 05:30:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 6 Jan 2018 05:30:25 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) To: ding@gnus.org Original-X-From: ding-owner+m36081@lists.math.uh.edu Sat Jan 06 06:30:20 2018 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from mxfilter-048035.atla03.us.yomura.com ([107.189.48.35]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXh3i-00078B-Ts for ding-account@gmane.org; Sat, 06 Jan 2018 06:30:19 +0100 X-Yomura-MXScrub: 1.0 Original-Received: from lists1.math.uh.edu (unknown [129.7.128.208]) by mxfilter-048035.atla03.us.yomura.com (Halon) with ESMTPS id eac693e9-f2a2-11e7-94e8-b499baabecb2; Sat, 06 Jan 2018 05:32:00 +0000 (UTC) Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.89) (envelope-from ) id 1eXh4R-000867-Dx; Fri, 05 Jan 2018 23:31:03 -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.89) (envelope-from ) id 1eXh4N-00085c-Pn for ding@lists.math.uh.edu; Fri, 05 Jan 2018 23:30:59 -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.89) (envelope-from ) id 1eXh4M-0005TV-2V for ding@lists.math.uh.edu; Fri, 05 Jan 2018 23:30:59 -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 1eXh4K-0005QE-PF for ding@gnus.org; Sat, 06 Jan 2018 06:30:56 +0100 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eXh2K-0001Qd-7y for ding@gnus.org; Sat, 06 Jan 2018 06:28:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 16 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:Y4V6a3y+0uqh1ri0kkRRNp38peA= X-Spam-Score: 2.1 (++) X-Spam-Report: SpamAssassin (3.4.1 2015-04-28) analysis follows Bayesian score: 0.4648 Ham tokens: 0.000-151--5454h-0s--0d--H*M:fsf, 0.000-145--5234h-0s--0d--H*MI:fsf, 0.000-3--101h-0s--0d--HX-Complaints-To:sk:usenet@, 0.000-3--97h-0s--0d--H*r:195.159.176, 0.000-3--97h-0s--0d--H*r:ip*195.159.176.226 Spam tokens: 0.996-27994--569h-23791s--0d--H*r:quimby.gnus.org, 0.996-15720--320h-13360s--0d--HX-Envelope-From:sk:junkmas, 0.996-15720--320h-13360s--0d--H*RT:sk:junkmas, 0.996-15720--320h-13360s--0d--Hx-spam-relays-internal:sk:junkmas, 0.994-28906--949h-24867s--0d--HTo:D*gnus.org Autolearn status: no autolearn_force=no 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (moasen[at]zoho.com) 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4648] 0.8 RDNS_NONE Delivered to internal network by a host with no rDNS 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:87867 Archived-At: (defun citation-style-f () (let*((from (mail-header-from message-reply-headers)) (from-data (gnus-extract-address-components from)) (name (or (car from-data) ;; if the cited user hasn't set his name ;; use first part of his e-mail ;; e.g., joe@hacker.com -> joe (car (split-string (cadr from-data) "@")))) (citation-string (format "%s wrote:" name)) ) (insert citation-string) (newline 2) )) (setq message-citation-line-function #'citation-style-f) -- underground experts united http://user.it.uu.se/~embe8573