all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Boylan, Ross" <Ross.Boylan@ucsf.edu>
To: Eli Zaretskii <eliz@gnu.org>,
	"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: nXML gags on XML with one long line
Date: Wed, 24 Dec 2014 20:08:22 +0000	[thread overview]
Message-ID: <F1F13E14A610474196571953929C0209650065@ex08.net.ucsf.edu> (raw)
In-Reply-To: <838uhxnhax.fsf@gnu.org>

The file is almost 5 million characters; the output of wc at the bottom of my original message has the exact figures, as well as the word count.

In text mode things emacs didn't chew up the CPU and was responsive; as I said, the result wasn't very useful to me.

Ross
________________________________________
From: help-gnu-emacs-bounces+ross.boylan=ucsf.edu@gnu.org [help-gnu-emacs-bounces+ross.boylan=ucsf.edu@gnu.org] on behalf of Eli Zaretskii [eliz@gnu.org]
Sent: Wednesday, December 24, 2014 8:28 AM
To: help-gnu-emacs@gnu.org
Subject: Re: nXML gags on XML with one long line

> From: "Boylan, Ross" <Ross.Boylan@ucsf.edu>
> Date: Wed, 24 Dec 2014 09:02:43 +0000
>
> I opened a .xml file that was relatively large in GNU Emacs 23.4.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10)
>  of 2012-09-08 on trouble, modified by Debian.  This opened in nXML mode, but started using up all the CPU (I think after I asked it to use outline mode) and became unresponsive.  Before that it showed a message saying the file was 87% validated (very roughly--from memory) for quite awhile (a minute?), with low CPU use.  It did eventually show as completely validated.
>
> The xml file is one long block of text with no whitespace between entries; in fact, there isn't even a line break at the end of the file.  Some of the nXML documentation, specifically on paragraphs, refers to identifying paragraphs by line breaks.  Perhaps nXML can't cope with files without newlines?

How long is that single long line?  Emacs has known problems with
displaying very long lines (like tens of thousands of characters).

If you visit the file in Fundamental mode, does the problem go away?




      reply	other threads:[~2014-12-24 20:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-24  9:02 nXML gags on XML with one long line Boylan, Ross
2014-12-24 11:41 ` Yuri Khan
2014-12-24 16:28 ` Eli Zaretskii
2014-12-24 20:08   ` Boylan, Ross [this message]

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

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

  git send-email \
    --in-reply-to=F1F13E14A610474196571953929C0209650065@ex08.net.ucsf.edu \
    --to=ross.boylan@ucsf.edu \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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.