On Thu, 22 Feb 2001 at 15:34:39 +0100, Frank Ridderbusch
<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()
The immediate cause is that sgml-current-tree is nil when
sgml-max-pos-in-tree is called. It is nil (for me) because I don't have
a readme.dtd, so there is no DTD to guide the parsing. Do you have such
a DTD? If I substitute the name of a DTD that I do have locally, the
problem goes away.
The function sgml-max-pos-in-tree did not exist in previous versions of
PSGML. The computation in sgml-update-display was done a bit
differently. That's why reverting fixes the problem for you.
This looks like an upstream bug. A missing DTD should be handled more
gracefully. Please report the problem here:
<
URL:http://sourceforge.net/projects/psgml>.
--
Jerry James