Discussion:
[carbon-emacs:1617] Can't load ido.el
Andrew C.
2010-02-23 23:25:06 UTC
Permalink
I'm trying to get rinari and ido working with Carbon Emacs, without
success.

I have the following code in my init.el, and the ido.el file is stored
in ~/.emacs.d/elisp

(add-to-list 'load-path "~/.emacs.d/elisp")
;; Interactively Do Things (highly recommended, but not strictly
required)
(require 'ido)
(ido-mode t)

The (require 'ido) throws this error:

Debugger entered--Lisp error: (void-function declare-function)
(declare-function tramp-tramp-file-p "tramp" (name))
eval-buffer(#<buffer *load*<2>> nil "/Users/andrew/.emacs.d/elisp/
ido.el" nil t) ; Reading at buffer position 117738
load-with-code-conversion("/Users/andrew/.emacs.d/elisp/ido.el" "/
Users/andrew/.emacs.d/elisp/ido.el" nil t)
require(ido)
eval-buffer(#<buffer *load*> nil "/Users/andrew/.emacs.d/init.el"
nil t) ; Reading at buffer position 215
load-with-code-conversion("/Users/andrew/.emacs.d/init.el" "/Users/
andrew/.emacs.d/init.el" t t)
load("/Users/andrew/.emacs.d/init" t t)
#[nil "^H\205\276^@ \306=\203^Q^@\307^H\310Q\202A^@ \311=\2033^@
\312\307\313\314#\203#^@\315\202A^@\312\307\313\316#\203/^@\317\202A^@
\315\202A^@ $
command-line()
normal-top-level()

I'm not sure what to fix. Any suggestions?

Thanks,
Andrew
--
Carbon Emacs User Group
http://groups.google.com/group/carbon-emacs?hl=en
Seiji Zenitani
2010-02-24 08:05:22 UTC
Permalink
Post by Andrew C.
Debugger entered--Lisp error: (void-function declare-function)
(declare-function tramp-tramp-file-p "tramp" (name))
eval-buffer(#<buffer *load*<2>> nil "/Users/andrew/.emacs.d/elisp/
ido.el" nil t) ; Reading at buffer position 117738
This tells us that ~/.emacs.d/ido.el is problematic.
Carbon Emacs (GNU Emacs 22) contains ido.el.
Trash your ido.el and use the official one.

Seiji
--
Carbon Emacs User Group
http://groups.google.com/group/carbon-emacs?hl=en
Andrew C.
2010-02-24 21:05:44 UTC
Permalink
Thanks Seiji. This was the first of a few steps to get Rinari
working.

After getting ido.el working, I had to download findr.el, which was
needed by rinari. I had to download inflections.el, too. After
getting those, Rinari worked.

Oddly enough, I had to clone rinari from GitHub; the first time I had
simply downloaded an archive from GitHub, and the archive was missing
the contents of the jump folder.
Post by Seiji Zenitani
Post by Andrew C.
Debugger entered--Lisp error: (void-function declare-function)
 (declare-function tramp-tramp-file-p "tramp" (name))
 eval-buffer(#<buffer  *load*<2>> nil "/Users/andrew/.emacs.d/elisp/
ido.el" nil t)  ; Reading at buffer position 117738
This tells us that ~/.emacs.d/ido.el is problematic.
Carbon Emacs (GNU Emacs 22) contains ido.el.
Trash your ido.el and use the official one.
Seiji
--
Carbon Emacs User Group
http://groups.google.com/group/carbon-emacs?hl=en
Loading...