From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72783 Path: news.gmane.org!not-for-mail From: James Cloos Newsgroups: gmane.emacs.gnus.general Subject: Re: More on the new nnimap Date: Fri, 08 Oct 2010 11:47:13 -0400 Message-ID: References: <877hhwti21.fsf@uwo.ca> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286552984 22190 80.91.229.12 (8 Oct 2010 15:49:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Oct 2010 15:49:44 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21155@lists.math.uh.edu Fri Oct 08 17:49:42 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 1P4FCW-00008T-4b for ding-account@gmane.org; Fri, 08 Oct 2010 17:49:40 +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 1P4FCO-00063t-H6; Fri, 08 Oct 2010 10:49:32 -0500 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 1P4FCN-00063d-7D for ding@lists.math.uh.edu; Fri, 08 Oct 2010 10:49:31 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P4FCJ-0000wS-4S for ding@lists.math.uh.edu; Fri, 08 Oct 2010 10:49:31 -0500 Original-Received: from eagle.jhcloos.com ([207.210.242.212]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P4FCI-0007Hp-00 for ; Fri, 08 Oct 2010 17:49:26 +0200 Original-Received: by eagle.jhcloos.com (Postfix, from userid 10) id 3F107400E5; Fri, 8 Oct 2010 15:49:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=eagle; t=1286552965; bh=f8bJ/nq8CasF/gzRaiwzIAHi9ewjg+ykH+nHm/bcZrw=; h=From:To:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=MCoHVubPfOqGWAL77oU++g/X1GV7w+orpbqKsVEmFAKRHecoesucqxRwicVVvJHnx SJBkfHJnafONZtl6yhRVD6ReW5rWWJSOSdexln3x3QF7WKV3hYH38BKz6+ROebGCDI 6IiwglfFmW/skh6NgILdXrbEvxoVynOKG4+l0/K4= Original-Received: from carbon.jhcloos.org (localhost [127.0.0.1]) by carbon.jhcloos.org (Postfix) with ESMTP id 7E6781DD148 for ; Fri, 8 Oct 2010 15:47:13 +0000 (UTC) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Thu, 07 Oct 2010 21:11:33 +0200") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAI1J REFUOE+lU9ESgCAIg64P1y+ngUdxhl5H8wFbbM0OmUiEhKkCYaZThXCo6KE5sCbA1DDX3genvO4d eBQgEMaM5qy6uWk4SfBYfdu9jvBN9nSVDOKRtwb+I3epboOsOX5pZbJNsBJFvmQQ05YMfieIBnYX FK2N6dOawd97r/e8RjkTLzmMsiVgrAoEugtviCM3v2WzjgAAAABJRU5ErkJggg== Copyright: Copyright 2009 James Cloos OpenPGP: ED7DAEA6; url=http://jhcloos.com/public_key/0xED7DAEA6.asc OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 Original-Lines: 24 X-Hashcash: 1:30:101008:ding@gnus.org::unUzwRl0u1JA4gG1:000fB4x5 X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72783 Archived-At: >>>>> "LMI" == Lars Magne Ingebrigtsen writes: LMI> Dan Christensen writes: >> Could that "possibly" be the issue here? The original post said "it >> should not be an error if the group already exists on the server." I >> agree that that shouldn't be an error. LMI> I don't know... if you ask Gnus to create a group on the server, it LMI> should give an error if that isn't possible. The other backends seem to all just accept that it already exists and subscribe to it. Since the function looks like: (deffoo nnimap-request-create-group (group &optional server args) (when (nnimap-possibly-change-group nil server) (with-current-buffer (nnimap-buffer) (car (nnimap-command "CREATE %S" (utf7-encode group t)))))) How about passing group rather than nil to (nnimap-possibly-change-group), returning if it exists and only creating if it does not? -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6