From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66898 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Error in `mail-source-bind' when fetching mail Date: Mon, 28 Apr 2008 11:53:32 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <86d4o9udir.fsf@lifelogs.com> References: <874p9pqhnj.fsf@ID-24456.user.uni-berlin.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1209401521 16345 80.91.229.12 (28 Apr 2008 16:52:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2008 16:52:01 +0000 (UTC) Cc: ding@gnus.org To: Andreas Schwab Original-X-From: ding-owner+M15379@lists.math.uh.edu Mon Apr 28 18:52:37 2008 connect(): Connection refused 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.50) id 1JqWaZ-0003GE-8T for ding-account@gmane.org; Mon, 28 Apr 2008 18:52:27 +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 1JqWZG-00060n-8I; Mon, 28 Apr 2008 11:51:06 -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 1JqWZE-00060Q-Mm for ding@lists.math.uh.edu; Mon, 28 Apr 2008 11:51:04 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JqWZ8-0005Sz-Lq for ding@lists.math.uh.edu; Mon, 28 Apr 2008 11:51:04 -0500 Original-Received: from mail.blockstar.com ([170.224.69.95]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JqWZK-0000aT-00 for ; Mon, 28 Apr 2008 18:51:10 +0200 Original-Received: from tzlatanov-ubuntu-desktop.jumptrading.com (unknown [38.98.147.130]) by mail.blockstar.com (Postfix) with ESMTP id 906453F8369; Mon, 28 Apr 2008 10:00:54 -0700 (PDT) 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" X-Hashcash: 1:20:080428:schwab@suse.de::tr2fxhGaz6vO912l:0000GSs X-Hashcash: 1:20:080428:ding@gnus.org::KY/m73yGZe/qpx9C:000056y4 In-Reply-To: (Andreas Schwab's message of "Mon, 28 Apr 2008 12:28:13 +0200") User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.60 (gnu/linux) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66898 Archived-At: On Mon, 28 Apr 2008 12:28:13 +0200 Andreas Schwab wrote: AS> Ted Zlatanov writes: >> I made a fix that should do the right thing; it may be >> better to do it with macro facilities but I wanted to get the fix out >> ASAP and I did it the simplest way possible (with boundp, symbol-value, >> and unintern). AS> The use of unintern is broken. You want makunbound instead. Thanks. I moved the code out of the macro altogether, I didn't think it was clear anyhow, and it was much harder to debug. The restructured version is much cleaner IMO, and only calls the auth-source functions if the keywords actually show up. Please let me know if you find other problems or issues. As an aside, I kept making fixes and re-evaluating the defmacro but it wouldn't take effect. I guess I don't know defmacro well enough, but I didn't expect that from the documentation (I usually only use the backquote macros). It was a bit annoying until I finally realized what was happening. Ted