From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68319 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: Error in `mail-source-bind' when fetching mail Date: Fri, 20 Feb 2009 13:11:11 +0100 Message-ID: <87hc2p9ulc.fsf@marauder.physik.uni-ulm.de> References: <874p9pqhnj.fsf@ID-24456.user.uni-berlin.de> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1235152274 4695 80.91.229.12 (20 Feb 2009 17:51:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Feb 2009 17:51:14 +0000 (UTC) Cc: ding@gnus.org, bugs@gnus.org, Teodor Zlatanov To: Christoph Conrad Original-X-From: ding-owner+M16761@lists.math.uh.edu Fri Feb 20 18:52:29 2009 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 1LaZY3-00079b-Ko for ding-account@gmane.org; Fri, 20 Feb 2009 18:52:28 +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 1LaZWP-0004St-FI; Fri, 20 Feb 2009 11:50:45 -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 1LaZWN-0004Sb-V6 for ding@lists.math.uh.edu; Fri, 20 Feb 2009 11:50:43 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LaZWL-0006KN-24 for ding@lists.math.uh.edu; Fri, 20 Feb 2009 11:50:43 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LaZWf-0007vO-00; Fri, 20 Feb 2009 18:51:01 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.175]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id n1KHoZNj022265; Fri, 20 Feb 2009 18:50:35 +0100 (MET) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 059591CA46; Fri, 20 Feb 2009 18:50:34 +0100 (CET) X-Face: /U7=m^"/-Dn61mAl{g9e3>\G5Tp,oEX|V)g2I1hBk\ML;)7A?6cmB-y7y?'NA^J<=oz7syB =(McAwIHgLX!.B?R3X}98d@?>CrT094KLWh]WU4gDpnL/")MS(XoQTv`Oq225uL>+;CpPXo$N5e>N> $tPd-gbB^F{gQS#1ase]XO~D4p4M"3+F-7~u]dy3I?Pb8RO*H-EFeWDUf?Rf,d]pv\Jvh2Cht!A=im yKAS2Z%Ao^;}W/qzMvMm Mail-Followup-To: Christoph Conrad , ding@gnus.org, bugs@gnus.org, Teodor Zlatanov In-Reply-To: <874p9pqhnj.fsf@ID-24456.user.uni-berlin.de> (Christoph Conrad's message of "Sat, 26 Apr 2008 07:52:26 +0200") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) X-DCC-HP_X86_64_4CPU-Metrics: poseidon 1245; Body=4 Fuz1=4 Fuz2=4 X-Virus-Scanned: by amavisd-new X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68319 Archived-At: Hi Ted, has this been fixed? If not, could you look into this, please? Bye, Reiner. On Sat, Apr 26 2008, Christoph Conrad wrote: > No Gnus v0.9 > GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, GTK+ Version 2.12.9) > of 2008-04-24 on brabbelbox > 200 news.gmane.org InterNetNews NNRP server INN 2.4.1 ready (posting ok). > > mail-source-fetch-file -> mail-source-bind > > =3D> Mail source (file :path /var/spool/mail/cc :plugged t) error (user).= Continue? (y or n)=20 > > Backtrace see below. Obviously "user" and "password" in the let form in > mail-source-bind can not determine the values with > auth-source-user-or-password and try to use the variables user and > password. This variables are not defined in that scope. > > My workaround is setting: > > (let ((user (or > (auth-source-user-or-password > "login" > server ; this is "host" in auth-sources > ',(car type-source)) > "")) ;; -cco-, was: user > (password (or > (auth-source-user-or-password > "password" > server ; this is "host" in auth-sources > ',(car type-source)) > ""))) ;; -cco-, was: password > > Then fetching mail works for me again, but it's clearly a workaround. > > The suspected change is: > > date: 2008/04/25 18:42:18; author: tzz; state: Exp; lines: +24 -4 > * mail-source.el: Load auth-source.el. > (mail-source-bind): Add comments. Call auth-source-user-or-password to > get user name or password, if auth-sources is set up. > > With kind regards, > Christoph > > Debugger entered--Lisp error: (void-variable user) > (or (auth-source-user-or-password "login" server 'file) user) > (let ((user ...) (password ...)) (mail-source-run-script prescript (for= mat-spec-make 116 mail-source-crash-box) prescript-delay) (let (...) (if ..= . ... 0))) > (let* ((path nil) (postscript nil) (prescript-delay nil) (prescript nil= )) (mail-source-set-1 source) (let (... ...) (mail-source-run-script prescr= ipt ... prescript-delay) (let ... ...))) > (mail-source-bind (file source) (mail-source-run-script prescript (form= at-spec-make 116 mail-source-crash-box) prescript-delay) (let (...) (if ...= ... 0))) > mail-source-fetch-file((file :path "/var/spool/mail/cc" :plugged t) #[(= file orig-file) "=C3=83=C3=84=C3=85 =E2=80=A0.=00\n=C5=A1?=E2=80=A6.=00= =C3=86\n=C3=87\"=C3=88%=E2=80=A1" [file in-group orig-file nnmail-split-inc= oming nnml-save-mail nil nnmail-get-split-group (file :path "/var/spool/mai= l/cc" :plugged t) nnml-active-number] 7]) > mail-source-fetch((file :path "/var/spool/mail/cc" :plugged t) #[(file = orig-file) "=C3=83=C3=84=C3=85 =E2=80=A0.=00\n=C5=A1?=E2=80=A6.=00=C3=86\= n=C3=87\"=C3=88%=E2=80=A1" [file in-group orig-file nnmail-split-incoming n= nml-save-mail nil nnmail-get-split-group (file :path "/var/spool/mail/cc" := plugged t) nnml-active-number] 7]) > nnmail-get-new-mail-1(nnml nnml-save-nov "~/Mail/" "Incoming" nil nil) > nnmail-get-new-mail(nnml nnml-save-nov "~/Mail/" "Incoming") > nnml-request-scan("Incoming" "") > gnus-request-scan("Incoming" (nnml "")) > gnus-activate-group("Incoming" scan nil (nnml "")) > gnus-group-get-new-news-this-group(nil) > gnus-topic-get-new-news-this-topic(nil) > call-interactively(gnus-topic-get-new-news-this-topic nil nil)