First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 73192
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: GNU Emacs Team <emacs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sam Walters <sam.walters@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 73192 depends on: Show dependency tree
Bug 73192 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-12-02 23:00 0000
Some users on #emacs IRC channel on freenode are reporting that
color-themes-6.5.4 fails to load from their .emacs startup file.

The users have been able to load the file interactively from *scratch*, using
both (load "path/to/color-theme") and (require 'color-theme)

(this problem has not affected me personally, but I have helped several users
with it on #emacs)

Temporary fix...
If you're reading this because you have experienced this problem, you can do
the following to prevent 6.5.4 from being updated on your computer:
add the line "=app-emacs/color-theme" to /etc/portage/package.mask
then, emerge =app-emacs/color-theme-6.5.2

Please, also make an attempt to communicate with those who are trying to fix
the problem.  Because this problem is being reported second-hand, it may be
difficult to trace.

Reproducible: Couldn't Reproduce
Steps to Reproduce:
1.  emerge app-emacs/color-theme-6.5.4
2.  add either "(load "/usr/share/emacs/site-list/color-theme/color-theme.el")
or "(require 'color-theme)" to .emacs
3.  Start a new emacs session

Actual Results:  
An error has occurred while loading `/home/ncolgan/.emacs':

Wrong type argument: keymapp, nil

Expected Results:  
Loading color-theme...done

------- Comment #1 From Sam Walters 2004-12-02 23:03:39 0000 -------
User ncolgan@yahoo.com has experienced this problem.

This was found at the bottom of his *Messages*

backtrace
color-theme-backup-original-values: Symbol's function definition is void: color-theme-filter

------- Comment #2 From Matthew Kennedy (RETIRED) 2004-12-03 03:56:56 0000 -------
Hi Sam.  Is this related to app-editors/emacs-cvs or app-editors/emacs?  I
recall seeing this with emacs-cvs (changes in how easymenu works) and included
a patch which corrects it.  However as I try it now, emacs-cvs works correctly
with the color-theme patch, but emacs-21.3 causes two "Tools" menus to appear,
the second "Tools" menu contains one entry "Color themes".  

I haven't been able to reproduce the error you describe though.  I'll check
this over shortly.

------- Comment #3 From Gabriel Tendera 2004-12-09 08:37:43 0000 -------
color-themes-6.5.4 do not work with my 21.3-r3 emacs
The same sitation as in Description, however i've managed to get over it. I've replaced the /usr/share/emacs/site-lisp/color-theme/color-theme.el with a color-theme.el downloaded from:
http://www-2.cs.cmu.edu/~maverick/GNUEmacsColorThemeTest/color-theme.el.bz2

I've additionally deleted the /usr/share/emacs/site-lisp/color-theme/color-theme.elc file but I'm not sure if it's important to the solution.


------- Comment #4 From Scott Thomson 2005-02-16 05:47:49 0000 -------
This is how I fixed it:

http://lists.gnu.org/archive/html/help-gnu-emacs/2005-01/msg00454.html

------- Comment #5 From Paulo Jorge de Oliveira Cantante de Matos 2005-03-24 04:27:37 0000 -------
I add this problem with GNU Emacs 21.4.1 and color-theme 6.5.4 and Scott
Thomson  solution works. :)

------- Comment #6 From Matthew Kennedy (RETIRED) 2005-06-26 21:29:50 0000 -------
From what I gather, our patch which changes the "tools" to "Tools" should only
be applied in the case that the user has a version 22* series GNU Emacs
(ie. CVS). If the user has a stable emacs, version 21*, then the patch should
not be applied.

I included a version test in the -r1 version of app-emacs/color-theme. Let me
know if this fixes the problem.

------- Comment #7 From P.L.Hayes 2005-07-01 05:49:59 0000 -------
The patched -r1 version broke my emacs-cvs in a weird way. I now get this
message every time I try to run color-theme:

face-attribute: Wrong type argument: symbolp, (slime-repl-inputed-output-face)

------- Comment #8 From P.L.Hayes 2005-07-01 21:08:23 0000 -------
(In reply to comment #7)
Forget it - its doing it with the previous version now. If I stop slime-cvs from
loading, it works fine. 


------- Comment #9 From Christos Gitsis 2008-12-17 20:55:37 0000 -------
I have the same problem four years later.
I use:
app-emacs/color-theme 6.6.0
app-editors/emacs-cvs 23.0.9999

~/.emacs is:
(load "/usr/share/emacs/site-lisp/color-theme/color-theme.el")
(color-theme-blue-sea)

or:
(require 'color-theme)
(color-theme-blue-sea)

In both cases I get no color theme and the following message:

Warning (initialization): An error occurred while loading
`/home/christos/.emacs':

Symbol's function definition is void: color-theme-blue-sea

If I do M-X color-theme-select, I can choose the blue-sea theme and use it.
After that, I can also do M-X color-theme-blue-sea or M-X color-theme-whatever,
which I could not do before.

------- Comment #10 From Ulrich Müller 2008-12-17 21:29:19 0000 -------
Does the following work for you (should go into .emacs):

(color-theme-initialize)
(color-theme-blue-sea)

------- Comment #11 From Christos Gitsis 2008-12-19 09:07:08 0000 -------
Yes, it does. Thank you.

------- Comment #12 From Ulrich Müller 2008-12-19 09:54:00 0000 -------
I've added an explanatory message about non-interactive usage to pkg_postinst.
Let's consider this bug as fixed.

Thank you for reporting.

First Last Prev Next    No search results available      Search page      Enter new bug