help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Poor Performance w/ Long Files


From: Tim Visher
Subject: Re: Poor Performance w/ Long Files
Date: Thu, 20 Aug 2009 08:16:32 -0400

On Wed, Aug 19, 2009 at 8:09 PM, Pascal J.
Bourguignon<pjb@informatimago.com> wrote:
> Tim Visher <tim.visher@gmail.com> writes:
>
>> Hello Everyone,
>>
>> I work with many large files (+10,000,000 ASCII characters) at work
>> and I've noticed that Emacs does extremely poorly with those files.  I
>> have taken to opening them up in something like Notepad++ to look at
>> them and editing the programs that operate on them in Emacs.  I'd love
>> to be able to just stick with Emacs.
>>
>> Is there something that I just haven't set yet or does Emacs have
>> trouble with large files?
>
> Perhaps you could disable some emacs options that might take time,
> like font-locking.  Basically, if you edit this files in fundamental-mode,
> with truncate-line turned off with C-u 1 M-x toggle-truncate-lines RET and
> with font-locking turned off with C-u -1 M-x font-lock-mode RET,
> it should go faster.

This fixed things.  I hadn't even thought of it but the file I was
opening tried to open in tcl and pabbrev modes and that's what seems
to have caused the slowdown.  Putting thing back into Fundamental with
pabbrev off quickened things right up.

Is there a way to manually force a file to open in a particular mode
without setting an auto-mode in .emacs?

On Wed, Aug 19, 2009 at 4:18 PM, Eli Zaretskii<eliz@gnu.org> wrote:
>> From: Tim Visher <tim.visher@gmail.com>
>> Date: Wed, 19 Aug 2009 16:12:54 -0400
>>
>> I work with many large files (+10,000,000 ASCII characters) at work
>> and I've noticed that Emacs does extremely poorly with those files.  I
>> have taken to opening them up in something like Notepad++ to look at
>> them and editing the programs that operate on them in Emacs.  I'd love
>> to be able to just stick with Emacs.
>>
>> Is there something that I just haven't set yet or does Emacs have
>> trouble with large files?
>
> What file? is there a way to get hold of an example?

Unfortunately I can't give a sample out.  However it doesn't seem to
be germane anymore anyway.

> And what version of Emacs?

22.3

Thanks everyone.

-- 

In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail




reply via email to

[Prev in Thread] Current Thread [Next in Thread]