Re: Sorry for the preview-latex delays...

David Kastrup <[email protected]>
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
Ralf Angeli <[email protected]> writes:

> * David Kastrup (2005-03-01) writes:
>
>> b) if you are going for production use instead of debugging of CVS
>> Emacs (and that would apply to all packagers, too), please set
>> #define xassert(X)
>> instead of the xassert definition line in src/dispextern.h since there
>> are far too many bogus assertions right now.
>
> I use
>
> #define xassert(X)	(void) 0
>
> anyway, as with the "default" Emacs is unbearably slow.

Problem is that xassert quality is rather different: most are basic
structural safety checks which would seem to exchange difficult to
find crashes and inconsistencies for easier debuggable ones.  Then
there are quite a few that try checking for visual consistency (like
cursor movements making forward progress).  They exchange a possible
nuisance for a catastrophe for the average user.  And they don't help
in debugging actually since you don't get to see the problem on the
screen...

The visual asserts are probably also mostly the expensive ones since
they sometimes have to walk through data structures to get their
condition.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.