OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Re: XML Editors

Steinar Bang wrote:
>>>>>>Joachim Ziegler <ziegler@mpi-sb.mpg.de>:
>>I'm also using Emacs+psgml.
> What version of Emacs? (`M-x emacs-version RET')

GNU Emacs 21.1.2 (sparc-sun-solaris2.8, X toolkit, Xaw3d scroll bars) of 
2001-10-22 on mpii-ww

XEmacs 21.1 (patch 14) "Cuyahoga Valley" [Lucid] (sparc-sun-solaris2.9) 
of Wed Mar 27 2002 on watford-71

> What version of psgml? (`M-x psgml-version RET')

Hmmm... there is no such command. And no other starting with prefix 
"psgml". Doing "M-x describe-mode" I get

XML mode:
Major mode derived from `sgml-mode' by `define-derived-mode'.

Does that mean, that I don't use psgml-mode at all?
In .emacs I say:

(autoload 'sgml-mode "psgml" "Major mode to edit SGML files." t)
(autoload 'xml-mode "psgml" "Major mode to edit XML files." t)

But I've followed the installing instructions of the psgml-package...

> On what platform?

SunOS paris 5.9 Generic_112233-04 sun4u sparc SUNW,Sun-Fire-15000

> What's your sgml-catalog-files setting? (`C-h v sgml-catalog-files RET')
> What's your sgml-ecat-files setting? (`C-h v sgml-ecat-files RET')

I don't use catalogs. These variables are not set.

> Is your psgml byte compiled?

Yes, I've byte-compiled it for Emacs and for Xemacs.

> Are we talking just the DocBook XML DTD here?  Or do your problems
> occur with other DTDs as well?

No, I'm only talking about DocBook. I haven't used any other DTD yet.

> Mine look like this:
> <!--
>   Local Variables:
>   sgml-parent-document: ("master-file.xml" "article" "section")
>   End:
>   -->

I've tried that also.

     Local Variables:
     mode: xml
     sgml-parent-document:("LEDATutorium.xml" "book" "chapter")

When Xemacs starts up, it says:

(2) (local-variables/warning) File local-variables error: Symbol's 
function definition is void: char-table-parent

> In my case the <section> is in master-file.xml, but the body of the
> <section> is in the smaller piece.

So are my <book> and my <chapter>s.

>>This mechanism only works for small documents (at least on my
>>machine.) but not when the documents get large. i don't know how to
>>fix this.

To be more precise: My chapters have about 250kB.

> This problem I've never seen.  Are you running an alpha-release or CVS
> snapshot?  Sounds like a serious bug.

No. not an alpha-release AFAIK.

> If you can find a reproducible (small) test case, you should post it
> as a bug.

Where should I post it?

Many greetings,

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]