all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Gnus broken for directory mail sources
@ 2008-04-28  8:25 Manoj Srivastava
  2008-04-28 16:56 ` Ted Zlatanov
  0 siblings, 1 reply; 2+ messages in thread
From: Manoj Srivastava @ 2008-04-28  8:25 UTC (permalink / raw)
  To: emacs-devel

[-- 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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Gnus broken for directory mail sources
  2008-04-28  8:25 Gnus broken for directory mail sources Manoj Srivastava
@ 2008-04-28 16:56 ` Ted Zlatanov
  0 siblings, 0 replies; 2+ messages in thread
From: Ted Zlatanov @ 2008-04-28 16:56 UTC (permalink / raw)
  To: emacs-devel; +Cc: Gnus Bug Central, Ding Mailing List

On Mon, 28 Apr 2008 03:25:20 -0500 Manoj Srivastava <srivasta@ieee.org> wrote: 

MS>         I can't run gnus with the following setting:

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

MS>         I get the failure about "void-variable user". I think this is
MS>  related to the change:
MS> +2008-04-25  Teodor Zlatanov  <tzz@lifelogs.com>
MS> +
MS> +	* mail-source.el: Load auth-source.el.
MS> +	(mail-source-bind): Add comments.  Call auth-source-user-or-password to
MS> +	get user name or password, if auth-sources is set up.
MS> +

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

This is fixed in Gnus CVS and will make its way to Emacs CVS.  Make sure
you have the commit from 2008-04-28, the earlier fix from 2008-04-26 was
still not right.  Sorry for the inconvenience, and let me know if it
fixed the problem for you.

Ted





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-28 16:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-28  8:25 Gnus broken for directory mail sources Manoj Srivastava
2008-04-28 16:56 ` Ted Zlatanov

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.