emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Matthew Sauer <improv.philosophy@gmail.com>
Cc: Bastien <bzg@altern.org>,
	Konrad Hinsen <konrad.hinsen@fastmail.net>,
	nicholas.dokos@hp.com,
	Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: org google weather
Date: Sat, 05 Mar 2011 14:57:37 -0500	[thread overview]
Message-ID: <9346.1299355057@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Matthew Sauer <improv.philosophy@gmail.com> of "Sat\, 05 Mar 2011 11\:46\:38 CST." <AANLkTikrCPuJ+xKQZ6er5JdERyU3cKs0XGGYtgXi3D8H@mail.gmail.com>

Matthew Sauer <improv.philosophy@gmail.com> wrote:

> Thanks that worked, as I said Noob, somethings get the quote and some don't.  Now if I can just get
> org-contacts to load correctly, void variable value, life will be great.  I think I am starting to
> get the hang of this language.
> Matthew
> 

The main thing to remember is that quote inhibits evaluation: 'a gives
you the symbol a whereas a without the quote gives you the *value* of
a. Remember also that in lisp, you call a function func with arguments x
and y like this: (func x y) - this calls the function func on the
*values* of x and y and returns a function value (which of course
depends on how the function is defined). OTOH, '(func x y) is a list of
three elements: func, x and y. So

'(require 'google-weather)

does nothing whereas

(require 'google-weather) 

calls the function require with the symbol google-weather as its argument.

OTOH, the incorrect

(require google-weather)

would call the same function with the *value* of the symbol google-weather
as its argument. Since the symbol has no value, you'd get an error.
Hope this makes things a bit clearer, but there is nothing like getting an
elementary book on Lisp (or the Emacs Lisp introductory tutorial which
should be available in your emacs or online).

As for org-contacts, I just did a git pull (from
git://git.naquadah.org/org-contacts.git) and I was able to load it with
no problems. Also I don't see a variable named "value" in the file, so
either your report of the error is inaccurate or your version is
older. Try the latest version and if you still have problems, checkout
out section 1.4, "Feedback", of the Org manual to find out how to
produce a useful backtrace - then post that to the list.

Nick

  reply	other threads:[~2011-03-05 19:58 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-03 21:37 org google weather Simon Brown
2011-03-04  8:40 ` Ian Barton
2011-03-04  9:08   ` Sébastien Vauban
2011-03-04 11:27     ` Ian Barton
2011-03-04 15:29       ` brian powell
2011-03-04 16:38       ` Nick Dokos
2011-03-04 19:28         ` Bastien
2011-03-04 19:42         ` Konrad Hinsen
2011-03-04 20:26           ` Nick Dokos
2011-03-05 10:19             ` Bastien
2011-03-05 11:44               ` Matthew Sauer
2011-03-05 13:26                 ` Konrad Hinsen
2011-03-05 14:57                   ` Matthew Sauer
2011-03-05 15:15                     ` Michael Markert
2011-03-05 15:23                     ` Nick Dokos
2011-03-05 17:46                       ` Matthew Sauer
2011-03-05 19:57                         ` Nick Dokos [this message]
2011-03-05 14:29               ` Konrad Hinsen
2011-03-05 17:07                 ` Bastien
2011-03-05 20:35                   ` Konrad Hinsen
2011-03-05 21:19                     ` brian powell
2011-03-05 23:51                     ` Nick Dokos
2011-03-06 10:33                       ` Konrad Hinsen
2011-03-06 11:20                         ` Konrad Hinsen
2011-03-04 23:03         ` Sébastien Vauban
2011-03-04 23:25           ` Nick Dokos
2011-03-04 21:28   ` Simon Brown
2011-03-04 22:05     ` Nick Dokos
2011-03-04 22:29       ` Nick Dokos
2011-03-04 22:43       ` Simon Brown

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=9346.1299355057@alphaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=improv.philosophy@gmail.com \
    --cc=konrad.hinsen@fastmail.net \
    /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 public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).