From: Rupert Swarbrick <rupert.swarbrick@lineone.net>
Subject: Re: emacs is slow while processing a big file
Date: Thu, 06 Apr 2006 17:21:14 +0100 [thread overview]
Message-ID: <e13f66$fr8$1@sea.gmane.org> (raw)
In-Reply-To: <4434D707.90306@arm.com>
Saravanan M D wrote:
> It is a verilog file (text) and its size is 17MB. The mode is verilog.
>
OK. Well, if you read David Kastrup's answer, he points out that if
font-lock is on, things will be slow. So one question is: "Is font-lock
on?" (that's the pretty syntax-colouring) and "Do I need it?".
Surely, you can't be _editing_ a 17mb file?? Is there a way to look at a
smaller bit of it? I believe Emacs loads the whole file when you open
it, so a big file takes a lot of memory - I don't know, but there may be
a package allowing you to view "bits" of a file in memory at one time -
anyone? As verilog's syntax is simple, a truncation probably wouldn't
confuse the mode very much either.
Finally, and slightly off-topic, PLEASE don't top post. It really is
very irritating.
Good luck anyway,
Rupert
next prev parent reply other threads:[~2006-04-06 16:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-06 8:53 emacs is slow while processing a big file Saravanan M D
2006-04-06 16:21 ` Rupert Swarbrick [this message]
2006-04-06 18:33 ` Reiner Steib
2006-04-06 21:31 ` Stefan Monnier
2006-04-07 7:47 ` Reiner Steib
[not found] <mailman.112.1144297582.9609.help-gnu-emacs@gnu.org>
2006-04-06 8:02 ` Alan Mackenzie
2006-04-06 8:39 ` David Kastrup
-- strict thread matches above, loose matches on Subject: below --
2006-04-06 4:25 Saravanan M D
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='e13f66$fr8$1@sea.gmane.org' \
--to=rupert.swarbrick@lineone.net \
/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.