* visiting large files
@ 2011-10-04 10:38 mehran khajavi
2011-10-04 13:11 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: mehran khajavi @ 2011-10-04 10:38 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 487 bytes --]
Hi,
I have a question:
How can I visit large files (about 100mg) and edit them with a high speed
and no high CPU processing?
when i open a same file with vim it will process it so faster than emacs
i searched a little and found http://www.emacswiki.org/emacs/vlf.el but it
doesn't solve my problem
I tested the file with also the fundamental-mode of emacs on it's buffer,
but not good enough
I'm running emacs 24 pretest on GNU/Linux
--
-----
Mehran Khajavi
http://mehran.khajavi.ir
[-- Attachment #2: Type: text/html, Size: 790 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: visiting large files
2011-10-04 10:38 visiting large files mehran khajavi
@ 2011-10-04 13:11 ` Eli Zaretskii
2011-10-04 13:44 ` mehran khajavi
0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2011-10-04 13:11 UTC (permalink / raw)
To: help-gnu-emacs
> From: mehran khajavi <sinoohe.mkh@gmail.com>
> Date: Tue, 4 Oct 2011 14:08:16 +0330
>
> How can I visit large files (about 100mg) and edit them with a high speed
> and no high CPU processing?
> when i open a same file with vim it will process it so faster than emacs
> i searched a little and found http://www.emacswiki.org/emacs/vlf.el but it
> doesn't solve my problem
>
> I tested the file with also the fundamental-mode of emacs on it's buffer,
> but not good enough
Does it help to visit the file with
M-x find-file-literally RET filename RET
? If not, please tell what kind of file is that. Can you make it
available somewhere?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: visiting large files
2011-10-04 13:11 ` Eli Zaretskii
@ 2011-10-04 13:44 ` mehran khajavi
2011-10-04 14:39 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: mehran khajavi @ 2011-10-04 13:44 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 838 bytes --]
wow
great
thanks
my problem fixed!
On Tue, Oct 4, 2011 at 4:41 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> > From: mehran khajavi <sinoohe.mkh@gmail.com>
> > Date: Tue, 4 Oct 2011 14:08:16 +0330
> >
> > How can I visit large files (about 100mg) and edit them with a high speed
> > and no high CPU processing?
> > when i open a same file with vim it will process it so faster than emacs
> > i searched a little and found http://www.emacswiki.org/emacs/vlf.el but
> it
> > doesn't solve my problem
> >
> > I tested the file with also the fundamental-mode of emacs on it's buffer,
> > but not good enough
>
> Does it help to visit the file with
>
> M-x find-file-literally RET filename RET
>
> ? If not, please tell what kind of file is that. Can you make it
> available somewhere?
>
>
--
-----
Mehran Khajavi
http://mehran.khajavi.ir
[-- Attachment #2: Type: text/html, Size: 1479 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: visiting large files
2011-10-04 13:44 ` mehran khajavi
@ 2011-10-04 14:39 ` Eli Zaretskii
[not found] ` <CAF=P4s2uw=uMPR2VHAV=bTo08an+F_SZy=Mw58NraJr4bXBffA@mail.gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2011-10-04 14:39 UTC (permalink / raw)
To: help-gnu-emacs
> From: mehran khajavi <sinoohe.mkh@gmail.com>
> Date: Tue, 4 Oct 2011 17:14:25 +0330
> Cc: help-gnu-emacs@gnu.org
>
> wow
> great
> thanks
> my problem fixed!
That's good to know.
But could you perhaps share the information about the file anyway?
For example, the following information would be useful to see if there
is some bug in Emacs 24 or some speedup we should look for:
. How long were the lines in this file, and how many lines are
there?
. Are there any empty lines in this file, and if so, how many lines
are between each pair of empty lines?
. I'm guessing this file is an ASCII file (otherwise,
find-file-literally would make it hard or impossible to read), but
please confirm that guess.
. What was the major mode that Emacs used to visit this file?
. Can you perhaps show a typical short fragment from the file?
Thanks in advance.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-10-04 15:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-04 10:38 visiting large files mehran khajavi
2011-10-04 13:11 ` Eli Zaretskii
2011-10-04 13:44 ` mehran khajavi
2011-10-04 14:39 ` Eli Zaretskii
[not found] ` <CAF=P4s2uw=uMPR2VHAV=bTo08an+F_SZy=Mw58NraJr4bXBffA@mail.gmail.com>
2011-10-04 15:47 ` Eli Zaretskii
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).