all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Manoj Srivastava <srivasta@ieee.org>
To: emacs-devel@gnu.org
Subject: Gnus broken for directory mail sources
Date: Mon, 28 Apr 2008 03:25:20 -0500	[thread overview]
Message-ID: <87od7ul72n.fsf@anzu.internal.golden-gryphon.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1457 bytes --]

Hi,

        Ever since the following commit:
--8<---------------cut here---------------start------------->8---
Author: Miles Bader <miles@gnu.org>  2008-04-25 23:29:41
Committer: Miles Bader <miles@gnu.org>  2008-04-25 23:29:41
Parent: 35bd017c4df7e8cc77c426163b164795b01390c8 (*** empty log message ***)
Child:  96631e197b8c54cbf8c3ea0fc71f50b2795b9c0d (Merge from emacs--rel--22)
Branches: debian, master, remotes/origin/master, remotes/origin/origin
Follows: merge-multi-tty-to-trunk
Precedes: 

    Merge from gnus--devo--0
    
    Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1128
--8<---------------cut here---------------end--------------->8---

        I can't run gnus with the following setting:

(setq mail-sources 
      '((directory :path "~/var/spool/mail" :suffix ".spool")))

        I get the failure about "void-variable user". I think this is
 related to the change:
--8<---------------cut here---------------start------------->8---
+2008-04-25  Teodor Zlatanov  <tzz@lifelogs.com>
+
+	* 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.
+
--8<---------------cut here---------------end--------------->8---

        For the directory mail source, user name and password do not
 make sense. Reverting emacs to just before that commit allowed things
 to proceed, and for me to send in this bug report.

        manoj


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: back trace of gnus bug --]
[-- Type: text/plain, Size: 778 bytes --]

Debugger entered--Lisp error: (void-variable user)
  (or (auth-source-user-or-password "login" server (quote directory)) user)
  (let ((user ...) (password ...)) (mail-source-run-script prescript (format-spec-make 116 path) prescript-delay) (let (... ...) (dolist ... ...) found))
  (let* ((predicate nil) (suffix nil) (path nil) (postscript nil) (prescript-delay nil) (prescript nil)) (mail-source-set-1 source) (let (... ...) (mail-source-run-script prescript ... prescript-delay) (let ... ... found)))
  (mail-source-bind (directory source) (mail-source-run-script prescript (format-spec-make 116 path) prescript-delay) (let (... ...) (dolist ... ...) found))
  mail-source-fetch-directory((directory :path "~/var/spool/mail" :suffix ".spool") #[(file orig-file) "Ã\bÄÅ	†\x13




             reply	other threads:[~2008-04-28  8:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-28  8:25 Manoj Srivastava [this message]
2008-04-28 16:56 ` Gnus broken for directory mail sources Ted Zlatanov

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=87od7ul72n.fsf@anzu.internal.golden-gryphon.com \
    --to=srivasta@ieee.org \
    --cc=emacs-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.