On Wed, Sep 25, 2002 at 02:16:13AM +0300, Giorgos Keramidas wrote:
> On 2002-09-24 20:32, thursday <[EMAIL PROTECTED]> 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)))

You can also specify Lisp functions to run directly from the commandline.

emacs file.txt -f end-of-buffer

seems to work fine.

-- 
<Insert your favourite quote here.>
Erik Trulsson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to