emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: int/Lisp_Object mixup


From: Miles Bader
Subject: Re: int/Lisp_Object mixup
Date: 05 Mar 2004 12:24:43 +0900

address@hidden (Kim F. Storm) writes:
> > I recommend that people compile with -DUSE_LISP_UNION_TYPE every once in
> > a while to cach int/Lisp_Object mixups.
> 
> Maybe we could add this hint to etc/DEBUG as a way to catch otherwise
> hard-to-find errors.

Is there any reason why developers shouldn't just _always_ use it?
Does it slow down emacs greatly?

I think it would be great if there was a very easy way to turn on all
the various debugging/error-trapping features of emacs at configure
time, and even make it the default for developers if possible (maybe if
AC_MAINTAINER_MODE is turned on?), or at least strongly urge people to
do so.

Besides USE_LISP_UNION_TYPE, there's also GLYPH_DEBUGGING (which most
importantly enables all the xasserts in the code).  The latter, at
least, seems not to be a noticable speed problem.

It's great that this stuff is configurable, because some people still
have very slow machines, but modern machines are generally pretty damn
fast...

-Miles
-- 
((lambda (x) (list x x)) (lambda (x) (list x x)))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]