From mboxrd@z Thu Jan  1 00:00:00 1970
Path: main.gmane.org!not-for-mail
From: Kevin Rodgers <kevinr@ihs.com>
Newsgroups: gmane.emacs.help
Subject: Re: initial frame
Date: Tue, 03 Sep 2002 11:32:18 -0600
Sender: help-gnu-emacs-admin@gnu.org
Message-ID: <3D74F222.50504@ihs.com>
References: <w3Xb9.63969$_91.4708@rwcrnsc51.ops.asp.att.net> <wX3c9.45544$6m61.33680@news04.bloor.is.net.cable.rogers.com> <bi6c9.74475$_91.22770@rwcrnsc51.ops.asp.att.net> <k%9c9.46435$6m61.40957@news04.bloor.is.net.cable.rogers.com>
NNTP-Posting-Host: localhost.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: main.gmane.org 1031075086 2467 127.0.0.1 (3 Sep 2002 17:44:46 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Tue, 3 Sep 2002 17:44:46 +0000 (UTC)
Return-path: <help-gnu-emacs-admin@gnu.org>
Original-Received: from monty-python.gnu.org ([199.232.76.173])
	by main.gmane.org with esmtp (Exim 3.35 #1 (Debian))
	id 17mHjI-0000dU-00
	for <gnu-help-gnu-emacs@m.gmane.org>; Tue, 03 Sep 2002 19:44:44 +0200
Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 17mHkh-0004jG-00; Tue, 03 Sep 2002 13:46:11 -0400
Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!fu-berlin.de!uni-berlin.de!170.207.51.80!not-for-mail
Original-Newsgroups: gnu.emacs.help
Original-Lines: 25
Original-NNTP-Posting-Host: 170.207.51.80
Original-X-Trace: fu-berlin.de 1031074338 55959375 170.207.51.80 (16 [82742])
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2
X-Accept-Language: en-us
Original-Xref: nntp.stanford.edu gnu.emacs.help:104443
Original-To: help-gnu-emacs@gnu.org
Errors-To: help-gnu-emacs-admin@gnu.org
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs/>
Xref: main.gmane.org gmane.emacs.help:1006
X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1006

Le Wang wrote:

> tcp wrote:
>> I actually want a command line option type to move the cursor
>> to the end of the buffer. Not for every opened file.
>>
> 
> '+n file' will move to line n after loading file.  If you specify a large 
> enough n, you'll move to the end of the buffer.


emacs +$(grep -c '$' < FILE) FILE


will put point at the beginning of the last line.


> You can use the -eval option to evaluate any piece of lisp code as well.

Or add your own entry to command-switch-alist.


-- 
Kevin Rodgers <kevinr@ihs.com>