[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reproducable hang with non-ascii characters in Wanderlust draft



Sorry, I forgot to update representing code.  As comment of code, when
number is larger than 16385, emacs hangs.

(progn
  (define-ccl-program ccl-test
    '(1 (loop
	 (read r0)
	 (write-repeat r0))))
  (make-coding-system 'test 4 ?t "" '(ccl-test . ccl-test))
  ;; When number is less than 16384, it works with no problem.
  ;; When number is 16385, return value is 16384.
  ;; When number is 16386 and larger, emacs hangs.
  (length (decode-coding-string (make-string 16386 ?_) 'test)))

-- 
Kazuhiro Ito