From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83985 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-uu bug? Date: Thu, 19 Dec 2013 13:41:35 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1387428144 4463 80.91.229.3 (19 Dec 2013 04:42:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Dec 2013 04:42:24 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32237@lists.math.uh.edu Thu Dec 19 05:42:29 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VtVRN-00085a-17 for ding-account@gmane.org; Thu, 19 Dec 2013 05:42:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1VtVQn-0006Nf-E3; Wed, 18 Dec 2013 22:41:53 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1VtVQm-0006NR-4S for ding@lists.math.uh.edu; Wed, 18 Dec 2013 22:41:52 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1VtVQl-0007Nw-3f for ding@lists.math.uh.edu; Wed, 18 Dec 2013 22:41:51 -0600 Original-Received: from mail-hampton.hostforweb.net ([216.246.15.223] helo=hampton.hostforweb.net) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1VtVQj-00070l-Ew for ding@gnus.org; Thu, 19 Dec 2013 05:41:49 +0100 Original-Received: from localhost.localdomain ([127.0.0.1]:35786 helo=localhost) by hampton.hostforweb.net with smtp (Exim 4.80.1) (envelope-from ) id 1VtVQY-002SyM-0B for ding@gnus.org; Wed, 18 Dec 2013 22:41:40 -0600 X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130008 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.8) Emacs/24.3.50 (i686-pc-cygwin) Cancel-Lock: sha1:S8la8iwWYvEL+iWbTlXYCWwbXzI= X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user: root X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83985 Archived-At: Katsumi Yamaoka wrote: > I came across many forwardxxxxxxx files left in the TMP directory. > Where xxxxxxx is a unique alphanumeric characters and TMP is a > directory that the user option `gnus-uu-tmp-dir' specifies, and > those files are all empty. They should have been deleted, shouldn't > they? > I looked into the code and realized that such a file was created > when I forwarded two or more articles in a single message. Whereas > other gnus-uu files are created in the `gnus-uu-work-dir' directory, > and are deleted when exiting a group. > In relation to this, `gnus-uu-decode-binhex' and > `gnus-uu-decode-binhex-view' seem to try to run without initializing > `gnus-uu-work-dir'. I have no binhex data, so I haven't fully > tested them, though. In addition, it uses `gnus-exit-group-hook' to delete temporary files when exiting a group, however `gnus-exit-group-hook' is not evaluated when the group is an nnir group. It is because nnir uses `gnus-group-read-ephemeral-group', that sets the quit-config parameter for the group, to create a group. So, I've replaced the hook with `gnus-summary-prepare-exit-hook' that is always run by both `gnus-summary-exit' and `gnus-summary-exit-no-update'. > May I commit this patch? Maybe it was needless to ask people. Committed.