From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60138 Path: news.gmane.org!not-for-mail From: Seth Falcon Newsgroups: gmane.emacs.gnus.general Subject: Question on group arg passed to nnmail-expiry-target Date: Sun, 10 Apr 2005 14:24:41 -0700 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1113168394 21128 80.91.229.2 (10 Apr 2005 21:26:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Apr 2005 21:26:34 +0000 (UTC) Original-X-From: ding-owner+M8665@lists.math.uh.edu Sun Apr 10 23:26:33 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DKjw6-0007X8-8I for ding-account@gmane.org; Sun, 10 Apr 2005 23:25:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1DKjvx-0000Nz-00; Sun, 10 Apr 2005 16:25:33 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DKjvp-0000Nt-00 for ding@lists.math.uh.edu; Sun, 10 Apr 2005 16:25:25 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DKjvn-0001iE-U6 for ding@lists.math.uh.edu; Sun, 10 Apr 2005 16:25:24 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1DKjvm-0007QO-00 for ; Sun, 10 Apr 2005 23:25:22 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DKjsi-00072a-OE for ding@gnus.org; Sun, 10 Apr 2005 23:22:12 +0200 Original-Received: from c-67-171-24-140.hsd1.wa.comcast.net ([67.171.24.140]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Apr 2005 23:22:12 +0200 Original-Received: from sethfalcon by c-67-171-24-140.hsd1.wa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Apr 2005 23:22:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 38 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-171-24-140.hsd1.wa.comcast.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (darwin) Cancel-Lock: sha1:s+VQWEetFVfSmBmunwcVDUgYHyE= X-Spam-Score: -4.8 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60138 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60138 The help for nnmail-expiry-target says that when this variable contains a function, it will be passed a single argument containing the group name. I find that it only passes the "display" group name (I'm sure that isn't the right term). But an example will make clear what I mean: When I'm in group nnimap+localhost:INBOX, I get group == INBOX. Since I connect to more than one imap server, I'm unable to use the group argument to distinguish the two :-( I've found that I can get what I want with gnus-newsgroup-name and just ignore the group argument in my expiry target chooser function. But I suspect that I'm missing something, as that would seem to be the point of passing the group arg? Is this the intended behavior? Am I missing another setting? On a somewhat related note: I'm using nnmail-fancy-expiry-target and have the targets going to imap backend groups. It seems to be working, but when a new imap group is created, I can't access it until I restart gnus. When I try to get there from the *Server* buffer, I get a message like: Opening nnimap server on localhost-ephemeral... Denied server Opening nnimap server on localhost-ephemeral...failed gnus-group-read-ephemeral-group: Unable to contact server: nil I'm using No Gnus v0.3, Emacs 21.3.50.1, OS X, dovecot IMAP server. Thanks for any pointers. Best, + seth