unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: 23.0.60; Segmentation fault loading auto-lang.el
@ 2008-04-08  5:29 Chong Yidong
  2008-04-08  6:52 ` Kenichi Handa
  0 siblings, 1 reply; 5+ messages in thread
From: Chong Yidong @ 2008-04-08  5:29 UTC (permalink / raw)
  To: emacs-devel; +Cc: intrigeri, 103

> - download http://www.marquardt-home.de/auto-lang.el to ~/.elisp/
> - run emacs -Q
> - M-x load-file
> - choose file ~/.elisp/auto-lang.el
> => Emacs segfaults (same result with emacs -Q -nw)

This is due to an infinite nesting depth in regexp-opt, which can be
tracked down to the following problem:

(let ((str (string-as-unibyte "ä")))
  (string-match (char-to-string (string-to-char str)) str))

evaluates to 0 in Emacs 22, and to nil in Emacs 23.  It turns out that
this screws up the use of all-completions in regexp-opt-group.

Anyone have any idea what's going on here?




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-04-09  2:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-08  5:29 23.0.60; Segmentation fault loading auto-lang.el Chong Yidong
2008-04-08  6:52 ` Kenichi Handa
2008-04-08 16:50   ` Chong Yidong
2008-04-09  1:42     ` Stefan Monnier
2008-04-09  2:19     ` Kenichi Handa

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).