* Problem loading icicles.el after my .emacs is loaded
@ 2007-05-22 11:49 Nordlöw
2007-05-23 4:23 ` Tim X
0 siblings, 1 reply; 7+ messages in thread
From: Nordlöw @ 2007-05-22 11:49 UTC (permalink / raw)
To: help-gnu-emacs
Hey, there.
icicles seems to be a marvellous emacs-must-have and works very nicely
for me when I load it without first loading my .emacs. But when I do
load my .emacs first it fails and spits out this single error message
that I cannot relate to any of my previous emacs lisp knowledge:
load-with-code-conversion: Symbol's value as variable is void: Obsolete
\.
I have googled it but I could not find any pages related to my
problem.
I have also searched for the string "Obselete" in the emacs cvs
sources and in my own .emacs, extensions and configurations without
getting any hits.
What am I doing wrong? How can I trace the problem? I would really
like to get icicles working with my other emacs add-ons.
Thanks in advance,
Nordlöw
^ permalink raw reply [flat|nested] 7+ messages in thread
* Problem loading icicles.el after my .emacs is loaded
@ 2007-05-22 12:01 Nordlöw
2007-05-22 13:24 ` Drew Adams
0 siblings, 1 reply; 7+ messages in thread
From: Nordlöw @ 2007-05-22 12:01 UTC (permalink / raw)
To: help-gnu-emacs
Hey, there.
icicles seems to be a marvellous emacs-must-have and works very nicely
for me when I load it without first loading my .emacs. But when I do
load my .emacs first it fails and spits out this single error message
that I cannot relate to any of my previous emacs lisp knowledge:
load-with-code-conversion: Symbol's value as variable is void: Obsolete
\.
I have googled it but I could not find any pages related to my
problem.
I have also searched for the string "Obselete" in the emacs cvs
sources and in my own .emacs, extensions and configurations without
getting any hits.
What am I doing wrong? How can I trace the problem? I would really
like to get icicles working with my other emacs add-ons.
Thanks in advance,
Nordlöw
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Problem loading icicles.el after my .emacs is loaded
2007-05-22 12:01 Nordlöw
@ 2007-05-22 13:24 ` Drew Adams
2007-05-22 16:13 ` Eli Zaretskii
[not found] ` <mailman.997.1179850410.32220.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 7+ messages in thread
From: Drew Adams @ 2007-05-22 13:24 UTC (permalink / raw)
To: Nordlöw, help-gnu-emacs
> icicles seems to be a marvellous emacs-must-have and works very nicely
> for me when I load it without first loading my .emacs. But when I do
> load my .emacs first it fails and spits out this single error message
> that I cannot relate to any of my previous emacs lisp knowledge:
>
> load-with-code-conversion: Symbol's value as variable is void: Obsolete
> \.
>
> I have googled it but I could not find any pages related to my
> problem. I have also searched for the string "Obselete" in the emacs cvs
> sources and in my own .emacs, extensions and configurations without
> getting any hits.
>
> What am I doing wrong? How can I trace the problem? I would really
> like to get icicles working with my other emacs add-ons.
I unfortunately know nothing about `load-with-code-conversion' (so far).
Perhaps someone else will be able to offer a suggestion regarding the error
message.
The first step for something like this is generally to try to find out
exactly which part of your .emacs provokes the error. To do that, use a
binary search: Comment out half of the .emacs to find which half is
problematic, then comment half of that half, and so on. Binary search is
extremely quick - in a few iterations you will have at least located what,
in combination with Icicles, is provoking the error.
Also, please always report which version of Emacs you are using. The more
info you provide (platform/OS, Icicles update #, phase of the moon...), the
better.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Problem loading icicles.el after my .emacs is loaded
2007-05-22 13:24 ` Drew Adams
@ 2007-05-22 16:13 ` Eli Zaretskii
[not found] ` <mailman.997.1179850410.32220.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2007-05-22 16:13 UTC (permalink / raw)
To: help-gnu-emacs
> From: "Drew Adams" <drew.adams@oracle.com>
> Date: Tue, 22 May 2007 06:24:04 -0700
> Cc:
>
> > load-with-code-conversion: Symbol's value as variable is void: Obsolete
> > \.
> [...]
> I unfortunately know nothing about `load-with-code-conversion' (so far).
It's a function defined on mule.el. It is called (through
`load-source-file-function') by `load' when a *.el file is being
loaded.
> Perhaps someone else will be able to offer a suggestion regarding the error
> message.
The message is quite clear, but its reason is not. Perhaps setting
debug-on-error non-nil will show some useful backtrace.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Problem loading icicles.el after my .emacs is loaded
[not found] ` <mailman.997.1179850410.32220.help-gnu-emacs@gnu.org>
@ 2007-05-22 22:09 ` Nordlöw
2007-05-22 22:53 ` Drew Adams
0 siblings, 1 reply; 7+ messages in thread
From: Nordlöw @ 2007-05-22 22:09 UTC (permalink / raw)
To: help-gnu-emacs
I solved it. My fault. I thought "Obsolete" was spelled "Obselete".
That's why my grep did not find the file causing the problem. A grep
falling back to fuzzy/partial match would have discovered my
mistake...
I had an obselete emacs lisp file in my load path called pp+.el that
contained a line
Obsolete. Replaced by `+.el'.
and that icicles (optionally?) used. I removed the file and icicles
now works brilliantly!
Thanks Drew Adams!
/Nordlöw
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Problem loading icicles.el after my .emacs is loaded
2007-05-22 22:09 ` Nordlöw
@ 2007-05-22 22:53 ` Drew Adams
0 siblings, 0 replies; 7+ messages in thread
From: Drew Adams @ 2007-05-22 22:53 UTC (permalink / raw)
To: Nordlöw, help-gnu-emacs
> I had an obselete emacs lisp file in my load path called pp+.el that
> contained a line
>
> Obsolete. Replaced by `+.el'.
That's odd. pp+.el on Emacs Wiki is a library I wrote, but it does not
contain any such text. pp+.el just contains some minor enhancements to
standard library pp.el.
Icicles does do a soft require of pp+.el, that is, (require 'pp+ nil t), so
that you can pick up its version of `pp-eval-expression' if you happen to
have it. There is no problem or error if you don't have pp+.el.
> and that icicles (optionally?) used.
Yes; pp+.el is optional.
> I removed the file and icicles now works brilliantly!
It should also work with pp+.el. It sounds like your pp+.el file was not the
same - http://www.emacswiki.org/cgi-bin/wiki/pp%2b.el.
Glad to hear you fixed your problem - that's the main thing.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Problem loading icicles.el after my .emacs is loaded
2007-05-22 11:49 Problem loading icicles.el after my .emacs is loaded Nordlöw
@ 2007-05-23 4:23 ` Tim X
0 siblings, 0 replies; 7+ messages in thread
From: Tim X @ 2007-05-23 4:23 UTC (permalink / raw)
To: help-gnu-emacs
Nordlöw <per.nordlow@gmail.com> writes:
> Hey, there.
>
> icicles seems to be a marvellous emacs-must-have and works very nicely
> for me when I load it without first loading my .emacs. But when I do
> load my .emacs first it fails and spits out this single error message
> that I cannot relate to any of my previous emacs lisp knowledge:
>
>
> load-with-code-conversion: Symbol's value as variable is void: Obsolete
> \.
>
>
> I have googled it but I could not find any pages related to my
> problem.
>
> I have also searched for the string "Obselete" in the emacs cvs
> sources and in my own .emacs, extensions and configurations without
> getting any hits.
>
> What am I doing wrong? How can I trace the problem? I would really
> like to get icicles working with my other emacs add-ons.
>
>
start emacs with the command line switch --debug-init
This will give you a stack trace and a better idea of what is being called that
led to the problem.
tim
--
tcross (at) rapttech dot com dot au
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-05-23 4:23 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-22 11:49 Problem loading icicles.el after my .emacs is loaded Nordlöw
2007-05-23 4:23 ` Tim X
-- strict thread matches above, loose matches on Subject: below --
2007-05-22 12:01 Nordlöw
2007-05-22 13:24 ` Drew Adams
2007-05-22 16:13 ` Eli Zaretskii
[not found] ` <mailman.997.1179850410.32220.help-gnu-emacs@gnu.org>
2007-05-22 22:09 ` Nordlöw
2007-05-22 22:53 ` Drew Adams
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).