>>>> "Jerry" == Jerry James
<james(a)eecs.ukans.edu> writes:
Jerry> On Thu, 22 Feb 2001 at 15:34:39 +0100, Frank Ridderbusch
Jerry> <frank.ridderbusch(a)fujitsu-siemens.com> wrote:
> After typing C-c C-p I receive this error:
>
> (1) (error/warning) Error in `post-command-hook' (setting hook to nil):
(wrong-type-argument arrayp nil)
>
> Setting debug-on-error to t provides this backtrace:
>
> Signaling: (wrong-type-argument arrayp nil)
> sgml-max-pos-in-tree(nil)
> sgml-update-display()
> sgml-command-post()
Jerry> The immediate cause is that sgml-current-tree is nil when
Jerry> sgml-max-pos-in-tree is called. It is nil (for me) because
Jerry> I don't have a readme.dtd, so there is no DTD to guide the
Jerry> parsing. Do you have such a DTD? If I substitute the name
Jerry> of a DTD that I do have locally, the problem goes away.
Jerry> The function sgml-max-pos-in-tree did not exist in previous
Jerry> versions of PSGML. The computation in sgml-update-display
Jerry> was done a bit differently. That's why reverting fixes the
Jerry> problem for you.
Jerry> This looks like an upstream bug. A missing DTD should be
I agree.
Jerry> handled more gracefully. Please report the problem here:
Jerry> <
URL:http://sourceforge.net/projects/psgml>.
Yes, please do.
Jerry> --
Jerry> Jerry James
--
Adrian Aichner
mailto:adrianï¼ xemacs.org
http://www.xemacs.org/