From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: visiting large files Date: Tue, 04 Oct 2011 17:47:07 +0200 Message-ID: <83vcs4rc78.fsf@gnu.org> References: <8339f8sxyz.fsf@gnu.org> <831uusstvq.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1317743256 31448 80.91.229.12 (4 Oct 2011 15:47:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 Oct 2011 15:47:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 04 17:47:32 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RB7DP-0008K7-Ou for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Oct 2011 17:47:31 +0200 Original-Received: from localhost ([::1]:44756 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB7DP-0002Zy-7S for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Oct 2011 11:47:31 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB7DK-0002TP-0B for help-gnu-emacs@gnu.org; Tue, 04 Oct 2011 11:47:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RB7DD-0004wX-Vy for help-gnu-emacs@gnu.org; Tue, 04 Oct 2011 11:47:25 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:57547) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB7DD-0004wD-Pe for help-gnu-emacs@gnu.org; Tue, 04 Oct 2011 11:47:19 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LSJ00200T69M500@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Tue, 04 Oct 2011 17:47:06 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.91.138]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LSJ002Z7T6H1U40@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Tue, 04 Oct 2011 17:47:06 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 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:82451 Archived-At: > From: mehran khajavi > Date: Tue, 4 Oct 2011 18:56:03 +0330 > Cc: help-gnu-emacs@gnu.org > > I'm comparing it with vim and vim is so faster than emacs with opening this > large file(24mg)! also with find-file-literally > my file containing sql queries that dumped from MySQL > lines of file is so long! maybe whole of the file is just a line > and there is some empty lines there > find-file-literally makes it little better but also sometimes hangs(about > some milliseconds), (when i scroll the file by holding page down and page up > keys) This file has 52 lines, each line about 50,000 characters. Very long lines are known to slow down Emacs display. There's a bug report about this in the bug tracker, so hopefully someone will find a fix for this. Thanks for the data. But in the future, please send it in private email, there's no need to invade everyone's mailbox with such large attachments.