From: Nick Dokos <nicholas.dokos@hp.com>
To: Marius Hofert <marius.hofert@math.ethz.ch>
Cc: nicholas.dokos@hp.com, Emacs help <emacs-orgmode@gnu.org>,
Jambunathan K <kjambunathan@gmail.com>
Subject: Re: How to set up anniversaries/birthdays with org-contacts-anniversaries?
Date: Tue, 08 Nov 2011 18:06:32 -0500 [thread overview]
Message-ID: <6927.1320793592@alphaville.americas.hpqcorp.net> (raw)
In-Reply-To: Message from Marius Hofert <marius.hofert@math.ethz.ch> of "Tue, 08 Nov 2011 23:36:12 +0100." <3DF8E988-B416-43D2-BFEB-D83C31216C14@math.ethz.ch>
Marius Hofert <marius.hofert@math.ethz.ch> wrote:
> Thanks for the explanation. Is there also an equivalent solution by just adjusting .emacs?
>
>
If you are going to use emacs extensively, you probably should read the
emacs reference manual and maybe the emacs lisp introduction as
well.
M-x foo RET is entirely equivalent to evaluating
(foo)
which is a call to function foo. (foo) is the more general mechanism: it
works for any lisp function, M-x foo works iff foo is a command (aka an
"interactive" function). The form (foo) can be added to .emacs.
load-library is a command that takes an argument: the name of the library
to load. See its doc string for details. M-x load-library RET diary RET
is entirely equivalent to evaluating
(load-library "diary")
This calls the function load-library with the string argument "diary".
This form can be added to .emacs. Alternatively, you can use the
require form that I posted:
(require 'diary)
Note that load-library takes a string as argument, whereas require takes
a symbol.
Nick
> On 2011-11-08, at 23:33 , Jambunathan K wrote:
>
> >> Debugger entered--Lisp error: (void-function diary-anniversary)
> >
> > There is a universal solution to this problem
> >
> > M-x load-library RET diary TAB
> >
> > and choose which of the options make most sense or try each one of them
> > in turn.
> >
> > Note that in the above load-library you are using "diary" because it is
> > the "prefix" of function (or variable) which reported as void.
> >
> > The load-library call unvoids the void things.
> >
> >
> >
>
next prev parent reply other threads:[~2011-11-08 23:06 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-06 11:05 How to set up anniversaries/birthdays with org-contacts-anniversaries? Marius Hofert
2011-11-08 21:03 ` Marius Hofert
2011-11-08 21:33 ` Nick Dokos
2011-11-08 21:43 ` Marius Hofert
2011-11-08 22:07 ` Nick Dokos
2011-11-08 22:16 ` Marius Hofert
2011-11-08 22:33 ` Jambunathan K
2011-11-08 22:36 ` Marius Hofert
2011-11-08 22:50 ` Jambunathan K
2011-11-08 23:06 ` Nick Dokos [this message]
2011-11-08 23:13 ` Marius Hofert
2011-11-08 23:17 ` Marius Hofert
2011-11-08 23:21 ` Nick Dokos
2011-11-08 23:25 ` Marius Hofert
2011-11-08 23:37 ` Jonathan Leech-Pepin
2011-11-08 23:12 ` Marius Hofert
2011-11-08 22:48 ` Nick Dokos
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=6927.1320793592@alphaville.americas.hpqcorp.net \
--to=nicholas.dokos@hp.com \
--cc=emacs-orgmode@gnu.org \
--cc=kjambunathan@gmail.com \
--cc=marius.hofert@math.ethz.ch \
/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.