SourceForge has been redesigned. Learn more.
Close

#5 Type problem in emacs w32

open
nobody
None
5
2009-06-13
2009-06-13
ChH
No

I'm using GNU Emacs 23.0.91.1 (i386-mingw-nt5.1.2600)

When I try to insert a new table (I followed the description under Entry Points) with
M-x table-insert

I get the following error:
Wrong type argument: integerp, (32 . 126)
I'm an elisp noob, o I couldn't track down the problem further.

If you need more infos, just say so.

Discussion

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous

    Anonymous - 2009-12-17

    Applying this patch to table.el seems to fix the issue

    --- table.el
    +++ table.el 2009-12-17 09:32:00.000000000 +0100
    @@ -5173,7 +5173,7 @@
    (cond
    ((char-table-p elt)
    (map-char-table
    - (lambda (key value) (aset elt key (table--replace-binding1 value)))
    + (lambda (key value) (if (consp key) (set-char-table-range elt key (table--replace-binding1 value)) (aset elt key (table--replace-binding1 value))))
    elt))
    ((vectorp elt)
    (let ((i 0)

     
  • Takaaki Ota

    Takaaki Ota - 2009-12-17

    I believe emacs 23.0.91.1 comes with the table script. Check if emacs/lisp/text/table.el exists or not. If it does use that one which is newer than the one you obtained from here.

     
  • Christopher Lee

    Christopher Lee - 2010-06-24

    I'm encountering the same problem on Emacs 23.0.0 on Mac OS 10.6 (app from emacs-app.sf.net). Any attempt to use table- functions such as table-capture or insert a table leads to this same error message. Haven't tried the patch.

     

Log in to post a comment.