* edebug-eval-defun fails with non-ASCII characters
@ 2002-08-19 10:55 Dave Love
0 siblings, 0 replies; only message in thread
From: Dave Love @ 2002-08-19 10:55 UTC (permalink / raw)
Load edebug and use C-M-x on an expression like this to get `args out
of range' due to looking up a non-ASCII character in a 256-long vector:
(defun £ (?£))
This appears to be an appropriate fix (not extensively tested):
2002-08-16 Dave Love <fx@gnu.org>
* emacs-lisp/edebug.el (edebug-read-syntax-table): Use a char
table to account for non-ASCII characters.
*** edebug.el.~3.49.~ Mon Oct 1 08:30:38 2001
--- edebug.el Fri Aug 16 20:18:21 2002
***************
*** 684,690 ****
(defconst edebug-read-syntax-table
;; Lookup table for significant characters indicating the class of the
;; token that follows. This is not a \"real\" syntax table.
! (let ((table (make-vector 256 'symbol))
(i 0))
(while (< i ?!)
(aset table i 'space)
--- 684,690 ----
(defconst edebug-read-syntax-table
;; Lookup table for significant characters indicating the class of the
;; token that follows. This is not a \"real\" syntax table.
! (let ((table (make-char-table 'syntax-table 'symbol))
(i 0))
(while (< i ?!)
(aset table i 'space)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-08-19 10:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-19 10:55 edebug-eval-defun fails with non-ASCII characters Dave Love
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.