emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emacs-wiki-discuss] is my config file correct for planner?


From: Jim Ottaway
Subject: Re: [emacs-wiki-discuss] is my config file correct for planner?
Date: Sun, 13 Mar 2005 12:59:32 +0000
User-agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.2 (gnu/linux)

>>>>> Rino Mardo <address@hidden> writes:

> slowly i'm learning the emacs way. i have this now as my ~/.emacs:
> (add-to-list 'load-path "~/sacha-stable/emacs-wiki/")
> (add-to-list 'load-path "~/sacha-stable/planner/")
> (require 'planner)

> my question is do i need to have that emacs-wiki there while learning
> planner? you see ~/.emacs as it is gives me a void on function mapc
> and it seems to point at emacs-wiki. so for me to learn planner for
> now maybe i could just ignore the wiki line? i have attached a
> backtrace for the void function (do all emacs users have to learn
> lisp?).

> tia.

What is your emacs version?  [M-x emacs-version] if it is less than
21.1 you won't have mapc; if it is >= to 21.1 then something strange
is happening.  

You said elswhere that you have Debian woody.  Emacs 21.2.1 is in
Debian woody [it's what I have here], so you should have the correct
version unless you installed the emacs20 package instead of the
emacs. Try installing the emacs21 package if you haven't done that. 

Or do you have xemacs? [I don't know much about xemacs, whether it has
mapc as a builtin]

In an emergency you could add this before you do (require 'planner):

(defun mapc (function sequence)
  (mapcar function sequence)
  nil)

[untested, but it ought to work since mapc is the same as mapcar
except it creates no return list]

...but it is likely other things won't work if you have a very old Emacs.

Regards,

-- 
Jim Ottaway




reply via email to

[Prev in Thread] Current Thread [Next in Thread]