From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75012 Path: news.gmane.org!not-for-mail From: Tibor Simko Newsgroups: gmane.emacs.gnus.general Subject: Re: latest sources do not client-split IMAP anymore Date: Wed, 15 Dec 2010 03:33:04 +0100 Organization: CERN -- European Organization for Nuclear Research Message-ID: <87fwtz4vfj.fsf@pcuds33.cern.ch> References: <8739q0tdai.fsf@pcuds33.cern.ch> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1292380484 3838 80.91.229.12 (15 Dec 2010 02:34:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Dec 2010 02:34:44 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M23368@lists.math.uh.edu Wed Dec 15 03:34:40 2010 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.69) (envelope-from ) id 1PShCR-0003BO-SM for ding-account@gmane.org; Wed, 15 Dec 2010 03:34:40 +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 1PShBF-0007Vz-H2; Tue, 14 Dec 2010 20:33:25 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PShBD-0007Vi-T6 for ding@lists.math.uh.edu; Tue, 14 Dec 2010 20:33:23 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PShBC-0005HV-DZ for ding@lists.math.uh.edu; Tue, 14 Dec 2010 20:33:23 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PShBA-0005bC-98 for ding@gnus.org; Wed, 15 Dec 2010 03:33:20 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PShB9-0002n8-Vu for ding@gnus.org; Wed, 15 Dec 2010 03:33:19 +0100 Original-Received: from 176-70.77-83.cust.bluewin.ch ([83.77.70.176]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Dec 2010 03:33:19 +0100 Original-Received: from tibor.simko by 176-70.77-83.cust.bluewin.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Dec 2010 03:33:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 64 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 176-70.77-83.cust.bluewin.ch Mail-Copies-To: never User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:Gogbr8avohGTPMMhiNJM4Hx1b28= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75012 Archived-At: --=-=-= Content-Type: text/plain On Tue, 14 Dec 2010, Lars Magne Ingebrigtsen wrote: > It seems to work for me, and I can't remember touching any > nnimap-relevant code the last few days... It's due to recent changes in `gnus-setup-news'. The attached patch fixes things for me. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnus-start.el-gnus-setup-news-add-back-gnus-read-act.patch Content-Description: 0001-gnus-start.el-gnus-setup-news-add-back-gnus-read-act.patch >From 9a6117fb06879598a9171abe4f21762dffc3eae4 Mon Sep 17 00:00:00 2001 From: Tibor Simko Date: Wed, 15 Dec 2010 02:59:09 +0100 Subject: [PATCH] gnus-start.el (gnus-setup-news): add back gnus-read-active-file parts * Add back parts of code removed in cc7d0e0 related to gnus-read-active-file; this fixes the problem of IMAP client-side splitting that was working fine in my setup up to be87151 but stopped working after 3595cdc. --- lisp/gnus-start.el | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/lisp/gnus-start.el b/lisp/gnus-start.el index d9e4327..194bfc1 100644 --- a/lisp/gnus-start.el +++ b/lisp/gnus-start.el @@ -995,8 +995,17 @@ If LEVEL is non-nil, the news will be set up at level LEVEL." (when (or (null gnus-read-active-file) (eq gnus-read-active-file 'some)) (gnus-update-active-hashtb-from-killed)) + + ;; Read the active file and create `gnus-active-hashtb'. + ;; If `gnus-read-active-file' is nil, then we just create an empty + ;; hash table. The partial filling out of the hash table will be + ;; done in `gnus-get-unread-articles'. + (and gnus-read-active-file + (not level) + (gnus-read-active-file nil dont-connect)) (unless gnus-active-hashtb (setq gnus-active-hashtb (gnus-make-hashtable 4096))) + ;; Initialize the cache. (when gnus-use-cache (gnus-cache-open)) -- 1.7.2.3 --=-=-= Content-Type: text/plain Best regards -- Tibor Simko --=-=-=--