From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/87853 Path: news.gmane.org!.POSTED!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-exit-group-hook Date: Mon, 18 Dec 2017 20:46:26 +0100 Message-ID: <86k1xjhl9p.fsf@zoho.com> References: <87h8sohfx8.fsf@bobnewell.net> <87bmivlwy1.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1513626467 11737 195.159.176.226 (18 Dec 2017 19:47:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 18 Dec 2017 19:47:47 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) To: ding@gnus.org Original-X-From: ding-owner+m36067@lists.math.uh.edu Mon Dec 18 20:47:43 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 1eR1O1-0002YC-3D for ding-account@gmane.org; Mon, 18 Dec 2017 20:47:41 +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 90ae7019-e42c-11e7-a8eb-b499baa2b07a; Mon, 18 Dec 2017 19:49:31 +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 1eR1N6-0007Y9-6O; Mon, 18 Dec 2017 13:46:44 -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 1eR1N3-0007Xd-0W for ding@lists.math.uh.edu; Mon, 18 Dec 2017 13:46:41 -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 1eR1N1-0002t3-Mk for ding@lists.math.uh.edu; Mon, 18 Dec 2017 13:46:40 -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 1eR1N0-0007zN-BK for ding@gnus.org; Mon, 18 Dec 2017 20:46:38 +0100 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eR1Ky-0006S4-92 for ding@gnus.org; Mon, 18 Dec 2017 20:44:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 42 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:zjd9wa0xFW2umwUQ0SbJIt5W8OM= X-Spam-Score: 1.3 (+) X-Spam-Report: SpamAssassin (3.4.1 2015-04-28) analysis follows Bayesian score: 0.3193 Ham tokens: 0.000-150--5400h-0s--0d--H*M:fsf, 0.000-139--4995h-0s--0d--buffers, 0.000-3--81h-0s--2d--HX-Complaints-To:sk:usenet@, 0.000-3--77h-0s--2d--H*r:sk:blaine., 0.000-3--77h-0s--2d--H*r:195.159.176 Spam tokens: 0.996-27454--569h-23462s--0d--H*r:quimby.gnus.org, 0.996-15231--318h-13018s--0d--H*RT:sk:junkmas, 0.996-15231--318h-13018s--0d--Hx-spam-relays-internal:sk:junkmas, 0.996-15231--318h-13018s--0d--HX-Envelope-From:sk:junkmas, 0.994-28346--948h-24526s--0d--HTo:D*gnus.org Autolearn status: no autolearn_force=no 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (moasen[at]zoho.com) -0.0 BAYES_40 BODY: Bayes spam probability is 20 to 40% [score: 0.3193] 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:87853 Archived-At: Eric Abrahamsen wrote: > I guess it's just a matter of what you might > want to use the hook for. Some people might > want to use it to short-circuit the > update process. The "feelingly" inconsistent state with buffers all over the place and changes that are done but then reoccurs the next time you check was a source of constant confusion/frustration in my early Gnus days. Without understanding it, really, I made a lot of in-between functions to force it into what I suspect is a very heavy-handed mold, but rather that then doing things with the sensation maybe it isn't really done, or maybe it is, and something else isn't, and what have you. Here is a Summary buffer example: (defun gnus-summary-exit-and-update-group () (interactive) (kill-buffer) (gnus-summary-save-newsrc) (gnus-switch-to-group-buffer) ) ; [1] Here is all my other Gnus [2]. If anyone wants to wade thru it, in search of the odd nugget, or likewise "hey, that isn't necessary", feel free. (prolonged silence) OK, so no one wants to do that. Why not?! [1] http://user.it.uu.se/~embe8573/emacs-init/gnus/summary.el [2] http://user.it.uu.se/~embe8573/emacs-init/gnus/ -- underground experts united http://user.it.uu.se/~embe8573