Unix Technical Forum

Emacs error in Slackware 11

This is a discussion on Emacs error in Slackware 11 within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I get this error when M-x erc-select and entered server, username and password: Symbols function definition is void: oddp ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 08:34 PM
Logan Lee
 
Posts: n/a
Default Emacs error in Slackware 11

I get this error when M-x erc-select and entered server, username and password:
Symbols function definition is void: oddp

My .emacs file is:
;; load paths
(add-to-list 'load-path "/usr/share/emacs/site-lisp/erc")

;; erc
(require 'erc)

And, I have confirmed the erc path is correct. I don't understand the error message in line 2 of this article.
--

################################################## ####
### ###
### Logan Lee ###
### ###
### About myself: ###
### I'm interested in GNU/Linux, C programming, ###
###+compiler design and artificial intelligence. ###
### I have used many distributions of GNU/Linux ###
###+in the past and currently I am using ###
###+Slackware 11 on a Pentinum 4 machine. ###
### ###
################################################## ####
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 08:34 PM
Joost Kremers
 
Posts: n/a
Default Re: Emacs error in Slackware 11

Logan Lee wrote:
> I get this error when M-x erc-select and entered server, username and password:
> Symbols function definition is void: oddp

[...]
> And, I have confirmed the erc path is correct. I don't understand the
> error message in line 2 of this article.


the error message means that emacs is running code that contains the
function oddp, but oddp hasn't been defined.

you should download and install the latest stable version of erc. the erc
changelog has the following entry:

2006-01-28 Johan Bockgård <bojohan@users.sourceforge.net>

* erc.el (erc-format-message): More `cl' breakage; don't use
`oddp'.

so it's a known bug that has been squashed almost a year ago already.

--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 08:34 PM
Logan Lee
 
Posts: n/a
Default Re: Emacs error in Slackware 11

Joost Kremers <joostkremers@yahoo.com> writes:

> Logan Lee wrote:
> > I get this error when M-x erc-select and entered server, username and password:
> > Symbols function definition is void: oddp

> [...]
> > And, I have confirmed the erc path is correct. I don't understand the
> > error message in line 2 of this article.

>
> the error message means that emacs is running code that contains the
> function oddp, but oddp hasn't been defined.
>
> you should download and install the latest stable version of erc. the erc
> changelog has the following entry:
>
> 2006-01-28 Johan Bockgård <bojohan@users.sourceforge.net>
>
> * erc.el (erc-format-message): More `cl' breakage; don't use
> `oddp'.
>
> so it's a known bug that has been squashed almost a year ago already.

I have fixed the problem by adding the following to .emacs:
(load "/usr/share/emacs/site-lisp/erc/erc.el")

--

################################################## ####
### ###
### Logan Lee ###
### ###
################################################## ####
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:00 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com