From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: feature request: view part of file Date: Wed, 13 Jun 2012 16:52:35 -0400 Organization: disorganization Message-ID: <87lijrszn0.fsf@gnu.org> Reply-To: sds@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1339620790 18876 80.91.229.3 (13 Jun 2012 20:53:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Jun 2012 20:53:10 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 13 22:53:09 2012 Return-path: Envelope-to: ged-emacs-devel@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 1SeuYo-0004ED-5R for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2012 22:53:02 +0200 Original-Received: from localhost ([::1]:36038 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeuYo-00061K-64 for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2012 16:53:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeuYl-00061E-Qz for emacs-devel@gnu.org; Wed, 13 Jun 2012 16:53:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SeuYj-0007Rv-VD for emacs-devel@gnu.org; Wed, 13 Jun 2012 16:52:59 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:36989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeuYj-0007Rg-OA for emacs-devel@gnu.org; Wed, 13 Jun 2012 16:52:57 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SeuYf-0003fu-Nb for emacs-devel@gnu.org; Wed, 13 Jun 2012 22:52:53 +0200 Original-Received: from cl-pat-tr.clearspring.com ([8.18.54.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jun 2012 22:52:53 +0200 Original-Received: from sds by cl-pat-tr.clearspring.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jun 2012 22:52:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cl-pat-tr.clearspring.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Cancel-Lock: sha1:XbysJsz0Uu2/WSBVnMDm64Wtb3s= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:150930 Archived-At: Sometimes I want to __VIEW__ a huge file and I get File ZZZ is large (1645MB), really open? (y or n) n abort-if-file-too-large: Aborted What I want is another option, in addition to y/n: open a part of the file. E.g., the first+the last N lines or M characters, whichever comes first. (something like head+tail). Is this already available or do I need to put something up myself? -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://openvotingconsortium.org http://www.memritv.org http://jihadwatch.org http://mideasttruth.com http://dhimmi.com He who laughs last did not get the joke.