From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fab Newsgroups: gmane.emacs.help Subject: Re: Handling large files with Emacs Date: Wed, 24 Oct 2012 19:19:29 +0200 Organization: albasani.net Message-ID: <87wqyfzt26.fsf@panzer.v.cablecom.net> References: <87k3uhf0gc.fsf@panzer.v.cablecom.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1351099217 1048 80.91.229.3 (24 Oct 2012 17:20:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Oct 2012 17:20:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 24 19:20:25 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TR4cz-0004lV-8k for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Oct 2012 19:20:25 +0200 Original-Received: from localhost ([::1]:40023 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TR4co-0004ng-HJ for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Oct 2012 13:20:14 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-2.dfn.de!news.dfn.de!feeder.erje.net!news.albasani.net!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-X-Trace: news.albasani.net qLMQZ7iPy/7LysZetu0Gfy48UPej1e1H9NSOh0VnI2DOSryfe25aziNgdLZTPmJaO+Wd26EkAqkB4tpy1QyJuUZ8OO/6ykMlw2++92FPShYi1MpoOEK6la7ZqFU5JpHf Original-NNTP-Posting-Date: Wed, 24 Oct 2012 17:19:41 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="wSmzK02QwB781zmKSGv3RvP2KjZnpk0wZbbLjkuqvOYnnSVz6a/ZkfFCS+jFst6CBI6/YQsJCcpuJkUIjuGyRdgay3NGkZuM8xkRF9GRF1jkpMZZisVh72oNsOn93Nhw"; mail-complaints-to="abuse@albasani.net" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) Cancel-Lock: sha1:Lz6qj4Lc5KmeA0k112xjqR37MZw= sha1:u69l5xu+3/G3sKESgFuLCTK2ado= Original-Xref: usenet.stanford.edu gnu.emacs.help:195069 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87398 Archived-At: Stefan Monnier writes: >> I had to work with a vast bibTeX file today and Emacs almost died and >> got super slow, which made working with Emacs impossible. > > Sounds like a performance bug in bibtex-mode. Please M-x > report-emacs-bug, ideally with a sample large bibtex file and a recipe > showing exactly which operation(s) get slow. > > > Stefan Thank you all for the excellent feedback! The first thing that came to my mind was font-lock. However, disabling font-lock did not solve my problem, so I decided to ask here. After Eli's response from yesterday, I started to debug my init file. It actually was all my mistake and I was not aware the linum.el caused all the trouble! In fact, I do not really need this minor-mode but I never really disabled it from my init file. After doing so, I have absolutely no problem with editing the vast bibTeX file, even with font-lock. I have also created a huge ASCII file of approx 500MB and it is no problem to edit the file. Thank you! Fab