From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66897 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.gnus.general Subject: Re: Error in `mail-source-bind' when fetching mail Date: Mon, 28 Apr 2008 12:28:13 +0200 Organization: Linux Private Site Message-ID: References: <874p9pqhnj.fsf@ID-24456.user.uni-berlin.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1209378534 24047 80.91.229.12 (28 Apr 2008 10:28:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2008 10:28:54 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15378@lists.math.uh.edu Mon Apr 28 12:29:30 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 1JqQby-000811-5S for ding-account@gmane.org; Mon, 28 Apr 2008 12:29:30 +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 1JqQb2-0003oi-L9; Mon, 28 Apr 2008 05:28: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 1JqQb1-0003oS-DL for ding@lists.math.uh.edu; Mon, 28 Apr 2008 05:28:31 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JqQav-0002eb-En for ding@lists.math.uh.edu; Mon, 28 Apr 2008 05:28:31 -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 1JqQb7-0002y8-00 for ; Mon, 28 Apr 2008 12:28:37 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JqQau-0007kK-U1 for ding@gnus.org; Mon, 28 Apr 2008 10:28:24 +0000 Original-Received: from dsl01.83.171.156.77.ip-pool.nefkom.net ([83.171.156.77]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Apr 2008 10:28:24 +0000 Original-Received: from schwab by dsl01.83.171.156.77.ip-pool.nefkom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Apr 2008 10:28:24 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dsl01.83.171.156.77.ip-pool.nefkom.net X-Yow: It's OKAY --- I'm an INTELLECTUAL, too. User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:3Ud9L3YoblT1VMaUkHNPkkMGkIQ= X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66897 Archived-At: 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). The use of unintern is broken. You want makunbound instead. Andreas. 2008-04-28 Andreas Schwab * mail-source.el (mail-source-bind): Use makunbound instead of unintern. --- lisp/mail-source.el.~7.35.~ 2008-04-28 11:49:11.000000000 +0200 +++ lisp/mail-source.el 2008-04-28 12:21:22.000000000 +0200 @@ -466,9 +466,9 @@ the `mail-source-keyword-map' variable." ',(car type-source)) (when (boundp 'password) (symbol-value 'password))))) (unless user - (unintern 'user)) + (makunbound 'user)) (unless password - (unintern 'password)) + (makunbound 'password)) ,@body))) (put 'mail-source-bind 'lisp-indent-function 1) -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."