From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86033 Path: news.gmane.org!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH 0/2] two minor fixes for new/empty nnimap group handling Date: Mon, 06 Jul 2015 11:32:50 -0400 Message-ID: <87y4itti71.fsf@uwo.ca> References: <1435750676-710-1-git-send-email-bjorn@mork.no> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1436196815 32468 80.91.229.3 (6 Jul 2015 15:33:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Jul 2015 15:33:35 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34268@lists.math.uh.edu Mon Jul 06 17:33:22 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZC8OW-0000MF-Ox for ding-account@gmane.org; Mon, 06 Jul 2015 17:33:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.84) (envelope-from ) id 1ZC8OG-00050a-T9; Mon, 06 Jul 2015 10:33:04 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1ZC8OE-000509-W5 for ding@lists.math.uh.edu; Mon, 06 Jul 2015 10:33:03 -0500 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.84) (envelope-from ) id 1ZC8OD-0007vh-FM for ding@lists.math.uh.edu; Mon, 06 Jul 2015 10:33:02 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1ZC8OC-0006t1-3d for ding@gnus.org; Mon, 06 Jul 2015 17:33:00 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZC8OA-00005K-99 for ding@gnus.org; Mon, 06 Jul 2015 17:32:58 +0200 Original-Received: from cpe84948c589861-cm84948c589860.cpe.net.cable.rogers.com ([99.255.115.45]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Jul 2015 17:32:58 +0200 Original-Received: from jdc by cpe84948c589861-cm84948c589860.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Jul 2015 17:32:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpe84948c589861-cm84948c589860.cpe.net.cable.rogers.com User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.3 (gnu/linux) Mail-Copies-To: never Cancel-Lock: sha1:Gh6z459umthKo+7mjU0oUsbZm+0= X-Spam-Score: -3.6 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86033 Archived-At: Bjørn Mork writes: > The recent nnimap speedups introduced a couple of regressions wrt > new and empty nnimap groups. This prevents Gnus from creating new > IMAP groups. > > These two patches fix the problems for me, but are created in the > way I usually do lisp: by mindless trial and error until emacs > stops complaining. I.e., there might be much better ways to fix > this... I tried these two one-line patches, and they allowed me to use nnmairix again, although it wasn't smooth. The way nnmairix works is that it gets mairix to put the search results in a group on another backend (nnimap in my case). This group is *not* subscribed or accessed directly by the user. Instead, the nnmairix backend has a virtual group which shows the messages in the unsubscribed nnimap group. To get this to work, I needed to subscribe to the (usually hidden) nnimap group containing the search results and enter it once. Then the search results were visible in the nnmairix virtual group. So something is still slightly broken, but at least this patch provides an improvement. Dan