Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: Christoph Conrad <christoph.conrad@gmx.de>
Cc: ding@gnus.org, bugs@gnus.org, Teodor Zlatanov <tzz@lifelogs.com>
Subject: Re: Error in `mail-source-bind' when fetching mail
Date: Fri, 20 Feb 2009 13:11:11 +0100	[thread overview]
Message-ID: <87hc2p9ulc.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <874p9pqhnj.fsf@ID-24456.user.uni-berlin.de> (Christoph Conrad's message of "Sat, 26 Apr 2008 07:52:26 +0200")

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
>
> => Mail source (file :path /var/spool/mail/cc :plugged t) error (user).  Continue? (y or n) 
>
> 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 (format-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 prescript ... prescript-delay) (let ... ...)))
>   (mail-source-bind (file source) (mail-source-run-script prescript (format-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) "Ã\bÄÅ	†.\0\b\nš?….\0Æ\nÇ\"È%‡" [file in-group orig-file nnmail-split-incoming nnml-save-mail nil nnmail-get-split-group (file :path "/var/spool/mail/cc" :plugged t) nnml-active-number] 7])
>   mail-source-fetch((file :path "/var/spool/mail/cc" :plugged t) #[(file orig-file) "Ã\bÄÅ	†.\0\b\nš?….\0Æ\nÇ\"È%‡" [file in-group orig-file nnmail-split-incoming nnml-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)



      parent reply	other threads:[~2009-02-20 12:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <874p9pqhnj.fsf@ID-24456.user.uni-berlin.de>
2008-04-26 12:45 ` Ted Zlatanov
2008-04-26 16:43   ` Christoph Conrad
2008-04-28 10:11   ` Andreas Schwab
2008-04-28 10:28   ` Andreas Schwab
2008-04-28 16:53     ` Ted Zlatanov
2008-04-29  3:26       ` Cezar Halmagean
2008-04-30 14:30         ` Ted Zlatanov
2009-02-20 12:11 ` Reiner Steib [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hc2p9ulc.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=bugs@gnus.org \
    --cc=christoph.conrad@gmx.de \
    --cc=ding@gnus.org \
    --cc=tzz@lifelogs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).