From owner-freebsd-questions Tue Sep 24 18: 7:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FA5637B401 for ; Tue, 24 Sep 2002 18:07:13 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFAF043E6E for ; Tue, 24 Sep 2002 18:07:12 -0700 (PDT) (envelope-from swear@attbi.com) Received: from localhost.localdomain ([12.242.158.67]) by sccrmhc01.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020925010712.VPZO8451.sccrmhc01.attbi.com@localhost.localdomain>; Wed, 25 Sep 2002 01:07:12 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost.localdomain (8.12.5/8.12.5) with ESMTP id g8P19m3q057327; Tue, 24 Sep 2002 18:09:48 -0700 (PDT) (envelope-from swear@attbi.com) Received: (from jojo@localhost) by localhost.localdomain (8.12.5/8.12.5/Submit) id g8P19lQ2057324; Tue, 24 Sep 2002 18:09:47 -0700 (PDT) (envelope-from swear@attbi.com) X-Authentication-Warning: localhost.localdomain: jojo set sender to swear@attbi.com using -f To: thursday Cc: freebsd-questions@freebsd.org Subject: Re: OT: emacs command line switch References: <20020924203242.GA10714@SDF.LONESTAR.ORG> From: swear@attbi.com (Gary W. Swearingen) Date: 24 Sep 2002 18:09:47 -0700 In-Reply-To: <20020924203242.GA10714@SDF.LONESTAR.ORG> Message-ID: <5qlm5qan8k.m5q@localhost.localdomain> Lines: 28 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG thursday writes: > I am wondering if there is a switch available when starting emacs to have > it put you at the end of the buffer when you open the file, e.g., Well, there sorta is (in Xemacs, at least), but you'd be better off doing it the way Giorgos suggested. > emacs -eof biglongfile.txt xemacs -q -eval '(eval-expr (find-file "biglongfile.txt")(end-of-buffer))' Like I said... But you "shouldn't" care much about the emacs command since you're "supposed to" just start emacs once per login and leave it running. If you just have one terminal, you exit temporarily with a control-z or two and resume with "fg". Or just run your shells inside emacs (use: M-x shell). Then (re)define a key to open your files as desired. If you want a quick-starting emacsy editor, try "jed" which does a good job of simulating a lot of emacs or e3 (the e3em link) which manages to do the basics and more in only 12868 bytes! Find more help at one of these: gnu.emacs comp.emacs comp.emacs.xemacs To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message