From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/65265 Path: news.gmane.org!not-for-mail From: "Georg C. F. Greve" Newsgroups: gmane.emacs.gnus.general Subject: Getting rid of the zombies in dynamically created groups Date: Wed, 26 Sep 2007 15:52:33 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="20070926155233+020026075957-17745873-259670828"; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: sea.gmane.org 1190814860 2975 80.91.229.12 (26 Sep 2007 13:54:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Sep 2007 13:54:20 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M13776@lists.math.uh.edu Wed Sep 26 15:54:16 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1IaXLB-0002Zk-Db for ding-account@gmane.org; Wed, 26 Sep 2007 15:54:13 +0200 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 1IaXKf-0002lt-0R; Wed, 26 Sep 2007 08:53:41 -0500 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 1IaXKd-0002lf-Lt for ding@lists.math.uh.edu; Wed, 26 Sep 2007 08:53:39 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1IaXKX-00030Z-6B for ding@lists.math.uh.edu; Wed, 26 Sep 2007 08:53:39 -0500 Original-Received: from gadolin.fsfeurope.org ([195.176.254.152]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1IaXKO-00084o-00 for ; Wed, 26 Sep 2007 15:53:24 +0200 Original-Received: by gadolin.fsfeurope.org (Postfix, from userid 10) id A806F54CAE7; Wed, 26 Sep 2007 15:53:01 +0200 (CEST) Original-Received: by cerebro.fsfeurope.org (Postfix, from userid 500) id A9004E2F4F; Wed, 26 Sep 2007 15:52:33 +0200 (CEST) User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:65265 Archived-At: --20070926155233+020026075957-17745873-259670828 Content-Type: multipart/mixed; boundary="20070926155233+0200-49166831-17987394157081328" --20070926155233+0200-49166831-17987394157081328 Hi all, in the course of integration of org mode with mairix and gnus, I came across the need for Gnus to enter a group that is recreated dynamically by mairix -- so Gnus will need to forget everything about the group when entering it, and read it afresh. You can see the resulting code at http://article.gmane.org/gmane.emacs.orgmode/3364 the gnus-related part being --20070926155233+0200-49166831-17987394157081328 Content-Type: application/emacs-lisp Content-Disposition: inline Content-Transfer-Encoding: quoted-printable (defun org-mairix-gnus-display-results (message-id) "Display results of mairix search in Gnus. Note: This does not work as cleanly as I would like it to. The problem being that Gnus should simply reread the group cleanly, without remembering anything. At the moment it seems to be unable to do that -- so you're likely to see zombies floating around. Gnus developers couldn't really help, see: http://article.gmane.org/gmane.emacs.gnus.general/65248 If you can improve this, please do!" (require 'gnus) (require 'gnus-sum) (gnus-group-quick-select-group 0 org-mairix-gnus-results-group) (gnus-summary-reselect-current-group t t) (gnus-summary-select-article nil t t (car (gnus-find-matching-articles "message-i= d" message-id)))) --20070926155233+0200-49166831-17987394157081328 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable If anyone has ideas / suggestions / helpful pointers on how to improve this, that would be greatly helpful. Regards, Georg =2D-=20 Georg C. F. Greve Free Software Foundation Europe (http://fsfeurope.org) Join the Fellowship and protect your freedom! (http://www.fsfe.org) What everyone should know about DRM (http://DRM.info) --20070926155233+0200-49166831-17987394157081328-- --20070926155233+020026075957-17745873-259670828 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQCVAwUBRvpkISk9sUy32wQcAQJmswP6AnZmxX1znpo8jbtHskMddBe+Qow6ahhD W35+ieCvb8x64w8GJsOvlSB0H99Of64biMEcECsksnjbk6KecEJsVioluB35VmVY OaEVEuN8FeoPFwmucIaf1vpUEA6xBxkwoCnTxcc54rBgxWEFQRIKkwWfo40vl4Xa +JfF6oogvDs= =iXkG -----END PGP SIGNATURE----- --20070926155233+020026075957-17745873-259670828--