From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dushyant Juneja Newsgroups: gmane.emacs.help Subject: Intelligently opening large files in emacs Date: Tue, 18 Mar 2014 12:50:40 +0530 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1395127321 10754 80.91.229.3 (18 Mar 2014 07:22:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Mar 2014 07:22:01 +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 Mar 18 08:22:11 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 1WPoLi-0001R4-TI for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Mar 2014 08:22:11 +0100 Original-Received: from localhost ([::1]:33679 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPoLi-0003yI-Ev for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Mar 2014 03:22:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPoKe-0003gH-2x for help-gnu-emacs@gnu.org; Tue, 18 Mar 2014 03:21:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPoKd-00023D-15 for help-gnu-emacs@gnu.org; Tue, 18 Mar 2014 03:21:04 -0400 Original-Received: from mail-pd0-x234.google.com ([2607:f8b0:400e:c02::234]:47879) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPoKc-00022d-RM for help-gnu-emacs@gnu.org; Tue, 18 Mar 2014 03:21:02 -0400 Original-Received: by mail-pd0-f180.google.com with SMTP id v10so6700818pde.39 for ; Tue, 18 Mar 2014 00:21:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=Hz3jSHmOdYpovvh7OE+cXlz2uKlpOz9OtGYQmN/nEZE=; b=n93ODhNrGe63KWrfQ+HFdlZ7gvsV+1fbP57028VlYnvqba90Mo8GeXsjuJru05qnCy fRaisGlm5OBhc+IhUiLhw1I9hr7ymBqKbYTZC0KK9vTi7mgj/ceksCgbTAxk1My7v5NS hmKos9zgjwphXVaSL6UEYfvahN1gpljkPwc5c0pwVTpkAqQAI8U1wDzL+04GnUYP5yYr Z5g4wFlR3aWEkgjrQjMb4uPcyqSkG+4TLBFDDphVIVWakagQudXCDcMCY7PakQZ0XAjK M74Vwmvi8qhsCSDOYduEUVYSVCx+Wgs+DkAopXOi3tNAAWCEJF8nMsR7Je6lWDy1tK3k nTCg== X-Received: by 10.66.21.7 with SMTP id r7mr8774698pae.135.1395127260944; Tue, 18 Mar 2014 00:21:00 -0700 (PDT) Original-Received: by 10.69.3.5 with HTTP; Tue, 18 Mar 2014 00:20:40 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::234 X-Mailman-Approved-At: Tue, 18 Mar 2014 03:22:00 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:96575 Archived-At: 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