From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76822 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: bug#8050: Gnus does not connect to my IMAP server any more Date: Wed, 16 Feb 2011 12:29:08 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <874o836dfv.fsf@lifelogs.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297880982 5850 80.91.229.12 (16 Feb 2011 18:29:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 Feb 2011 18:29:42 +0000 (UTC) Cc: Ding Mailing List Original-X-From: ding-owner+M25161@lists.math.uh.edu Wed Feb 16 19:29:38 2011 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 1Ppm89-0005U7-T2 for ding-account@gmane.org; Wed, 16 Feb 2011 19:29:38 +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 1Ppm7u-0000DG-IQ; Wed, 16 Feb 2011 12:29:22 -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 1Ppm7s-0000Cv-UY for ding@lists.math.uh.edu; Wed, 16 Feb 2011 12:29:20 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Ppm7p-0001kx-Ut for ding@lists.math.uh.edu; Wed, 16 Feb 2011 12:29:18 -0600 Original-Received: from chirelay1o.jumptrading.com ([38.98.147.153] helo=chirelay1.jumptrading.com) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Ppm7o-0006dK-Sa for ding@gnus.org; Wed, 16 Feb 2011 19:29:17 +0100 Original-Received: from chirelay1.jumptrading.com (unknown [127.0.0.1]) by chirelay1.jumptrading.com (Symantec Mail Security) with ESMTP id 8170A32003F for ; Wed, 16 Feb 2011 12:29:10 -0600 (CST) X-AuditID: 26629395-9b325bb0000052d3-24-4d5c1776aa4d Original-Received: from chiexchange02.w2k.jumptrading.com (unknown [38.98.147.140]) by chirelay1.jumptrading.com (Symantec Mail Security) with ESMTP id 437612DC005 for ; Wed, 16 Feb 2011 12:29:10 -0600 (CST) Original-Received: from internalsmtp.w2k.jumptrading.com (10.2.4.29) by chiexchange02.w2k.jumptrading.com (10.2.4.71) with Microsoft SMTP Server id 8.1.291.1; Wed, 16 Feb 2011 12:29:09 -0600 Original-Received: from tzlatanov-ubuntu-desktop.jumptrading.com ([10.2.14.81]) by internalsmtp.w2k.jumptrading.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 16 Feb 2011 12:29:09 -0600 Original-Newsgroups: gnu.emacs.bug X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:MjbjBf82ys59SwTrXp+7AOPx78M= In-Reply-To: (Stefan Monnier's message of "Tue, 15 Feb 2011 20:54:32 -0500") Posted-To: gnu.emacs.bug X-OriginalArrivalTime: 16 Feb 2011 18:29:09.0879 (UTC) FILETIME=[6706E870:01CBCE07] X-Brightmail-Tracker: AAAAAA== X-Spam-Score: -0.9 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76822 Archived-At: The following message is a courtesy copy of an article that has been posted to gnu.emacs.bug as well. On Tue, 15 Feb 2011 20:54:32 -0500 Stefan Monnier wrote: SM> When I start Gnus, it seems to try and connect to my IMAP server but SM> never asks for my password (which I don't save in authinfo.gpg). SM> In just ends up saying "done", but the *Server* buffer says "offline". SM> If I try to use O in the *Server* buffer, it switches instantly to SM> "opened" but if I try to do anything that involves the IMAP server, SM> I get (wrong-type-argument arrayp nil) errors because nnimap-object SM> is nil. I think this is fixed in the Gnus trunk as far as the auth-source credentials go (Lars will have to fix the nnimap code failure on empty credentials). Now auth-source-search with :create t and :type 'netrc will ask for all the missing data. If the user doesn't want to add the netrc entry, it will still work (until the password-cache times out). I have two usability questions (cross-posting to the Gnus mailing list): 1) should we have a global override to say "never add netrc entries", or should the prompt be Y/N/y/n instead of just y-or-n-p, or should the save question be asked only once per file, or something else? 2) should auth-source let-bind the password-cache timeout to something larger? The default is pretty short and for auth-source I think at least 30 minutes are reasonable. It could be a customizable integer. Thanks Ted