From owner-freebsd-questions Tue Sep 24 16:16:15 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 8550E37B401 for ; Tue, 24 Sep 2002 16:16:14 -0700 (PDT) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CE1643E86 for ; Tue, 24 Sep 2002 16:16:13 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr530-b191.otenet.gr [212.205.244.199]) by mailsrv.otenet.gr (8.12.4/8.12.4) with ESMTP id g8ONG8mZ004759; Wed, 25 Sep 2002 02:16:09 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.6/8.12.6) with ESMTP id g8ONGDpK029892; Wed, 25 Sep 2002 02:16:14 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by hades.hell.gr (8.12.6/8.12.6/Submit) id g8ONGDBC029891; Wed, 25 Sep 2002 02:16:13 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 25 Sep 2002 02:16:13 +0300 From: Giorgos Keramidas To: thursday Cc: freebsd-questions@FreeBSD.org Subject: Re: OT: emacs command line switch Message-ID: <20020924231613.GC28112@hades.hell.gr> References: <20020924203242.GA10714@SDF.LONESTAR.ORG> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020924203242.GA10714@SDF.LONESTAR.ORG> X-PGP-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 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 On 2002-09-24 20:32, thursday wrote: > Ahoy-hoy, > > I've been reading the copious Emacs documentation, but cannot find the > answer to my question, so...I am hoping someone here can help my poor > frustrated self. > > 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, am not sure if that's possible with a command line option, but you can always hit `ESC >' once you open a buffer. It's not that hard :) Writing a hook in your .emacs file text-mode similar to the following will also accomplish the same thing for the modes that are derived from text-mode: (setq text-mode-hook '(lambda () (end-of-buffer))) Giorgos. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message