From: "Ludwig, Mark" <ludwig.mark@siemens.com>
To: Tom <adatgyujto@gmail.com>,
"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: Handling large files with Emacs
Date: Wed, 24 Oct 2012 20:12:11 +0000 [thread overview]
Message-ID: <BC5672F8AD4C054BAF167C9801500D1AB5CE7DE8@USSLMMBX003.net.plm.eds.com> (raw)
In-Reply-To: <loom.20121024T204138-664@post.gmane.org>
> From: Tom
> Sent: Wednesday, October 24, 2012 2:09 PM
> To: help-gnu-emacs@gnu.org
> Subject: Re: Handling large files with Emacs
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
> > >
> > > BTW, why is it obsolete? Does it mean it's unnecessary and the
> > > size of the buffer should not be a problem?
> >
> > Yes.
> >
>
> My other tip is long lines cause problems. SQL dumps have usually
> really long lines (the one below has lines with 1 million characters).
>
> Here's as a testcase a dump from Wikipedia which is a 16MB download
> and it extracts to a 64MB sql file:
>
> http://dumps.wikimedia.org/enwiki/20110901/enwiki-20110901-
> category.sql.gz
>
> If I extract it, open it in emacs and try to scroll in the file here
> and there then emacs freezes for a minute or longer.
>
> Actually with the above file I had to kill emacs, because it did
> not respond to anything after I did some random scrolling in the
> file, jumping to the end and then scrolling backwards, etc.
>
> I tried it with -Q (emacs 24.1.1 on Windows).
Sure, I reported this as bug 9589 (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9589) against 23.1 on Windows. You may wish to look at the bug report for the partial information I determined about which commands are fast and which are slow with very long lines.
Cheers,
Mark
next prev parent reply other threads:[~2012-10-24 20:12 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-23 19:33 Handling large files with Emacs Fab
2012-10-23 19:52 ` Eli Zaretskii
[not found] ` <mailman.11564.1351021951.855.help-gnu-emacs@gnu.org>
2012-10-23 20:09 ` Fab
2012-10-23 20:40 ` Eli Zaretskii
2012-10-24 7:52 ` Tom
2012-10-24 9:22 ` Jambunathan K
2012-10-24 9:34 ` Tom
2012-10-24 18:16 ` Eli Zaretskii
2012-10-24 9:40 ` Tom
2012-10-24 13:51 ` Jambunathan K
2012-10-24 18:16 ` Eli Zaretskii
2012-10-24 19:09 ` Tom
2012-10-24 20:12 ` Ludwig, Mark [this message]
[not found] ` <mailman.11635.1351105779.855.help-gnu-emacs@gnu.org>
2012-10-24 19:47 ` Stefan Monnier
[not found] ` <mailman.11568.1351024821.855.help-gnu-emacs@gnu.org>
2012-10-23 20:49 ` Fab
2012-10-24 15:29 ` Stefan Monnier
2012-10-24 17:19 ` Fab
2012-10-24 19:32 ` Stefan Monnier
2012-10-24 20:19 ` Drew Adams
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=BC5672F8AD4C054BAF167C9801500D1AB5CE7DE8@USSLMMBX003.net.plm.eds.com \
--to=ludwig.mark@siemens.com \
--cc=adatgyujto@gmail.com \
--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.