unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Westlake <postmaster@random.uklinux.net>
Subject: Re: PSGML questions
Date: Fri, 21 May 2004 19:19:23 +0100	[thread overview]
Message-ID: <u1xld7idw.fsf@random.uklinux.net> (raw)
In-Reply-To: 40AE36E1.7040103@yahoo.com

Kevin Rodgers <ihs_4664@yahoo.com> writes:

> Peter Westlake wrote:
>
>> I am trying to use PSGML 1.3.1 with Emacs 21.3, and there is a
>> conflict between PSGML and sgml-mode.el, because they both define
>> sgml-mode.
...
>> Alternatively, I could rename everything in PSGML (to psgml-mode,
>> etc).
...
>
> This is a long-standing problem:
>
>
> http://www.google.com/groups?selm=3BAB7A26.1A902239%40ihs.com

I tried your cunning method of transforming the symbols internally
after loading, and it almost worked; most of the time the parsing
would succeed, but the buffer was never fontified and the Markup
menu functions did not work properly. At least they were defined
- most of the time - but Insert Element offered to insert any old
element, and Add Element To Element offered to but never actually
altered the text.

Once or twice I got an error about sgml-add-element-menu being void,
just as I had in my edited version. This really does seem to be a
problem with the original code. I would quite like to carry on and
get the revised version working, as it seems like a useful thing to
do, but I'll need some help debugging it.

Once it works (if it ever does) I have another change to the mode,
which allows local caching of system ids, as described here:
<http://www.docbook.org/tdg/en/html/ch02.html#s-pid-sid-catalogs>

As well as a catalog having entries like

  PUBLIC publicid filename

it can have ones like:

  SYSTEM systemid filename

which uses a local copy of the DTD. This is useful because all
my documents have a system id but not a public id.


Peter.

  reply	other threads:[~2004-05-21 18:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.6687.1085149417.1061.help-gnu-emacs@gnu.org>
2004-05-21 17:05 ` PSGML questions Kevin Rodgers
2004-05-21 18:19   ` Peter Westlake [this message]
2004-05-21 22:19 ` Kevin Rodgers
2004-05-22  3:44   ` Ian Zimmerman
2004-05-24 18:33     ` Kevin Rodgers
2004-05-24 23:03       ` Peter Westlake
2004-05-25  7:04         ` Kai Grossjohann
     [not found]         ` <mailman.7215.1085472742.1061.help-gnu-emacs@gnu.org>
2004-05-25  9:00           ` Thomas Haselberger
2004-06-11 10:47             ` Peter Westlake
2004-05-21  9:43 Peter Westlake

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u1xld7idw.fsf@random.uklinux.net \
    --to=postmaster@random.uklinux.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).