unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Problems using psgml with emacs
@ 2004-12-10 15:38 Anders Gjendemsjø
  2004-12-10 16:44 ` Harald Joerg
  0 siblings, 1 reply; 5+ messages in thread
From: Anders Gjendemsjø @ 2004-12-10 15:38 UTC (permalink / raw)


Typing C-c C-c in emacs gives me:
(running Windows XP)

"Opening input file: permission denied c:/sgml"

Any tip`?

Anders

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems using psgml with emacs
  2004-12-10 15:38 Problems using psgml with emacs Anders Gjendemsjø
@ 2004-12-10 16:44 ` Harald Joerg
  2004-12-10 18:37   ` Anders Gjendemsjø
  0 siblings, 1 reply; 5+ messages in thread
From: Harald Joerg @ 2004-12-10 16:44 UTC (permalink / raw)


Anders Gjendemsjø writes:

> Typing C-c C-c in emacs gives me:
> (running Windows XP)
>
> "Opening input file: permission denied c:/sgml"
>
> Any tip`?

I guess you're talking about sgml-show-context?
Does c:/sgml exist?  If yes: Is it a file or a directory?
What's your doctype declaration?
What does C-h v sgml-catalog-files say?
Do you have an environment variable SGML_CATALOG_FILES?
What do you have in your *Messages* buffer?

I'd guess that either the SYSTEM identifier of your doctype or at
least one of the files in sgml-catalog-files, or one of the files
referred to in your sgml-catalog-files, or one of the directories
where the files are, contains either a space (after 'c:\sgml') or a
backslash.  Or maybe you fall victim to the default value of
sgml-ecat-files of ("ECAT" "~/sgml/ECAT" "/usr/local/lib/sgml/ECAT"):
"~/sgml/ECAT" looks pretty much like "C:/sgml/ECAT".
-- 
Cheers,
haj

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems using psgml with emacs
  2004-12-10 16:44 ` Harald Joerg
@ 2004-12-10 18:37   ` Anders Gjendemsjø
  2004-12-14  8:36     ` Harald Joerg
  0 siblings, 1 reply; 5+ messages in thread
From: Anders Gjendemsjø @ 2004-12-10 18:37 UTC (permalink / raw)


On Fri, 10 Dec 2004, Harald Joerg wrote:

> Anders Gjendemsjø writes:
>
> > Typing C-c C-c in emacs gives me:
> > (running Windows XP)
> >
> > "Opening input file: permission denied c:/sgml"
> >
> > Any tip`?
>
> I guess you're talking about sgml-show-context?
Yes.

> Does c:/sgml exist?  If yes: Is it a file or a directory?
Does exist, it is a directory containing a SGML Open style entity catalog
file + a subdirectory called dtd containg directories with dtd files.

> What's your doctype declaration?

<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5//EN"
"http://cnx.rice.edu/cnxml/0.5/DTD/cnxml_mathml.dtd">

> What does C-h v sgml-catalog-files say?
sgml-catalog-files's value is ("c:/SGML")

Documentation:> *List of catalog entry files. The files are in the format
defined in the SGML Open Draft Technical Resolution on Entity Management.
Defined in `psgml'.


> Do you have an environment variable SGML_CATALOG_FILES?
Yes. SGML_CATALOG_FILES is set to: c:\SGML

>What do you have in your *Messages* buffer?
Opening input file: permission denied, c:/SGML


> I'd guess that either the SYSTEM identifier of your doctype or at least
> one of the files in sgml-catalog-files, or one of the files referred to
> in your sgml-catalog-files, or one of the directories where the files
> are, contains either a space (after 'c:\sgml') or a backslash.
Maybe, but not as I can see.

Or maybe
> you fall victim to the default value of sgml-ecat-files of ("ECAT"
> "~/sgml/ECAT" "/usr/local/lib/sgml/ECAT"): "~/sgml/ECAT" looks pretty
> much like "C:/sgml/ECAT".

C-h v sgml-ecat-files show the above. ~/sgml/ECAT and c:/sgml/ECAT is the
same.

I'm not sure if I understand the problem with ECAT correctlty, but I also
tried moving the content of C:\sgml to C:\sgml\ecat, and updated
SGML-CATALOG-FILES variable. But with the same result.

>
>--
>Cheers, haj

Thanks.

Hope you or someone else have some ideas of how to fix this.

Best,
Anders

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems using psgml with emacs
  2004-12-10 18:37   ` Anders Gjendemsjø
@ 2004-12-14  8:36     ` Harald Joerg
  2004-12-14  9:05       ` Anders Gjendemsjø
  0 siblings, 1 reply; 5+ messages in thread
From: Harald Joerg @ 2004-12-14  8:36 UTC (permalink / raw)


Anders Gjendemsjø <gjendems@stud.ntnu.no> writes:

> On Fri, 10 Dec 2004, Harald Joerg wrote:
>
>> Anders Gjendemsjø writes:
>>
>> > Typing C-c C-c in emacs gives me:
>> > (running Windows XP)
>> >
>> > "Opening input file: permission denied c:/sgml"
>> >
>> > Any tip`?
>>
>> I guess you're talking about sgml-show-context?
> Yes.
>
>> Does c:/sgml exist?  If yes: Is it a file or a directory?
> Does exist, it is a directory containing a SGML Open style entity catalog
> file + a subdirectory called dtd containg directories with dtd files.
>
>> What's your doctype declaration?
>
> <!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5//EN"
> "http://cnx.rice.edu/cnxml/0.5/DTD/cnxml_mathml.dtd">
>
>> What does C-h v sgml-catalog-files say?
> sgml-catalog-files's value is ("c:/SGML")
>
> Documentation:> *List of catalog entry files. The files are in the format
> defined in the SGML Open Draft Technical Resolution on Entity Management.
> Defined in `psgml'.

So here's the culprit.

sgml-catalog-files is supposed to contain a list of catalog files and
not a directory.

>> Do you have an environment variable SGML_CATALOG_FILES?
> Yes. SGML_CATALOG_FILES is set to: c:\SGML

Set it to the file name of your SGML catalog.  sgml-catalog-files is
initialized from this value.
-- 
Cheers,
haj

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems using psgml with emacs
  2004-12-14  8:36     ` Harald Joerg
@ 2004-12-14  9:05       ` Anders Gjendemsjø
  0 siblings, 0 replies; 5+ messages in thread
From: Anders Gjendemsjø @ 2004-12-14  9:05 UTC (permalink / raw)



> So here's the culprit.
> 
> sgml-catalog-files is supposed to contain a list of catalog files and
> not a directory.
> Thanks. That did solve the problem.

Thanks. That did solve the problem :)
I really appreciate you looking in to the issue.

Anders

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-12-14  9:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-10 15:38 Problems using psgml with emacs Anders Gjendemsjø
2004-12-10 16:44 ` Harald Joerg
2004-12-10 18:37   ` Anders Gjendemsjø
2004-12-14  8:36     ` Harald Joerg
2004-12-14  9:05       ` Anders Gjendemsjø

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).