all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs/psgml/xxml crawling
@ 2008-07-18 22:32 Peter Flynn
  2008-07-19  0:29 ` Joseph J. Kesselman
  2008-07-19  8:06 ` Manuel Collado
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Flynn @ 2008-07-18 22:32 UTC (permalink / raw)
  To: help-gnu-emacs

I've been using Emacs to edit SGML and XML since Len wrote psgml. For 
the last decade (almost) I've been using xxml-mode as well for the nice 
indenting and colorization. It's been absolutely fine, on half a dozen 
flavors of Un*x, Widnows, and MAC OSs.

I installed my standard .emacs and assorted .els on a new laptop with a 
fresh install of Ubuntu Gutsy a few months ago, all fine. I just 
installed the identical OS from the same CD on a DELL Dimension 4550 
desktop, updated from the same repos, and added the identical .emacs and 
.els.

When I opened an XML document it started to parse the DTD, element 1 
(long pause) element 6 (longer pause) element 10 (etc). it took 15 min 
to parse the standard DocBook 4.4, which the laptop (and every other 
machine I use, about a dozen, assorted) whizzes through in 1-2 secs.

Obviously there's something different, but it's not the .emacs or the 
.els, which I copied from my own archive; and it wasn't the CD, which 
was the same one. I've check file sizes and there are no differences 
which might have indicated corruption.

It could have been whatever packages got updated when the OS install 
completed, but they'd have been fractionally different anyway because of 
the different platform. I'm slightly unwilling to believe that this is 
down at the OS level given that the 4550 is behaving normally for all 
other apps -- only Emacs parsing a DTD is running at 1/100 normal speed, 
everything else, including the rest of Emacs, and (apparently) the rest 
of psgml, runs normally.

Has anyone ever encountered this before, or got suggestions as to where 
to start looking?

///Peter


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

* Re: Emacs/psgml/xxml crawling
  2008-07-18 22:32 Emacs/psgml/xxml crawling Peter Flynn
@ 2008-07-19  0:29 ` Joseph J. Kesselman
  2008-07-19  8:06 ` Manuel Collado
  1 sibling, 0 replies; 3+ messages in thread
From: Joseph J. Kesselman @ 2008-07-19  0:29 UTC (permalink / raw)
  To: help-gnu-emacs

Check your paths, to make sure the Emacs you're executing is the one you 
think you're executing?

If you're getting different results, odds are you're not running the 
same code.


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

* Re: Emacs/psgml/xxml crawling
  2008-07-18 22:32 Emacs/psgml/xxml crawling Peter Flynn
  2008-07-19  0:29 ` Joseph J. Kesselman
@ 2008-07-19  8:06 ` Manuel Collado
  1 sibling, 0 replies; 3+ messages in thread
From: Manuel Collado @ 2008-07-19  8:06 UTC (permalink / raw)
  To: help-gnu-emacs

Peter Flynn escribió:
> I've been using Emacs to edit SGML and XML since Len wrote psgml. For 
> the last decade (almost) I've been using xxml-mode as well for the nice 
> indenting and colorization. It's been absolutely fine, on half a dozen 
> flavors of Un*x, Widnows, and MAC OSs.
> 
> I installed my standard .emacs and assorted .els on a new laptop with a 
> fresh install of Ubuntu Gutsy a few months ago, all fine. I just 
> installed the identical OS from the same CD on a DELL Dimension 4550 
> desktop, updated from the same repos, and added the identical .emacs and 
> .els.
> 
> When I opened an XML document it started to parse the DTD, element 1 
> (long pause) element 6 (longer pause) element 10 (etc). it took 15 min 
> to parse the standard DocBook 4.4, which the laptop (and every other 
> machine I use, about a dozen, assorted) whizzes through in 1-2 secs.
> 
> Obviously there's something different, but it's not the .emacs or the 
> .els, which I copied from my own archive; and it wasn't the CD, which 
> was the same one. I've check file sizes and there are no differences 
> which might have indicated corruption.
> 
> It could have been whatever packages got updated when the OS install 
> completed, but they'd have been fractionally different anyway because of 
> the different platform. I'm slightly unwilling to believe that this is 
> down at the OS level given that the 4550 is behaving normally for all 
> other apps -- only Emacs parsing a DTD is running at 1/100 normal speed, 
> everything else, including the rest of Emacs, and (apparently) the rest 
> of psgml, runs normally.
> 
> Has anyone ever encountered this before, or got suggestions as to where 
> to start looking?

This symptom usually shows up when the DTD if fetched from Internet, 
instead of using a local copy. Have you set up an appropriate catalog on 
your laptop?

-- 
Manuel Collado - http://lml.ls.fi.upm.es/~mcollado


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

end of thread, other threads:[~2008-07-19  8:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-18 22:32 Emacs/psgml/xxml crawling Peter Flynn
2008-07-19  0:29 ` Joseph J. Kesselman
2008-07-19  8:06 ` Manuel Collado

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.