all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* void variable
@ 2004-07-25  6:32 Lars Hansen
  2004-07-25  7:56 ` Adrian Aichner
                   ` (2 more replies)
  0 siblings, 3 replies; 50+ messages in thread
From: Lars Hansen @ 2004-07-25  6:32 UTC (permalink / raw)


Assume that you on the load path have a file foo.el containing the line

  (defvar foo 'x)

If you evaluate

  (let ((foo 'y)) (load "foo.el"))
  foo

you get

  Symbol's value as variable is void: foo

Observe that the loading may very well be implicit like in

  (let ((foo 'y)) (bar))

where bar could be an autoloaded function in foo.el or even in another 
module requiring foo.el.
This behavior is not new. It works like that in Emacs 21.2 and Emacs 20.7.

Is the behavior a bug that should be fixed, or is it OK but should be 
documented? Or is it documented already?

^ permalink raw reply	[flat|nested] 50+ messages in thread
* void variable
@ 2008-04-17 19:54 J. David Boyd
  2008-04-18  8:03 ` Carsten Dominik
  0 siblings, 1 reply; 50+ messages in thread
From: J. David Boyd @ 2008-04-17 19:54 UTC (permalink / raw)
  To: emacs-orgmode


Whenever I try to publish an org file (ver 6.01a), I now get the error

Symbol's value as variable is void: add-to-diary-list

I can see the function being created in org-agenda, but I don't understand why the error msg references it a sa variable.


Here is the debug list.  Any ideas?


Debugger entered--Lisp error: (void-variable add-to-diary-list)
  byte-code("ÆÇ!ˆÈ\bÉÊ	\n\v\f\r\x0e\x17&\x06#ˆÈ\x0e\x18ËÊ #ˆÈ\x0e\x19ÌÃ\x0e\n!#ˆÈ\x0e\x1aÍÃ\x0e\n!#ˆÈ\x0e^[ÎÊ #ˆÈ\x0e\x1cÏÃ\x0e\n!#ˆÈ\x0e\x1dÐÃ\x0e\n!#ˆÈ\x0e\x1eÐÃ\x0e\n!#ˆÈ\x0e\x1fÑÃ\x0e\n!#ˆÈ\x0e ÒÊ #ˆÈ\x0e!ÓÃ\x0e\n!#ˆÈ\x0e\"ÔÃ\x0e\n!#ˆÈ\x0e#ËÃ\x0e\n!#ˆÈ\x0e$ËÃ\x0e\n!#ˆÈ\x0e%ÌÃ\x0e\n!#ˆÈ\x0e&ÕÃ\x0e\n!#ˆÈ\x0e'ÖÃ\x0e\n!#‡" [add-to-diary-list string specifier &optional marker globcolor require org declare-function "diary-lib" date "cal-iso" "cal-julian" "cal-bahai" "holidays" "cal-china" "cal-coptic" "cal-french" "cal-move" "cal-hebrew" "cal-islam" "cal-mayan" "cal-persia" literal calendar-absolute-from-iso calendar-astro-date-string calendar-bahai-date-string calendar-check-holidays calendar-chinese-date-string calendar-coptic-date-string calendar-ethiopic-date-string calendar-french-date-string calendar-goto-date calendar-hebrew-date-string calendar-islamic-date-string calendar-iso-date-string calendar-iso-from-absolute calendar-julian-date-string calendar-mayan-date-string calendar-persian-date-string] 10)
  require(org-agenda)
  eval-buffer(#<buffer  *load*> nil "/home/Dave/.emacs.d/org/lisp/org-exp.el" nil t)  ; Reading at buffer position 1196
  load-with-code-conversion("/home/Dave/.emacs.d/org/lisp/org-exp.el" "/home/Dave/.emacs.d/org/lisp/org-exp.el" nil nil)

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

end of thread, other threads:[~2008-04-18 15:02 UTC | newest]

Thread overview: 50+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-25  6:32 void variable Lars Hansen
2004-07-25  7:56 ` Adrian Aichner
2004-07-25 19:25 ` Lars Hansen
2004-07-25 20:46   ` Luc Teirlinck
2004-07-25 21:54     ` Lars Hansen
2004-07-25 23:39       ` Luc Teirlinck
2004-07-25 23:54         ` Luc Teirlinck
2004-07-26  1:52       ` Luc Teirlinck
2004-07-26  2:13         ` Luc Teirlinck
2004-07-26 14:30           ` Richard Stallman
2004-07-26 15:12             ` Lars Hansen
2004-07-27 18:18               ` Richard Stallman
2004-07-29  2:31                 ` Luc Teirlinck
2004-07-29  7:19                   ` Lars Hansen
2004-07-30  3:21                     ` Luc Teirlinck
2004-07-30  6:56                       ` Lars Hansen
2004-07-30  4:55                   ` Richard Stallman
2004-07-26 15:21             ` Luc Teirlinck
2004-07-27 18:18               ` Richard Stallman
2004-07-26 16:05             ` Kai Grossjohann
2004-07-26 18:40               ` Lars Hansen
2004-07-27 18:18               ` Richard Stallman
2004-07-26  3:13     ` Richard Stallman
2004-07-26 19:23     ` Stefan Monnier
2004-07-26 19:46       ` Lars Hansen
2004-07-26 19:46       ` David Kastrup
2004-07-26 20:41       ` Luc Teirlinck
2004-07-26 21:13         ` Stefan Monnier
2004-07-27  2:59           ` Luc Teirlinck
2004-07-27  3:07           ` Luc Teirlinck
2004-07-27  3:09           ` Luc Teirlinck
2004-07-28 16:00         ` Richard Stallman
2004-07-29  2:00           ` Luc Teirlinck
2004-08-19 19:33           ` Stefan Monnier
2004-08-19 20:12             ` Adrian Aichner
2004-08-19 20:45             ` Davis Herring
2004-08-20 21:08               ` Richard Stallman
2004-08-20 22:08                 ` Stefan Monnier
2004-08-19 21:54             ` Andreas Schwab
2004-08-19 22:20               ` Stefan Monnier
2004-08-19 22:25                 ` David Kastrup
2004-08-20  1:27             ` Luc Teirlinck
2004-08-20 14:54               ` Stefan Monnier
2004-08-21 16:49                 ` Richard Stallman
2004-08-20 21:08             ` Richard Stallman
2004-07-26  1:29 ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2008-04-17 19:54 J. David Boyd
2008-04-18  8:03 ` Carsten Dominik
2008-04-18 14:34   ` J. David Boyd
2008-04-18 15:02   ` J. David Boyd

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.