From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72548 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: More on the new nnimap Date: Mon, 04 Oct 2010 21:48:23 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286221730 30094 80.91.229.12 (4 Oct 2010 19:48:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Oct 2010 19:48:50 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M20920@lists.math.uh.edu Mon Oct 04 21:48:48 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 1P2r1e-0006m0-CQ for ding-account@gmane.org; Mon, 04 Oct 2010 21:48:42 +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 1P2r1a-0000nS-1O; Mon, 04 Oct 2010 14:48:38 -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 1P2r1Y-0000nG-R7 for ding@lists.math.uh.edu; Mon, 04 Oct 2010 14:48:36 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P2r1U-0004FB-Dp for ding@lists.math.uh.edu; Mon, 04 Oct 2010 14:48:36 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P2r1T-0001TL-00 for ; Mon, 04 Oct 2010 21:48:31 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P2r1T-0006jp-Eo for ding@gnus.org; Mon, 04 Oct 2010 21:48:31 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Oct 2010 21:48:31 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Oct 2010 21:48:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 57 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXk4+JEJiB3XVkGAQEf DQmTgX6yoJzKwL0BL3F2AAACcUlEQVQ4jV3TQY+cIBQHcNeEmevCOrvXlVY9b7HttWb4AEoKXB0T n1eWRPz6fehop+Vk8sv7vwdIwqs5Ibk/TwbimhZcLsHFS39OqT9ZrXnOi1WSDYYzoenJqkziYuaA agiEdrySohZC1LLcoVBKsW4CcV916e5R4+yZTw4QdXWPIifCxkUfID7uU5E5vdgk/AXxtkGKUSU8 VIhvG8wkvfTL+ADCbT3SlNn+MUq8rzD79LV38yP82ioIAgzrpHKDH1sP7y9GdyvQbIXvW1Rs7ogQ V9Gw/LqPxd9jVOKIFNeaFmMW5WOHy9ITKa8N59OQ7RCjYkXdyKYcOKjHitfFDkJKWgS8qi97hcep kp4I2bBiurHidocWK6odYKSUb1MVCE8F2DmCgTGX7LruQxvcoI3NI4SRZrj7nxEsIaQN5oZA2eS6 DCue1wrvPyvnnkT8R8D5nL6INoLCHtWkVYSmcKGjL/WSnBHGGazrfDzbulwC59fv8d/SdgwLAM+F kFlTTJ+0eHlbQatCWdPnGKXoBYFl62+q27ScjcYjqZuwwWVZwXj1ZvokRQCEG2V2g5Z8PpspgmQI HV0LIpz8szaTxx5NXkDO7R1sGN+xeayQlClu4KiY+l7jcFrjaeV81Ph4AsQexpgpLwG6rFEN11xD AIhRfetchEw2Gd4J5/E5xqjWgsbvIT41SbnC641g5qp13JgDOGUr2LmyMLkz3FZoKKV4YVtUe54x 6/cBFG8ynm5ZaOgX+PoAy7hVALaA9Z1jkwOCtUuywHgH2cgtqiX9FII56x3kDvNkTokNSj6CSsZ2 BpihDN3/YIdRD4s9/QOg/gDqpxI3DezJBAAAAABJRU5ErkJggg== Mail-Copies-To: never X-Now-Playing: Islaja's _Keraaminen =?iso-8859-1?Q?p=E4=E4=5F=3A_=22Pimeyt?= =?iso-8859-1?Q?t=E4?= kohti" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:YZzm4UVAvhBp3ULyMZQaO74oGgw= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72548 Archived-At: James Cloos writes: > LMI> What is your gnus-subscribe-newsgroup-method exactly? > > (add-hook 'gnus-startup-hook > '(lambda () > (setq gnus-subscribe-newsgroup-method > '(lambda (newsgroup) > (if (string-match "^nn.+:" newsgroup) > (gnus-subscribe-alphabetically newsgroup)))))) > > The format must have come from a suggestion either here, in the manual > or on one of the other emacs lists. It goes back too many years to remember. Right. That should work. Does `F' subscribe you to new nnimap groups, or do you never see new nnimap groups? > Oh. Figured it out. You have: > > (defun nnimap-open-shell-stream (name buffer host port) > (let ((process-connection-type nil)) > ... > > process-connection-type has to be t or pty to use a pty. The ChangeLog message for this is: (nnimap-open-shell-stream): Bind `process-connection-type' to nil, so that CRLF doesn't get translated to \n. So binding it to nil fixes a real bug. Is there no way to get rid of stderr without using a pty? > Creating the group, though, is to allow gnus access. The create group command is really meant to create the group on the backend. You can subscribe groups in Gnus, but if this has worked before, it was probably an accident. All the other backends create groups in response to that command. So you'll have to adjust your code to have Gnus subscribe the group instead of calling out `*-request-create-group' to the backend. > LMI> Why is `F' slow? Which backends take long to respond? > > Getting the list of groups over imap takes minutes. Even tens of > minutes. Doing a single sql query to get the new groups taks less > than 10 ms, according to explain analyze. You use IMAP as the interface to a SQL-based mail storage? Anyway, for nnimap `F' just issues a LIST command. Does a LIST in your setup take minutes? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen