unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Samuel Karl Peterson <skpeterson@nospam.please.ucdavis.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: opening large files (few hundred meg)
Date: Tue, 05 Feb 2008 17:47:37 -0800	[thread overview]
Message-ID: <o363as6onye.fsf@pc14.cs.ucdavis.edu> (raw)
In-Reply-To: 87ejc1m21x.fsf@lion.rapttech.com.au

Tim X <timx@nospam.dev.null> on Tue, 29 Jan 2008 20:08:42 +1100 didst
step forth and proclaim thus:

> However, it seems rediculous to attempt to open a text file of the
> size Xah is talking about inside an editor. Like others, I have to
> wonder why his log file isn't rotated more often so that it is in
> manageable chunks. Its obvious that nobody would read all of a text
> file that was that large (especially not every week). More than
> likely, you would use existing tools to select 'interesting' parts
> of the log and then deal with them. Personally, I'd use something
> like Perl or one of the many other scripting languages that are
> ideal for (and largely designed for) this sort of problem.

Funny enough, as other people have said, while it's not a common use
case, it happens and it can be useful to use something like an editor
because you don't know exactly what you're looking for.

I have been an ardent Emacs user for a number of years, but I gotta
say, this is one of the few things Vim really does "right".  They even
have plugins to help with the process:

http://www.vim.org/scripts/script.php?script_id=1506

I've never had any difficulty working on huge binary files with Vim.

There are plenty of other applications that make the efficient ability
to work with enormous files highly desirable.  Emacs' hexl-mode and
tar file mode come immediately to mind.

The fact that other people have done it, that the Emacs community
brags that there's nothing Emacs can't do or be used for and that this
has been something that I have know that Emacs hasn't been able to do
for as long as I can remember...well, it just ought to come across as
a little bit embarassing to the Emacs devs.  Just a smidgin.

-- 
Sam Peterson
skpeterson At nospam ucdavis.edu
"if programmers were paid to remove code instead of adding it,
software would be much better" -- unknown


  parent reply	other threads:[~2008-02-06  1:47 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-28 17:35 opening large files (few hundred meg) Xah Lee
2008-01-28 18:05 ` Sven Joachim
2008-01-28 19:31   ` Eli Zaretskii
2008-01-28 20:36     ` Andreas Röhler
     [not found]     ` <mailman.6652.1201552566.18990.help-gnu-emacs@gnu.org>
2008-01-28 21:50       ` Jason Rumney
2008-01-29  7:07         ` Andreas Röhler
2008-01-29  7:20         ` Thierry Volpiatto
     [not found]         ` <mailman.6666.1201591238.18990.help-gnu-emacs@gnu.org>
2008-01-29  9:08           ` Tim X
2008-01-29 16:34             ` Xah Lee
2008-01-29 19:06               ` Tom Tromey
2008-01-29 20:44                 ` Eli Zaretskii
     [not found]                 ` <mailman.6705.1201639469.18990.help-gnu-emacs@gnu.org>
2008-01-30 20:01                   ` Stefan Monnier
2008-01-30 22:04                     ` Eli Zaretskii
2008-01-29 22:10               ` Jason Rumney
2008-01-30 17:08                 ` Joel J. Adamson
2008-01-31  5:57               ` Tim X
2008-01-31 15:35                 ` Stefan Monnier
2008-02-08 11:25               ` Giacomo Boffi
2008-02-06  1:47             ` Samuel Karl Peterson [this message]
2008-01-29 14:52           ` Joel J. Adamson
2008-01-30 14:55         ` Stefan Monnier
2008-02-06 16:42         ` Mathias Dahl
2008-02-06 16:55           ` Mathias Dahl
2008-01-29 10:43       ` Johan Bockgård
2008-01-29 15:35         ` Andreas Röhler
2008-02-06  1:25         ` Samuel Karl Peterson
2008-02-17 16:01           ` Kevin Rodgers
2008-01-29 16:33       ` Ted Zlatanov
     [not found]   ` <mailman.6646.1201548710.18990.help-gnu-emacs@gnu.org>
2008-01-30 15:12     ` Stefan Monnier
2008-01-30 16:55       ` Sven Joachim
2008-01-30 21:53         ` Stefan Monnier
2008-01-31 22:55     ` Ilya Zakharevich
     [not found]     ` <200801312255.m0VMt701019096@powdermilk.math.berkeley.edu>
2008-02-01 11:04       ` Eli Zaretskii
     [not found]       ` <mailman.6836.1201863892.18990.help-gnu-emacs@gnu.org>
2008-02-01 22:26         ` Ilya Zakharevich

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=o363as6onye.fsf@pc14.cs.ucdavis.edu \
    --to=skpeterson@nospam.please.ucdavis.edu \
    --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.
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).