Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190635 - app-emacs/table-1.5.54-r1 conflicts with cvs emacs (23.0.0)
Summary: app-emacs/table-1.5.54-r1 conflicts with cvs emacs (23.0.0)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-29 12:32 UTC by Alan Eugene Davis
Modified: 2007-08-29 14:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Eugene Davis 2007-08-29 12:32:34 UTC
When app-emacs/table is installed, a copy of table.el is installed in /usr/share/emacs/site-lisp/table, referred to by /usr/share/emacs/site-lisp/site-gentoo.el, and caused to be loaded if the user activates the use of site-gentoo.el in the init file (~/.emacs.el).  

This version of table.el is incompatible with cvs emacs's native table.el, /usr/share/emacs/23.0.0/lisp/textmodes/table.el 

Starting emacs-23 or opening a file causes an error:

 > Wrong type argument: integerp, (48 . 57)
 > or other numbers, like:
 > map-char-table: Wrong type argument: integerp, (127 . 127)

When I enabled debug on advice from emacs help list, this was observed in the error messages:
 table--deep-copy-rebind-keymap((keymap #^[nil nil keymap #^^[3 0 mark-sexp

A comment was elicited, that 

   Looks like you have an old table.el in your load-path.  The table.el file
   included in Emacs's CVS trunk has no such function.

Removing app-emacs/table resolves this problem with emacs-23, as of 29 August 2007.  Other versions, emacs-21, emacs-22, and emacs-22-cvs are also installed on this system, and all work fine with app-emacs/table installed.









Reproducible: Always

Steps to Reproduce:
1. Install emacs-cvs (23)
2. Start emacs
3. Also opening a file 
4.

Actual Results:  
: message is found in minibuffer on startup.

, these messages may be received when trying to open a file.  HOwever, the second time the file attempted, it opens with no complaint.

Expected Results:  
No error message

The error was narrowed down to the presence of table.el in /usr/share/emacs/site-lisp/table, called by site-gentoo.el, that is incompatible with CVS emacs.
Comment 1 Ulrich Müller gentoo-dev 2007-08-29 12:43:36 UTC
Please specify for which version (including revision!) of app-emacs/table you have installed, and reopen then.
Comment 2 Alan Eugene Davis 2007-08-29 13:03:51 UTC
(In reply to comment #1)
> Please specify for which version (including revision!) of app-emacs/table you
> have installed, and reopen then.
> 

app-emacs/table-1.5.54-r1
Comment 3 Ulrich Müller gentoo-dev 2007-08-29 13:17:32 UTC
Please try if this is still an issue for table-1.5.54-r2.
Comment 4 Alan Eugene Davis 2007-08-29 14:15:40 UTC
(In reply to comment #3)
> Please try if this is still an issue for table-1.5.54-r2.
> 

This problem has been SOLVED. Thank you.
Comment 5 Ulrich Müller gentoo-dev 2007-08-29 14:19:43 UTC
Anyway, thanks for reporting.