From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.help Subject: Re: Intelligently opening large files in emacs Date: Tue, 18 Mar 2014 14:07:03 +0530 Message-ID: <877g7rrjgw.fsf@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1395132006 29647 80.91.229.3 (18 Mar 2014 08:40:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Mar 2014 08:40:06 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Dushyant Juneja Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 18 09:40:16 2014 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 1WPpZF-0008Or-M7 for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Mar 2014 09:40:13 +0100 Original-Received: from localhost ([::1]:33988 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPpZF-0006B8-9k for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Mar 2014 04:40:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPpYy-0005wn-P3 for help-gnu-emacs@gnu.org; Tue, 18 Mar 2014 04:40:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPpYt-0005em-Dn for help-gnu-emacs@gnu.org; Tue, 18 Mar 2014 04:39:56 -0400 Original-Received: from mail-pa0-x22d.google.com ([2607:f8b0:400e:c03::22d]:40159) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPpYt-0005ei-6A for help-gnu-emacs@gnu.org; Tue, 18 Mar 2014 04:39:51 -0400 Original-Received: by mail-pa0-f45.google.com with SMTP id kl14so6959680pab.4 for ; Tue, 18 Mar 2014 01:39:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=puVum2/PNYazcw15Pb2gYYMkmgy7HPzvCR5SdDToYiM=; b=tQaVktU2wQsfRP+w5usOdrtz7JByRDCkfQMMJ9wu5RYWzU5yNBfwd9EG0AqTbbLcXt 9rF57dEJcHIscI3DvlEhLOczL7stYe45+0/hDD8SRijdwTaWr8Pk0FvZAL/TAEHA9XKJ zFeSd2skAVnj4jw91yMmV6iXK1ouuFsGsMEprKl1ALrD/qMWvsdbBP5cBrfGwJ3uoSPV F5mrj8j9jnauLvz0x0lFipQf9Dcaj7yf0FzYqC693XL58lskMiPnbTEHneflHlLsqidM Osl1iobAmMMJdIPjcG7tQbsp3Qapf3De4KPvsZagrhvOdQJsnMjwS1XwDpvGO4wwWOrq VNfQ== X-Received: by 10.68.194.38 with SMTP id ht6mr31851903pbc.120.1395131989995; Tue, 18 Mar 2014 01:39:49 -0700 (PDT) Original-Received: from debian-6.05 ([115.244.229.89]) by mx.google.com with ESMTPSA id bc4sm50372422pbb.2.2014.03.18.01.39.46 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Tue, 18 Mar 2014 01:39:48 -0700 (PDT) In-Reply-To: (Dushyant Juneja's message of "Tue, 18 Mar 2014 12:50:40 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::22d 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:96577 Archived-At: You are looking for vlf.el. See http://elpa.gnu.org/packages/. Install it via M-x list-packages Dushyant Juneja writes: > Hi, > > I'm relatively new to emacs, but am pretty fascinated by its features. One > pain point is that it is rather slow in opening large data files bound to > specific modes. I generally observe it for circuit mode files (files > utilizing verilog-mode, spice-mode and spectre-mode). Is there a > possibility to help this? > > I find that M-x ffap-literally is rather fast, so can the following be done > somehow: > > If file is larger than default warning limit, open it literally. > Else open it with usual mode bindings. > > Also, please share as to how may I modify the default size limit. > > Regards, > Dushyant Juneja