GNU bug report logs - #9298
23.3.50; Warning: defvar ignored because auth-source-creation-prompts is let-bound

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Sun, 14 Aug 2011 02:56:02 UTC

Severity: normal

Tags: fixed

Found in version 23.3.50

Fixed in version 24.1

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9298 in the body.
You can then email your comments to 9298 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, larsi <at> gnus.org, bug-gnu-emacs <at> gnu.org:
bug#9298; Package emacs. (Sun, 14 Aug 2011 02:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo <sdl.web <at> gmail.com>:
New bug report received and forwarded. Copy sent to larsi <at> gnus.org, bug-gnu-emacs <at> gnu.org. (Sun, 14 Aug 2011 02:56:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.3.50;
	Warning: defvar ignored because auth-source-creation-prompts is
	let-bound
Date: Sun, 14 Aug 2011 10:53:38 +0800
In smtpmail-try-auth-methods from smtpmail.el,
auth-source-creation-prompts is let-bound while `auth-source-search'
triggers loading auth-source.el. This results in void variable
auth-source-creation-prompts.

Looks like autoload is not suitable for use in this case. Maybe just
(require 'auth-source) in the beginning of smtpmail-try-auth-methods.

Debugger entered--Lisp error: (void-variable auth-source-creation-prompts)
  eval(auth-source-creation-prompts)
  ad-Orig-eval-expression(auth-source-creation-prompts nil)
  (setq ad-return-value (ad-Orig-eval-expression eval-expression-arg eval-expression-insert-value))
  (let (ad-return-value) (setq ad-return-value (ad-Orig-eval-expression eval-expression-arg eval-expression-insert-value)) ad-return-value)
  eval-expression(auth-source-creation-prompts nil)
  call-interactively(eval-expression nil nil)

Leo




Added tag(s) fixed. Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 17 Aug 2011 22:02:01 GMT) Full text and rfc822 format available.

bug marked as fixed in version 24.1, send any further explanations to 9298 <at> debbugs.gnu.org and Leo <sdl.web <at> gmail.com> Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 17 Aug 2011 22:02:02 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9298; Package emacs. (Wed, 17 Aug 2011 22:03:02 GMT) Full text and rfc822 format available.

Message #12 received at 9298 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Leo <sdl.web <at> gmail.com>
Cc: 9298 <at> debbugs.gnu.org
Subject: Re: 23.3.50;
	Warning: defvar ignored because auth-source-creation-prompts is
	let-bound
Date: Wed, 17 Aug 2011 23:59:10 +0200
Leo <sdl.web <at> gmail.com> writes:

> In smtpmail-try-auth-methods from smtpmail.el,
> auth-source-creation-prompts is let-bound while `auth-source-search'
> triggers loading auth-source.el. This results in void variable
> auth-source-creation-prompts.

This should now be fixed in bzr Emacs.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 15 Sep 2011 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 248 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.